# Discourse Feed Bot

**URL:** https://meta.discourse.org/t/discourse-feed-bot/60779
**Category:** Extras
**Created:** [April 11, 2017, 1:46pm UTC](https://meta.discourse.org/t/discourse-feed-bot/60779 "2017-04-11T13:46:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![barreeeiroo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barreeeiroo/32/165264_2.png) [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)
#### Post date: [April 11, 2017, 1:46pm UTC](https://meta.discourse.org/t/discourse-feed-bot/60779/1 "2017-04-11T13:46:15Z")

</div>

Hey there 👋

I’ve created this **Telegram Bot** to help users to get notified when a new topic is released on any Discourse community:

> **[GitHub - barreeeiroo/TeBoRs at discourse](https://github.com/barreeeiroo/TeBoRs/tree/discourse)**
>
> discourse

_Check the Discourse branch_

* * *

A demo is avaliable [here](https://t.me/ThunkableChat):

 ![](https://global.discourse-cdn.com/meta/original/3X/b/1/b10d2be122caba19665cef4e0ce510bc610f76b6.png)

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:

1. **Install MySQL** server for your OS
2. **Clone the repo** : `git clone https://github.com/barreeeiroo/TeBoRs/ -b discourse`
3. **Go to the dir** : `cd TeBoRs`
4. **Edit** the `config.py` file, **and complete** it **with your data** :

- `API_TOKEN`: Your [BotFather](https://t.me/BotFather) API token
- `ADMIN_NAME`: Your Full Name
- `ADMIN_NICKAME`: Your NickName or Alias
- `ADMIN_ID`: Your Telegram ID (find yours [here](http://t.me/userinfobot))
- `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](http://t.me/barreeeiroo))
- `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

1. **Run it** using `python bot.py`

 ![](https://global.discourse-cdn.com/meta/original/3X/5/3/535d62598663705936652b5e811357587f9eb213.png)

* * *

**Thanks to Team members for this amazing software** 👏👏👏
