{"repo":"hleb-kastseika/tg-channel-to-rss","free":true,"listed":false,"github":"https://github.com/hleb-kastseika/tg-channel-to-rss","clone":"git clone https://github.com/hleb-kastseika/tg-channel-to-rss.git","description":"AWS Lambda function for converting of Telegram channel to RSS feed.","language":"Python","stars":71,"topics":["aws-lambda","python","rss","telegram"],"license":"MIT","category":"chat-messaging","readme_excerpt":"tg-channel-to-rss AWS Lambda function for converting a public Telegram channel into an RSS feed . How it works 1. The Lambda receives requests via API Gateway: GET /feed/{channel name}?key={api key} 2. It fetches the public static view of the channel at https://t.me/s/{channel name} . 3. Using BeautifulSoup , it parses each Telegram message bubble, extracts: - Post text (with links preserved), - Photo previews and link-preview images, - Publication time and post URL. 4. The extracted data is converted into an RSS feed with rfeed, returning valid XML to the caller. ⚠ Limitations - Telegram does not guarantee that all public channels expose their posts on t.me/s/… . - Channels flagged as sensitive , geo-restricted, or with content protection enabled may show a blank page or limited content even though they are public in the Telegram app. - There is no workaround other than viewing those channels within Telegram or using the official Bot API. Requirements - Python 3.13 or higher - AWS SAM (Serverless Application Model) Build and deploy 1. Set your API key: edit samconfig.yaml or pass --parameter-overrides ApiKey=YOUR KEY . 2. Build and deploy: Usage Call the endpoint with the channel name and your API key: This returns an RSS XML feed of the channel’s recent posts, including text and photo previews, ready to import into your RSS reader.","default_branch":null,"files":null,"tree":[],"storefront":"/r/hleb-kastseika","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hleb-kastseika/tg-channel-to-rss/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}