Periodically polls selected channels in the Nous Research Discord and appends new messages to per-channel text files in archives/. Runs every 6 hours via GitHub Actions.
archives/<channel>.txt — append-only message log per channelarchives/state.json — last-seen message ID per channel (used for incremental fetches)Create a Discord bot
Invite the bot to the server
bot, permissions: View Channels, Read Message HistoryGet channel IDs
Configure the repo
DISCORD_BOT_TOKEN = the bot tokenDISCORD_CHANNELS = comma-separated channel IDs (e.g. 123,456)First run
python -m venv .venv && source .venv/bin/activate
pip install requests
DISCORD_BOT_TOKEN=... DISCORD_CHANNELS=123,456 python scripts/archive.py
2 commits
Python
100.0%
Periodically polls selected channels in the Nous Research Discord and appends new messages to per-channel text files in archives/. Runs every 6 hours via GitHub Actions.
archives/<channel>.txt — append-only message log per channelarchives/state.json — last-seen message ID per channel (used for incremental fetches)Create a Discord bot
Invite the bot to the server
bot, permissions: View Channels, Read Message HistoryGet channel IDs
Configure the repo
DISCORD_BOT_TOKEN = the bot tokenDISCORD_CHANNELS = comma-separated channel IDs (e.g. 123,456)First run
python -m venv .venv && source .venv/bin/activate
pip install requests
DISCORD_BOT_TOKEN=... DISCORD_CHANNELS=123,456 python scripts/archive.py
2 commits
Python
100.0%