Skip to content

troilus/ssh-chat-rss-feed-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.env already exists just edit it and rename the file.

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_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 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

Post Messages to ssh-chat through RSS Feed.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%