Sign inSign up

wangqiru/rss.to.telegram

By wangqiru

Updated almost 7 years ago

🐋 A Dockerized, RSS to Telegram Bot

Image
3

10K+

wangqiru/rss.to.telegram repository overview

RSS to Telegram bot

A self-hosted telegram python bot that dumps posts from RSS feeds to a telegram chat. This script was created because all the third party services were unreliable.

Installation
Pull And Run
docker run -e "TOKEN=sometoken" \
-e "CHATID=somechatid" \
-e "DELAY=refresh-interval-in-seconds" \
-d wangqiru/rss.to.telegram
Build Your Own
docker build -t rss.to.telegram .

then

docker run -e "TOKEN=sometoken" \
-e "CHATID=somechatid" \
-e "DELAY=refresh-interval-in-seconds" \
-d rss.to.telegram

The sqlite file is stored in /app/data, to persist your data, add -v "/persist-data:/app/data".

Usage

send /help to the bot to get this message:

RSS to Telegram bot

After successfully adding a RSS link, the bot starts fetching the feed every 60 seconds. (This can be set) ⏰⏰⏰ Titles are used to easily manage RSS feeds and need to contain only one word 📝📝📝

commands:

/help Shows this text

/remove !Title! removes the RSS link

/list Lists all the titles and the RSS links from the DB

/test Inbuilt command that fetches a post from Reddits RSS.

Known issues

If the bot is set to for example 5 minutes and one feed manages to get 2 new posts before the bot can check. Only the newest post will show up on telegram.

Tag summary

Content type

Image

Digest

Size

49.4 MB

Last updated

almost 7 years ago

docker pull wangqiru/rss.to.telegram