// guides

GitHub release notifications in Telegram (free, skip pre-releases)

Get a Telegram message when any public GitHub repo publishes a new release, in a chat, group or channel. Uses the repo's releases.atom feed, a BotFather token and one free tested script. No GitHub token, nothing to host.

Updated 2026-10-18 · about 10 minutes

Rather not set it up yourself? Describe your task in one sentence and we'll build and test it for you, free →

Steps

  1. Create a Telegram bot

    Open @BotFather in Telegram, send /newbot, pick a name and a username ending in bot, and copy the token (it looks like 123456789:AA...). Keep it private: anyone with it can post as your bot.

  2. Choose where alerts arrive

    For a private chat, send your bot any message, open https://api.telegram.org/botYOUR_TOKEN/getUpdates and copy the number in "chat":{"id":...}. For your team's group, add the bot and use the group's negative id. For a public release channel, add the bot as an admin and use @yourchannel. More detail in RSS to Telegram.

  3. Get the repo's releases feed

    Every public GitHub repo has an Atom feed of its releases at https://github.com/OWNER/REPO/releases.atom, for example https://github.com/ollama/ollama/releases.atom. No GitHub token, no app to install, and it works for repos you don't own. Tags are at /tags.atom and a branch's commits at /commits/BRANCH.atom.

  4. Download the agent and do a dry run

    Get the free RSS to Discord agent. Despite the name, it posts to Telegram and Slack too. Copy .env.example to .env, set FEEDS to one or more releases.atom URLs (comma-separated), TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID, and leave DISCORD_WEBHOOK_URL empty. Run python3 rss_to_discord.py --dry-run to see the releases it would send.

  5. Skip betas, then run it every 30 minutes

    Add EXCLUDE=-rc,beta,alpha to drop pre-releases (see why below). The first real run only remembers the releases already in the feed, so your chat isn't flooded; after that each new release is sent once:

    */30 * * * * cd /path/to/rss-to-discord && set -a && . ./.env && set +a && /usr/bin/python3 rss_to_discord.py >> run.log 2>&1

    No always-on computer? See run a Python script on a schedule (cron, Task Scheduler or GitHub Actions; keep seen_rss.json between runs).

An example .env

FEEDS=https://github.com/ollama/ollama/releases.atom,https://github.com/OWNER/REPO/releases.atom
EXCLUDE=-rc,beta,alpha
KEYWORDS=
TELEGRAM_BOT_TOKEN=123456789:AA...
TELEGRAM_CHAT_ID=@yourchannel
DISCORD_WEBHOOK_URL=

Each Telegram message is the release title in bold plus its GitHub link, for example v0.40.6 and https://github.com/ollama/ollama/releases/tag/v0.40.6, so Telegram shows the release page preview underneath.

The catch: the feed doesn't mark pre-releases

GitHub's releases.atom has no pre-release flag, and it also lists plain tags. When we read ollama's feed on 18 October 2026, 6 of its 10 entries were release candidates such as v0.40.6-rc1. One entry was titled v0.40.7, but its link pointed to the tag v0.40.7-rc0, and GitHub's API listed it as a pre-release. A filter on the title alone would have announced a release that doesn't exist yet.

That's why the agent's EXCLUDE setting checks the title and the link: with EXCLUDE=-rc the dry run kept only v0.40.6, v0.40.5 and v0.40.4, and dropped the mislabelled v0.40.7 too. Pick words that match how the project names its test builds: -rc, beta, alpha, nightly or preview.

Some projects also keep moving releases that are updated in place. n8n's feed mixes numbered versions (n8n@2.44.3) with releases called stable, beta and v1. There, keep only real versions with KEYWORDS=n8n@: our dry run then listed just the 7 numbered releases.

What we tested

On 18 October 2026 we ran the agent against ollama's live releases.atom, Telegram only (TELEGRAM_CHAT_ID=@myreleases, no Discord), with a local stand-in for Telegram's Bot API. The first real run remembered all 10 entries and sent nothing. When we made four entries look new (two releases, a release candidate and the mislabelled v0.40.7), the next run with EXCLUDE=-rc sent exactly two sendMessage calls, for v0.40.6 and v0.40.5. The first attempt got 429 Too Many Requests; the script waited the retry_after Telegram gave and resent it. The run after that sent nothing.

Several repos, other apps

Skip the setup: free Telegram-ready download

The RSS to Discord agent does all of this. Despite the name, it sends to Telegram too: just set TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID and leave the Discord webhook empty. It's tested, MIT-licensed, and comes as an n8n workflow plus a Python script.

Get the free agent for Telegram → Or have us build yours →

FAQ

Does GitHub send release notifications to Telegram?

Not by itself. GitHub can email you about releases (Watch, then Custom, then Releases), but to get them in Telegram something has to read the releases feed and call Telegram's Bot API. This script does that and exits.

Do I need a GitHub token?

No. releases.atom is public for public repos and needs no token. Private repos need a logged-in session, so use a GitHub webhook or Actions there.

How do I skip release candidates and betas?

Set EXCLUDE=-rc,beta,alpha. The agent checks both the title and the link, which matters because some projects title a pre-release with the final version number.

Can it post to a Telegram channel?

Yes. Add the bot as an admin of the channel and set TELEGRAM_CHAT_ID to @yourchannel or its -100... id.

How quickly will I hear about a release?

Within your schedule: every 30 minutes means up to about half an hour after the release appears in the feed.

Is it free?

Yes. GitHub's feeds and the Telegram Bot API are free, and the agent is MIT-licensed.

Related guides

New guides

Want one built for your task?

Describe it in one sentence. We build it, test it and email it to you, usually within 24h. Free while we're in beta.

We'll only email you about your agent and TaskToAgent.