Morning Brief

created: 2024-06-24
status: active

Morning Brief

Daily automated briefing delivered to WhatsApp, email, and Discord at 11:00 AM PKT.

Pipeline

Script: ~/.hermes/custom-mcp/morning_brief.py

Not a Hermes cron job — standalone Python script in system crontab.

Data Sources (direct API calls)

  1. Google Calendar — today's events with links
  2. Google Tasks — due today + open tasks
  3. ClickUp — due today + open tasks (team 90181169347)
  4. Weather — OpenWeatherMap (Karachi)
  5. Prayer times — Aladhan API
  6. Email — IMAP last 5 (Gmail)
  7. News — tech (3) + AI (3) headlines

Processing

  • Raw data → formatted WhatsApp message
  • AI executive summary via Gemini 2.5 Flash ("Today at a glance")
  • Summary injected under greeting

Delivery

  • WhatsApp: localhost:3000/send (Baileys bridge)
  • Email: HTML detailed brief → omairaslam@gmail.com
  • Discord: Home channel (chunked, markdown bold)

History

  • 2024-06-24: Removed redundant Hermes cron Morning Briefing (03690474722e). Standalone script is more reliable — direct API access, no model fallback issues, no wrap_response header.