Use Telegram to build an RSS subscription robot (rssbot)

888u

Last update at :2024-03-03,Edit by888u

3.2 Channel subscription

When you want to RSS subscribe to some blogs that you are interested in, but you are suffering from a lot of advertisements in free RSS readers, you can build an RSS subscription robot with the help of Telegram robot. In this article, Lao Wang introduces how to build a Telegram RSS subscription robot and how to drag the RSS subscription robot to the Telegram channel to update RSS information.

Preparation

First of all, you need a VPS. If not, you can use the example VPS in this article to move bricklayers: 2019 Bricklayers purchase tutorial, supports Alipay, and has a recurring discount code of 6.25%.

Build an RSS subscription robot

Apply for a robot

First of all, you need to apply for a Telegram robot. It is very simple. Talk directly to the father of Telegram robots (@BotFather), send /newbot to it, and then enter the name of your robot. Note that it needs to end with bot (for example, mine is vpsgo_bot) , then your robot will be created (https://t.me/vpsgo_bot) and an HTTP API TOKEN will be given to you:

Build RSS subscription

The RSS subscription robot built is based on the open source software rssbot, an open source Telegram RSS robot, project address: https://github.com/iovxw/rssbot.

Execute the following commands in sequence and replace the TELEGRAM-BOT-TOKEN in the third command with the HTTP API TOKEN of the robot you just applied for:

wget https://github.com/iovxw/rssbot/releases/download/v1.4.4/rssbot-v1.4.4-linux.zip unzip rssbot-v1.4.4-linux.zip ./rssbot DATAFILE TELEGRAM-BOT-TOKEN

After the test is completed and there are no problems, you can use the nohub command to let the robot run in the background: nohup ./rssbot DATAFILE TELEGRAM-BOT-TOKEN > /dev/null 2>&1 &.

Subscription website

The instructions for rssbot are as follows:

/rss - Display the RSS list of current subscriptions, add the raw parameter to display the link /sub - Subscribe to an RSS: /sub http://example.com/feed.xml /unsub - Unsubscribe from an RSS: /unsub http://example.com/feed.xml /unsubthis - Use this command to reply to the RSS message you want to unsubscribe to unsubscribe. Channel is not supported. /export - Export to OPML

Personal subscription

If it is a personal subscription (RSS information will be sent to you in a private message), talk to the robot directly and send /sub https://www.vpsgo.com/feed:

Channel subscription

If you want to send RSS information to a channel, first add the robot to the channel as an administrator. This article takes the channel @vpsgo as an example. After adding it, talk to the robot directly and send /sub @ vpsgo https:/ /www.vpsgo.com/feed:

Finally, everyone is welcome to subscribe to the RSS channel of this site: https://t.me/vpsgo, and don’t miss out on every VPS discount!

Recommended site searches: vps dynamic IP, Ministry of Industry and Information Technology website registration query, forum registration, domain name registration official website, US domain names have been registered but unregistered domain names, servers in the United States, mainland China registration-free cdn, ip query, mainland China permanent registration-free cloud Server recommendations,

Use Telegram to build an RSS subscription robot (rssbot)

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码