Skip to content

feat: phase 3 - personal Telegram bot with daily delivery at 07:30 - #3

Merged
aminghuf merged 1 commit into
mainfrom
phase-3-telegram
Oct 31, 2026
Merged

aminghuf merged 1 commit into
mainfrom
phase-3-telegram

Conversation

@aminghuf

Copy link
Copy Markdown
Owner
  • Subscriptions and deliveries (migration 0002): one open subscription per book
  • Daily delivery at CHAPTERWISE_DELIVERY_TIME (Europe/Rome), once per day, with catch-up after downtime; next 2 summaries prepared ahead by the worker
  • Bot (python-telegram-bot, long polling): /books, /reading, /next, Next/Pause/ Resume/Stop buttons, owner-only via TELEGRAM_CHAT_ID, /start reveals chat ID
  • Markdown to Telegram HTML subset, block-safe truncation, plain-text fallback
  • Web: "Read daily on Telegram" with pause/resume/stop on the book page
  • Compose bot service (init: true), bootstrap prompts, DEPLOY_DIR variable
  • Fix: ON CONFLICT predicate for job dedupe is literal SQL; with bound parameters Postgres' generic plan stopped matching the partial index

Claude-Session: https://claude.ai/code/session_01S8fCwzUPHc3uXUH3rr65HT

- Subscriptions and deliveries (migration 0002): one open subscription per book
- Daily delivery at CHAPTERWISE_DELIVERY_TIME (Europe/Rome), once per day, with
  catch-up after downtime; next 2 summaries prepared ahead by the worker
- Bot (python-telegram-bot, long polling): /books, /reading, /next, Next/Pause/
  Resume/Stop buttons, owner-only via TELEGRAM_CHAT_ID, /start reveals chat ID
- Markdown to Telegram HTML subset, block-safe truncation, plain-text fallback
- Web: "Read daily on Telegram" with pause/resume/stop on the book page
- Compose bot service (init: true), bootstrap prompts, DEPLOY_DIR variable
- Fix: ON CONFLICT predicate for job dedupe is literal SQL; with bound
  parameters Postgres' generic plan stopped matching the partial index

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S8fCwzUPHc3uXUH3rr65HT
@aminghuf
aminghuf merged commit 2d15cfc into main Oct 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant