Use Telegram to create an RSS subscription bot (RustRssBot) and add it to a Telegram channel or group

888u

Last update at :2024-07-11,Edit by888u

Mainly using Chinese Telegram RSS robot: RustRssBot, project address: https://github.com/iovxw/rssbot< /p>

Run on your own server, Linux system.

1. Create Telegram RSS subscription robot

1. Create RssBot

In Telegarm, paste @botfather in the search bar

Then you open the chat dialog box of botfarther and enter /newbot Press Enter to send, botfarther will give feedback Alright, a new bot. How are we going to call it? Please choose a name for your bot.

Enter the name of the bot you want to create. For example, zhujiwiki_bot, press Enter to send

Done! Congratulations on your new bot. ……

Use this token to access the HTTP API: xxx:xxx

2. Build on the server

The latest compiled version of rssbot is 1.4.4: https://github.com/iovxw/rssbot/releases

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

TELEGRAM-BOT-TOKEN is replaced with the HTTP API applied above

3. The server runs in the background

nohup ./rssbot DATAFILE TELEGRAM-BOT-TOKEN > /dev/null 2>&1 &

4. In the Telegram subscription channel, you can subscribe to your own RSS feed

/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

For example: /rss https://bmvps.com/feed, you have subscribed to this site, and when the site is updated, it will be displayed in Telegram.

2. Add RSS subscription robot to Telegram channel or group

1. Set the subscription robot as the administrator of another channel

2. Send /sub @zhujiwiki_bot https://bmvps.com/feed in this channel to subscribe to this site.

Recommended site searches: dynamic IP server, IP proxy, Hong Kong server, private server rental, Foshan high-defense server, query whether a domain name is registered, Hong Kong server rental, domain name registration, app server rental, application for free space,

Use Telegram to create an RSS subscription bot (RustRssBot) and add it to a Telegram channel or group

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