cron-hub — source backup

Cloudflare Worker + D1 Telegram monitor. Snapshot taken 7 Aug 2026, 00:41.

Download cron-hub.zip (47,404 bytes)

Restore

unzip cron-hub.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.