How ribbonjikough/uma-index-telegram-catch-bot works
Uma-Index Telegram Bot polls uma-index.top for translated comics, resolves full-resolution images, and delivers unseen posts to subscribed Telegram chats in oldest-to-newest order. Users can subscribe, pause delivery, inspect sync status, and trigger an immediate check; a configured target chat is also supported. SQLite tracks subscribers, cached post data, and per-chat delivery history. Sent posts include a “Done reading” control that deletes the comic messages. The source is a single, partially excerpted bot.py, so subsystem boundaries are logical rather than separate modules; some links rely on README documentation.
Main entry points: bot.py PostStore
Components 15
Comic collection
- Page traversal
bot.py - Comic card extraction
bot.py - Image resolution
bot.py - Image URL upgrade
bot.py
Delivery state
- PostStore
bot.py - SQLite history
bot.py
Telegram delivery
- Per-chat delivery
bot.py - Paced Telegram sender
bot.py - Done-reading control
bot.py
Bot controls
- Command handlers
bot.py - Sync and polling
bot.py
Other components
- Chat users
- uma-index.top
- Image API services
- Telegram
Connections 19
- Chat users → Command handlers: sends commands
README.md - Command handlers → PostStore: updates subscriptions
README.md - Command handlers → Sync and polling: starts or triggers
README.md - Sync and polling → Page traversal: scans pages
README.md - Page traversal → uma-index.top: reads comics
README.md - Page traversal → Comic card extraction: extracts cards
bot.py - Comic card extraction → Image resolution: resolves images
bot.py - Image resolution → Image API services: queries image APIs
bot.py - Image resolution → Image URL upgrade: normalizes URLs
bot.py - Sync and polling → PostStore: checks delivery history
bot.py - PostStore → SQLite history: reads and writes
bot.py - Sync and polling → Per-chat delivery: dispatches posts
bot.py - Per-chat delivery → Paced Telegram sender: sends comics
bot.py - Paced Telegram sender → Telegram: posts messages
README.md - Per-chat delivery → PostStore: records delivery
bot.py - Paced Telegram sender → Done-reading control: attaches control
README.md - Chat users → Done-reading control: activates control
README.md - Done-reading control → Telegram: deletes messages
README.md - Command handlers → PostStore: reads status
README.md