Files
noc/config.example.yaml
Fam Zheng db8ff94f7c init: telegram bot bridging messages to claude sessions
Async Rust bot (teloxide + tokio) that:
- Authenticates users per chat with a passphrase (resets daily at 5am)
- Generates deterministic UUID v5 session IDs from chat_id + date
- Pipes messages to `claude -p --session-id/--resume <uuid>`
- Persists auth and session state to disk across restarts
- Deploys as systemd --user service via `make deploy`
2026-04-05 06:56:46 +01:00

9 lines
109 B
YAML

tg:
key: "YOUR_TELEGRAM_BOT_TOKEN"
auth:
passphrase: "YOUR_AUTH_PASSPHRASE"
session:
refresh_hour: 5