rss-feed-telegram-bot
rss-feed-telegram-bot copied to clipboard
Post Messages to Channels or Groups through RSS Feed.
RSS Feed Telegram Bot
A bot to post messages to Telegram Groups or Channels from rss feed.
Configuration
- Edit the rss.py as your needs.
- Edit values in config.env or set it in Environment Variables. There is an template for
config.envalready exists just edit it and rename the file.
Configuration Values
APP_ID- Get it from my.telegram.orgAPI_HASH- Get it from my.telegram.orgBOT_TOKEN- Get it by creating a Telegram bot on BotFatherFEED_URLS- List of URLs of RSS Feed, sperated by|vertical bar.LOG_CHAT- ID of the Telegram Chat where messages are to be posted.DATABASE_URL- Here is a full guide. For Heroku, just add theHeroku Postgresadd-on.INTERVAL- Checking Interval in seconds. (optional)MAX_INSTANCES- Max instances to be used while checking rss feed. (optional)
Deployment
- Install requirements from requirements.txt
pip3 install requirements.txt
- Deploy
python3 rss.py
Copyright & License
- Copyright (©) 2021 by Adnan Ahmad
- Licensed under the terms of the GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007