/telegram-universal-forwarder-bot

A Telegram bot that forwards many kinds of feeds to chats

Primary LanguagePythonGNU Lesser General Public License v3.0LGPL-3.0

telegram-universal-forwarder-bot

Hello! This is a Telegram bot that will forward many kinds of feeds to Telegram chats.

It's not available on Telegram yet, but stay tuned!

This is kind of a re-iteration on TwitterForwarderBot:

  • PRO: the interface will be very similar to it
  • PRO: aims to be more generic so many types of resources can be subscribed to (twitter, atom/rss, a ticking clock!!! - the sky is the limit!)
  • CON: isn't implemented yet

How do I run this?

The code is currently targeting Python 3.5

  • TL;DR:
# clone this thing
# create your virtualenv, activate it:
#     virtualenv -p python3 venv
#     . venv/bin/activate

# install the deps
pip install -r requirements.txt

# set the token environment variable
export TG_BOT_TOKEN=213919:whateverBotFatherGaveYou
# run the bot
make run

Bot token? pip-tools?

You'll need a Telegram Bot Token, you can get it via BotFather (more info here).

If you want additional info just take a look at the Makefile and check out pip-tools.