A Telegram bot running with RSS and VK group integration and ready to deploy with Heroku. Now bot supports sending text message from RSS and VK groups only.
- Clone this repo
pip install -r requirements.txt
- Create the bot on Telegram (just say
/newbot
to BotFather) - Update
config.py
with your information (tokens, keys, etc) - For first run you should uncomment
init_webhook()
and runpython bot.py
. It should set new webhook to Heroku server - For broadcast message from your VK public just run
python parser.py
. It retrieves 20 post and sends it to all user of Heroku database - That's it!
You can host your Bot for free on Heroku. It is ready to deploy.
heroku create
git push heroku master
heroku ps:scale web=1
heroku ps
heroku logs
Also you should schedule (I using Heroku Scheduler) VK parser for broadcast posts from your public to users.
This repo used by:
- Banekbot. Bot for VK public
- SMMRussiabot. Bot for RSS site