Skip to content
🤖 📝 Telegram Bot for any WordPress blog made with love and nodejs
Branch: nightly
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
databases
logs
modules
translations
.foreverignore
.gitignore
.jshintrc
AUTHORS.md
CHANGELOG.md
Dockerfile
INSTALL.md
ISSUE_TEMPLATE.md
LICENSE
README.md
TODO.md
bot.js
config.js.tpl
package.json

README.md

WordpressTelegramBot.js

What does he do

News feed on telegram for your wordpress blog.

Features

  • [✓] Easy to use
  • [✓] Multi-Session
  • [✓] Multi-Language (Italian and English)
  • [✓] Multi-Platform (Windows 10, Mac OSX, Linux)
  • [✓] Personalizable
  • [✓] Custom commands
  • [✓] Email contact form
  • [✓] Database with user information
  • [✓] No wordpress-plugin required
  • [✓] No wordpress-mysql user/pass required
  • [✓] Wordpress news feed on telegram bot

Fast setup

  1. Create a bot via @BotFather and grab a token.
  2. Personalize your bot with @botfather, use /setname /setdescription /setuserpic /setabouttext
  3. Set commands with @botfather, use /setcommands.

If you set english language in config.js send:

lastpost - show new posts of blog
email - contact me
help - show commands of bot
credits - info of bot

If you set italian language in config.js send:

ultimipost - mostra gli ultimi post pubblicati
email - contattaci con un'email
aiuto - mostra la lista di comandi del bot
crediti - informazioni sul bot
  1. Download stable version and extract it.
  2. Download Node.js >= 7.6 and install it.
  3. Run npm install in wordpress-telegram-bot.js folder.
  4. Copy root file config.js.tpl to config.js, fill it properly.
  5. Start the bot via node bot.js
  6. If work add star ⭐️ at this project ❤️
  7. Please not delete /credits commands, if you need delete it contact me.

ATTENTION

Not delete /database/users.db on update of bot, users.db save information of users and what is last url readed from user.

Commands

Command Role Available at Description
<loop check> Everyone Everywhere Check new post and send at user who not read it
/lastpost Everyone Everywhere Send last 5 post of blog
/credits Everyone Everywhere Credits of bot
/email <text> Everyone Everywhere Send email to email in config.js
/help | /start Everyone In-Bot How to use the bot.

Create new commands in /modules/custom.js

Docker container

If you prefer to run this using Docker, an official container is available from the Docker Hub.

In order to run it, copy the config.js.tpl file, configure it as you prefer, then use it through volume mapping, like in this example:

$ docker run \
    --restart=always \
    --name=wordpress-telegram-bot \
    -d \
    # Webhook Port ( if configured, 3000 is the default )
    -p 3000:3000 \
    -v /path/to/config.js:/app/config.js \
    social-manager-tools/wordpress-telegram-bot &>/dev/null

Sorry for snake_case

I love snake_case syntax sorry for this 😭 don't hate me.

Social Manager Tools

Available:
InstagramBot.js (GUI)
TelegramWordpressBot.js

Coming soon:
TwitterBot.js
FacebookPageBot.js

License

GNU GENERAL PUBLIC LICENSE

Copyright (c) 2018 Patryk Rzucidło (PTKDev)

You can’t perform that action at this time.