cron-hub — source backup

Cloudflare Worker + D1 Telegram monitor. Snapshot taken __DATE__.

Download __ZIP__ (__SIZE__ bytes)

Restore

unzip __ZIP__ -d cron-hub
cd cron-hub
npm install
npx wrangler login

Then re-create the secrets

None are in this archive. Bot token is re-retrievable from @BotFather; the other two are random strings you regenerate.

npx wrangler secret put TELEGRAM_BOT_TOKEN
npx wrangler secret put TELEGRAM_CHAT_ID
npx wrangler secret put TELEGRAM_WEBHOOK_SECRET
npx wrangler secret put TRIGGER_SECRET
npm run deploy

Finally open /?key=<TRIGGER_SECRET>&setup=1 once to re-register the Telegram webhook.

Read first

CLAUDE.md in the archive holds the full context: architecture decisions, invariants, and the constraints behind them.