notion connect
- Create an internal integration at notion.so/profile/integrations.
- Share the pages you want with it (page menu, Connections). Access recurses: sharing a page includes its subpages and database rows.
- Put the token in
~/.memloom/config.envasNOTION_TOKEN=...and restart the daemon.
--page).
notion sync
notion:// sources): toggles flattened, to-do state
kept, tables as pipe rows. The daemon also polls every 5 minutes (NOTION_POLL_MS to
change), so edits land within one poll interval without you running anything.
Sync is incremental at two levels:
- Change detection asks each page directly instead of trusting Notion’s eventually-consistent search index, so a fresh edit is never mistaken for no change. An idle workspace costs one API call per poll.
- Only changed sections are refetched. memloom caches each page’s block tree and
re-downloads just the sections whose
last_edited_timemoved, so editing one day in a 494-day diary refetches one section, not the page. A page-level change no section accounts for falls back to a full fetch, so nothing slips through.
--force bypasses every cache and refetches everything.