Each source is a module. The starter set (calendar, feeds, notes, weather) is on unless you turn it off; the rest (GitHub, say) start off, and setup shows them under "more". All of them only read; none can write to the service it reads.
kettlewise modules # each one: on/off, connected, last sync, what it reads and sends
kettlewise modules connect github # asks for what it needs (secrets hidden), checks it, stores it
kettlewise modules off github # no syncing, answers or panels; data and connection stay
kettlewise modules on github
kettlewise modules disconnect github # removes its token (keychain) and settings; shows where to revoke it
kettlewise modules forget github # removes what it synced from the cache
Tokens go in the macOS Keychain, other values in ~/kettlewise/data/settings.toml. (A KETTLEWISE_MODULES list in .env still works and wins over modules on/off.) Each module's own auth/forget commands below do the same for that module.
Reads ~/kettlewise/notes/, plain markdown that you own and edit with anything. Nothing is required; these conventions make it more useful:
| File | Becomes |
|---|---|
log/YYYY-MM-DD.md | that day's log entry, dated by the filename (kettlewise log writes here) |
projects.md | one project per ## Heading; a status: active line is read as its status |
ideas/*.md | one idea per file |
checkins/YYYY-MM-DD.md | your check-in answers (kettlewise checkin writes here) |
kettlewise.md | how you want the brief to sound, in your own words |
any other *.md | a note; long files are split at ## headings |
#tags anywhere tag the entry (#japanese, #kettlewise); # Heading (with a space) is just a heading. The folder is its own git repository, local only and never pushed: Kettlewise commits each change it makes, and snapshots your own edits before writing, so you can always see or undo what happened (git -C ~/kettlewise/notes log).
Notes re-sync before every question, so something you just wrote counts immediately.
Reads your commits, issues and pull requests, including which PRs merged.
In your own terminal (so the token never appears anywhere else):
kettlewise github auth
It's stored in the macOS Keychain.
kettlewise sync githubOptional settings: KETTLEWISE_GITHUB_REPOS (default: every repo you own that the token can see) and KETTLEWISE_GITHUB_HISTORY_DAYS (default 365). Remove access with kettlewise github forget, then delete the token on GitHub. Details: the GitHub module page.
Reads your events from your calendar's private iCal link: a read-only copy of the calendar that Google Calendar, iCloud, Outlook and Fastmail all offer. No account to sign into and nothing to set up at Google.
webcal:// link.Paste it on the Modules screen, or in your own terminal:
kettlewise calendar ical
Several calendars: paste each link, separated by spaces. Kettlewise reads them once to check, then keeps them in the Keychain: anyone with a link can read that calendar.
kettlewise sync calendar, or wait for the next background sync.Trade-offs: Google refreshes these links slowly (changes can take hours to show up), and attendees come as names without knowing which one is you. To take a link back, use Reset beside it in Google Calendar's settings; the old one stops working.
Fresher (within a sync of a change) and knows which attendee is you, at the cost of a one-time Google Cloud project. Read-only scope calendar.readonly, so Google itself rejects any write. If an iCal link is stored, it's used instead; kettlewise calendar compare reads the next two weeks both ways and lists what differs.
Google requires each user to have their own small OAuth app, so setup is a one-time trip through Google Cloud Console: create a project, enable the Calendar API, set up and publish the consent screen, create a Desktop client, then:
kettlewise calendar auth ~/Downloads/client_secret_….json
which opens your browser for Google's consent page and stores the result in the Keychain (you can delete the JSON afterwards). The step-by-step, with the gotchas (publishing needs a homepage and privacy-policy URL; unpublished apps lose access after 7 days), is in the Calendar module page.
Optional: KETTLEWISE_CALENDAR_IDS (API only; default: every calendar selected in Google Calendar), KETTLEWISE_CALENDAR_HISTORY_DAYS (default 365, both routes). kettlewise calendar forget removes the links and the Google sign-in from the Keychain; revoke the sign-in at https://myaccount.google.com/permissions.
A 7-day forecast from Open-Meteo: free, no account, no key. It does nothing until you say where you are; it never guesses or looks up your location. Add one of these to ~/kettlewise/data/.env:
KETTLEWISE_WEATHER_PLACE="Boston" # a city, looked up once; "Portland, Oregon" to pick
# or coordinates, which skip the lookup:
# KETTLEWISE_WEATHER_LATITUDE=42.36
# KETTLEWISE_WEATHER_LONGITUDE=-71.06
then kettlewise sync weather (and kettlewise weather status to see what it found). The scheduled job refreshes it hourly. Units are °F, mph and inches unless you set KETTLEWISE_WEATHER_TEMPERATURE_UNIT=celsius (rain in mm too) and KETTLEWISE_WEATHER_WIND_SPEED_UNIT=kmh.
The only thing sent is that location, with coordinates rounded to about 1 km (privacy). Answers read the cache, so "can I fit a run in tomorrow evening?" works offline and gets the likely-dry hours computed, not guessed. Details: the Weather module page.
What's new from the podcasts, YouTube channels and blogs you follow. Paste feed addresses (RSS or Atom; a YouTube channel is https://www.youtube.com/feeds/videos.xml?channel_id=UC…) on the Modules screen, or export your subscriptions from overcast.fm (Account → Export OPML) into ~/kettlewise/data/: every show you subscribe to is followed for you, and updating is exporting again. Feed text is written by others, so it's kept as short plain text. Details: the Feeds module page.
Gmail, cooking: ADR 0008 has the full list and the privacy test each must pass. Each is a new module, and writing a module shows how to start one.