FeedBridge
A Telegram bot that finds the feed behind any website and delivers new posts to private chats, groups and communities on a schedule.
The challenge
Most sites still publish RSS, Atom or JSON feeds, but finding them is fiddly and reading them means yet another app. People already live in their group chats, so the updates should arrive there, without duplicates and without a hosting bill.
Our approach
Two Go services. A gRPC API detects feeds for any URL, YouTube channels included, keeps subscriptions in Postgres and caches feeds in Redis, coalescing identical requests. The bot runs a 30-second scheduler and a worker pool: fetch what is due, drop anything already seen, deliver, then move the cursor on. Five or fewer new posts arrive one by one; more arrive as a single digest. Group admins manage everything with /addfeed, /listfeed, /interval and /backup.
The outcome
Runs on Google Cloud's Always Free tier for $0 a month, with nothing exposed but SSH. Subscriptions key on the resolved feed, so following another page of the same site never creates a duplicate, and chats can back up and restore their feeds from inside Telegram.