saveitlol / RSS-FeedTGBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 rss.py or set it in Environment Variables. If you are using Environment Variables, Add a ENV var to anything to enable Environment Variables Mode.

Configuration Values

  • APP_ID - Get it from my.telegram.org
  • API_HASH - Get it from my.telegram.org
  • BOT_TOKEN - Get it by creating a Telegram bot on BotFather
  • FEED_URL - URL of RSS Feed
  • LOG_CHANNEL - ID of the Telegram Channel where messages are to be posted.
  • DATABASE_URL - Here is a full guide. For Heroku, just add the Heroku Postgres add-on.
  • INTERVAL - Checking Interval in seconds. (optional)
  • MAX_INSTANCES - Max instances to be used while checking rss feed. (optional)

Deployment

pip3 install requirements.txt
  • Deploy
python3 rss.py

Copyright & License

About

License:GNU General Public License v3.0


Languages

Language:Python 100.0%