Tutorial on building a Telegram RSS subscription robot under Linux and adding RSS subscription to Telegram channels and groups

Tutorial on building a Telegram RSS subscription robot under Linux and adding RSS subscription to Telegram channels and groups

It’s more convenient to build one yourself.
Successfully built on Ubuntu 16.04 64-bit and Centos 7.
Demo: https://t.me/zhujiwiki_bot

1. Direct installation <br /> The simplest and recommended method.
1. Download rssbot

 wget --no-check-certificate https://github.com/iovxw/rssbot/releases/download/v1.4.4/rssbot-v1.4.4-linux.zip unzip rssbot-v1.4.4-linux.zip

2. Run rssbot in the background
screen -S rssbot
./rssbot DATAFILE TELEGRAM-BOT-TOKEN

DATAFILE is the database save path (actually it is a json file, no need to create it manually)
TELEGRAM-BOT-TOKEN is the token of the robot you created

If you want to restore rssbot:

 screen -r rssbot

2. Compile and install

1. Apply for and set up an RSS subscription bot on Telegram <br /> Search @BotFather, /newbot, and create a new Bot

Enter /mybots to find your bot, select it, then select Edit Bot, select Edit Commands and enter your commands.

 rss - 顯示當前訂閱的RSS 列表,加raw 參數顯示鏈接sub - 訂閱一個RSS: /sub http://example.com/feed.xml unsub - 退訂一個RSS: /unsub http://example.com/feed.xml unsubthis - 使用此命令回復想要退訂的RSS 消息即可退訂, 不支持Channel export - 導出為OPML

2. Setup on VPS or dedicated server (SSH)
Install related apps

 apt-get update -y && apt-get -y install openssl pkg-config libssl-dev screen

Install Rust Nightly

 curl -s https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly

Install rssbot

 wget https://github.com/iovxw/rssbot/archive/v1.4.2.tar.gz tar xvf v1.4.2.tar.gz cd rssbot-1.4.2 cargo build --release

Run rssbot

 cd target/release screen -S rssbot ./rssbot DATAFILE TELEGRAM-BOT-TOKEN

DATAFILE is the database save path (actually it is a json file, no need to create it manually)
TELEGRAM-BOT-TOKEN is the token of the robot you created

3. Use RSS subscription robot to add RSS subscription to Telegram channels and groups

1. Add the RSS robot as an administrator in the group or channel, with only the permission to send messages.

2. In the RSS subscription robot, send a message and the subscription format is:

/sub TG group or channel ID Subscription feed, such as /sub zhujiwiki_info https://zhujiwiki.com/feed

via: https://www.sabia.cc/rss-chinese-subscription-robot-using-vps-20180329.html, https://github.com/iovxw/rssbot

<<:  Time4VPS: 50-70% off on all items, 500GB of storage for 12 euros per year

>>:  InvioSolutions: $3/month/2GB RAM/20GB NVMe space/unlimited traffic/KVM/Germany/France

Recommend

$36.95/month/1GB/20G space/100Mbps cloud hosting - oplink

Oplink is an American hosting company founded in ...

PioHost: £10/year/256MB RAM/10GB storage/500GB bandwidth/DDoS/LXC/UK

PioHost is a UK registered hosting company (Compa...

GreenCloudVPS 2GB RAM 1Gbps Bandwidth Singapore KVM VPS Review

Thanks to TG group members for providing the mach...

QuickPacket: $35/month/24GB memory/1TB hard drive/20TB traffic/5IP/Atlanta

QuickPacket is a long-established hosting provide...

eurodns offers free .xyz domain for 1 year

Registration address: https://eurodns.com Coupon ...

Today Google PR has been updated again

Today, I was surprised to find that the PR of thi...

Nexril: $45/month/Xeon L5640/48GB memory/1TB hard drive/15TB traffic/New Jersey

Nexril was established in January 2017 and is reg...

AHnames: .com domain name, $8.95 per year; .ru domain name, $3.35 per year

AHnames, founded in 2011, mainly provides domain ...

OVH: $239/month/D-1521/16GB memory/48TB hard drive/unlimited traffic/US

OVH, dedicated servers in the US data center have...

BBR, Ruisu one-click installation For Centos/Debian/Ubuntu

BBR and Ruisu are very good for improving foreign...

IntroVex: $12/year/256MB/10GB space/500GB traffic/KVM/Los Angeles

IntroVex, a UK hosting company, is a registered c...