Hey there
I’ve created this Telegram Bot to help users to get notified when a new topic is released on any Discourse community:
https://github.com/barreeeiroo/TeBoRs/tree/discourse
Check the Discourse branch
A demo is avaliable here:
The bot can be hosted in the same server as the community, so you won’t have to buy or request a new one!
Installation
To install the bot, follow this steps:
- Install MySQL server for your OS
-
Clone the repo:
git clone https://github.com/barreeeiroo/TeBoRs/ -b discourse
-
Go to the dir:
cd TeBoRs
-
Edit the
config.py
file, and complete it with your data:
-
API_TOKEN
: Your BotFather API token -
ADMIN_NAME
: Your Full Name -
ADMIN_NICKAME
: Your NickName or Alias -
ADMIN_ID
: Your Telegram ID (find yours here) -
GROUP_NAME
: The Nickname of the group, or the Name if is not a public group -
GROUP_ID
: The group ID (if you don’t know what is it, ask me) -
FORUM_NAME
: Your community or forum name -
FORUM_PROTOCOL
: If is http:// or https:// -
FORUM_URL
: The URL of your forum -
rss_main_feed
: If you want to get a notification for each post, change it to (FORUM_PROTOCOL + FORUM_URL + ‘/posts.rss’) -
DB_NAME
: Your DB name -
DB_HOST
: Your DB host (usually localhost) -
DB_USER
: Your DB username -
DB_PASS
: Your DB password
-
Run it using
python bot.py
Thanks to Team members for this amazing software