rss-to-telegram
This is a bot to repost items from an RSS feed to a Telegram channel.
- Create a new bot via BotFather and obtain its token.
- Get the
channel id
of the channel you want the bot to post to (@getidsbot can help you with this). - Add your bot to the channel as administrator (permission to create posts is necessary).
This bot is designed to be run with cron or some other scheduler to regularly retrieve new feed items and post them.
The bot uses Python 3.5+. Requirements are listed in the Pipfile
.
- Clone this repo.
- Run
pipenv install
in the project directory. - Copy
config.example.py
toconfig.py
. - Populate the
config.py
with your bot token, channel id and a link to RSS feed.