You get: today's and tomorrow's events on the dashboard, and a short morning summary (events, tasks due, anything overdue).
Decisions
- Read the calendar, don't own it. Most calendar apps (Google, iCloud, Outlook) give each calendar a private iCal link. The app reads that link on a timer. Nothing is written back.
- The private iCal link is a secret. Anyone with it can read your calendar. It goes in
.env. - The brief is assembled, not invented. The morning summary is built from your real events and tasks. If you let AI word it, give it only those facts and ask for a short summary. No guessing.
Prompt for Claude Code
Add a Today card: events for today and tomorrow from one or more private iCal URLs
(CALENDAR_ICS_URLS in .env, comma-separated, each with a display name). Fetch every
15 minutes on the server, cache the result, expand recurring events correctly in my
time zone (TIMEZONE in .env), and show the last successful fetch time if the latest
fetch failed.
Add a morning brief: a server function that builds a short plain-text summary from
today's events, tasks due today and overdue tasks. Show it as a card at the top of
the dashboard. It must work without AI. Add an optional AI rewording step behind a
setting, which sends only that summary text and asks for at most 4 short lines.
Checks
- An event you add on your phone's calendar shows within 15 minutes.
- A weekly recurring event shows on the right day.
- Break one iCal URL on purpose: the card still shows the last good data and says when it last worked.
- The brief lists an overdue task first.