Syncs forum posts to a Notion database.
- Watches new threads in one Discord Forum channel.
- Creates a Notion card for each unsynced thread.
- Renames thread titles to
[D-001] Your titlestyle. - Writes forum tags into Notion
Tags. - Writes thread URL into Notion
Discord URL. - Sets status to
To-Doby default. - Backfills unsynced threads on startup.
Copy .env.example to .env and set:
DISCORD_TOKENDISCORD_FORUM_CHANNEL_IDNOTION_TOKENNOTION_DATABASE_ID
Optional:
NOTION_DATA_SOURCE_ID(if your database has multiple data sources)CARD_PREFIX(defaultD)CARD_NUMBER_PADDING(default3)
pnpm install
pnpm start