{"id":24914177,"url":"https://github.com/rasjonell/telegram-to-rss","last_synced_at":"2025-10-17T00:31:57.034Z","repository":{"id":115476047,"uuid":"568377031","full_name":"rasjonell/telegram-to-rss","owner":"rasjonell","description":"Telegram Bot to generate an RSS feed from group messages","archived":false,"fork":false,"pushed_at":"2024-04-01T09:23:35.000Z","size":746,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-01T10:33:15.376Z","etag":null,"topics":["rss","rss-feed","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"https://rasjonell.github.io/telegram-to-rss","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rasjonell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-11-20T10:48:39.000Z","updated_at":"2024-03-27T17:56:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"c60081c6-21ea-4682-b44c-121563e817df","html_url":"https://github.com/rasjonell/telegram-to-rss","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasjonell%2Ftelegram-to-rss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasjonell%2Ftelegram-to-rss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasjonell%2Ftelegram-to-rss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasjonell%2Ftelegram-to-rss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rasjonell","download_url":"https://codeload.github.com/rasjonell/telegram-to-rss/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236756727,"owners_count":19199897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rss","rss-feed","telegram","telegram-bot"],"created_at":"2025-02-02T06:16:42.560Z","updated_at":"2025-10-17T00:31:51.675Z","avatar_url":"https://github.com/rasjonell.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram To RSS\nGenerate an RSS feed from your Telegram Channel.\n\n![Banner image](./banner.png)\n\n# Why did I make this?\nI run a personal website and want it to be a centralized place where I can have everything I ever published on the web. I also don't want to have a telegram integration on that website and prefer having a unified way of accessing my web artifacts.\n\nWith this project I can turn my Telegram channel posts into an RSS feed and parse it on my personal website.\n\n# How does it work?\nThis Project is consisted of two distinct services:\n  - Telegram Bot Handler\n  - Express File Server\n\n## Telegram Bot Handler\n\nThis service listens to messages on the [discussion group chat](https://core.telegram.org/api/discussion) of your channel.\n\nWhen you post a message on your channel, Telegram will automatically forward the message to the corresponding discussion group, then the bot will process the message and update the RSS feed accordingly.\n\n## Express File Server\n\nWhen the Bot Handler receives the message and updates the RSS Feed, it writes an `rss.xml` file in the `public/` directory which is served by the express static file server.\n\nThus you can access the RSS feed via: `\u003cSERVER_URL\u003e/rss.xml`.\n\n# Getting Started\nIn order to use this project, you need:\n  - Telegram Bot\n    - Create one with [`BotFather`](https://www.teleme.io/articles/create_your_own_telegram_bot?hl=en)\n    - Disable group privacy mode\n    - Copy the API KEY\n  - Telegram Channel\n    - After creating the channel, create a discussion group.\n    - Add the newly created bot account to the discussion group.\n\nAfterwards, clone the project and install the dependencies:\n\n```sh\ngit clone https://github.com/rasjonell/telegram-to-rss\n```\n\n```sh\ncd telegram-to-rss\n```\n\n```sh\nnpm install\n```\n\n## Configuration\nFollow the `.env.example` file to setup your environment.\n\n_Note: You need to create separate `.env.{NODE_ENV}` files for each environment(i.e. `.env.dev` will be used when testing locally)_\n\n|Name|Type|Description|\n|---|---|---|\n|PORT|Number|File Server Port|\n|GROUP_ID|String|Your Channel ID|\n|BOT_TOKEN|String|Your Bot's API key|\n|GROUP_USERNAME|String|Your Channel Username|\n|AUTHOR|String|RSS Feed Author Name|\n|WEBSITE_HOST|String|URL Of The RSS Feed Host Website|\n\n## Available Scripts\n\n- `npm start` - starts the project.\n- `npm run watch` - starts `nodemon` development server.\n- `npm run build` - builds the TypeScript project.\n\n## TODOs\n\n- [x] Make RSS feed metadata configurable\n- [ ] Persist the auto-generated RSS Feed so stopping/restarting the process does not override it.\n- [ ] Make Feed generation configurable(Currently only the messages from the Channel admin are allowed, but some may want to also include discussion messages from other members(i.e. replies)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasjonell%2Ftelegram-to-rss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frasjonell%2Ftelegram-to-rss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasjonell%2Ftelegram-to-rss/lists"}