Skip to content

deneb2/BloggerBot

Repository files navigation

BloggerBot

Build Status

This software is a Telegram bot. It will parse all the messages and it will post all the links to your blog wordpress. This Bot need to be an administrator of the group to read all the messages.

DISCLAIMER: This is a just for fun project. There are no warranties on support or functionality.

Prerequisite:

Installation:

  • Clone this repository git clone git@github.com:deneb2/BloggerBot.git
  • cd BloggerBot/
  • Customize the configuration:
    • cp config/config.yml.template config/config.yml
    • <your-editor> config/config.yml
  • Create and configure a virtual environment
    • virtualenv -p python-3.8 env_bloggerbot
    • source env_bloggerbot/bin/activate
    • pip install -r requirements.txt
  • Start the script
    • python telegrambot.py
    • if you want to run the script continuously you can add a line in your crontab:
      • */5 * * * * python /path/to/script/telegrambot.py
    • or test it on the shell
      • watch -n 60 python telegrambot.py

PR/comments/fork are welcome

About

Telegram bot to automatically post on wordpress

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages