Skip to content

hleb-kastseika/tg-channel-to-rss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tg-channel-to-rss

AWS Lambda function for converting of Telegram channel to RSS feed.

Requirements

  • Python 3.9 or higher
  • AWS SAM

How to build and deploy

  1. Override 'ApiKey' parameter in 'samconfig.yaml' or through command arguments.

  2. Run SAM:

sam build
sam deploy --guided

How to use

Pass Telegram channel name as path parameter and api key as query parameter:

GET {api-gateway-url}/feed/{channel_name}?key={api_key}

For example:

curl 'https://rotg43azo4.execute-api.eu-west-1.amazonaws.com/Prod/feed/cool_telegram_channel?key=test'

It will return the XML file.

About

AWS Lambda function for converting of Telegram channel to RSS feed.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages