Calendar Invite Projector (chronicle/invite-projection.ts)

gbrain · src/core/chronicle/invite-projection.ts · typescript · MIT
crm, realtime, ui, tag:invite, tag:projection, tag:chronicle, tag:event

Projects ended calendar invites into structured events for chronicle.

// Source: https://github.com/garrytan/gbrain | License: MIT | Copyright 2026 Garry Tan
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Life Chronicle ended-invite projection.
 *
 * A calendar invite page (slug under `calendar/` or `cal/`, or type
 * `calendar-event`) with a title and frontmatter `start` and `end` is fully
 * structured, so once its end has passed the chronicle phase projects it into
 * one event without a model call:
 *
 *   when = `start`, who = the page's attendees, where = `location`,
 *   kind = `meeting`, what = `Scheduled: <title>`,
 *   captured_via = `life-chronicle:invite`.
 *
 * An invite is not proof of attendance: the summary prefix and `captured_via`
 * say the meeting was scheduled, not that it happened. The projection stands
 * in fo

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key