Install Telegram robot flowerss bot under Centos, which can subscribe to RSS

Install Telegram robot flowerss bot under Centos, which can subscribe to RSS

1. Flowerss bot features :
Common RSS Bot features Support instant view in Telegram app
Supports subscribing to RSS messages for Group and Channel

2. Install the necessary components

1.

 yum install make gcc git -y

2. Install golang

 wget https://dl.google.com/go/go1.12.6.linux-amd64.tar.gz tar -C /usr/local -xzf go1.12.6.linux-amd64.tar.gz echo 'export PATH=$PATH:/usr/local/go/bin' >>/etc/profile source /etc/profile

3. Install flowerss bot

1.

 git clone https://github.com/indes/flowerss-bot && cd flowerss-bot make build

2. Modify the configuration file

config.yml in the root directory

bot_token: required, requested from @BotFather
update_interval: monitoring interval, in minutes

3. Run

 ./flowerss-bot

Configuration instructions:

Configuration items meaning Required?
bot_token Telegram Bot Token Required
telegraph_token Telegraph Token, used to transfer the original text to Telegraph Can be ignored (do not transfer the original text to Telegraph)
preview_text Word count of pure text preview (without Telegraph) Can be ignored (default 0, 0 means disabled)
disable_web_page_preview Whether to disable web page preview Can be ignored (default false, true to disable)
update_interval RSS feed scan interval (minutes) Ignoreable (default 10)
error_threshold Maximum number of source errors Ignore (default 100)
socks5 For environments where the Telegram API cannot be used normally Can be ignored (can connect to Telegram API server normally)
mysql MySQL database configuration Ignore (use SQLite)
sqlite SQLite Configuration Can be ignored (this item is invalid when MySQL is configured)
telegram.endpoint Customize Telegram bot API URL Can be ignored (use the default API URL)

4. Use flowerss bot

1. Command:

 /sub [url] 訂閱(url 為可選) /unsub [url] 取消訂閱(url 為可選) /list 查看當前訂閱/set 設置訂閱/setfeedtag [sub id] [tag1] [tag2] 設置訂閱標簽(最多設置三個Tag,以空格分割) /import 導入OPML 文件/export 導出OPML 文件/unsuball 取消所有訂閱/help 幫助

2. Telagram Channel subscription usage Add Bot as Channel administrator Send relevant commands to Bot
Channel subscription supports the following commands:

 /[email protected] feed鏈接訂閱/[email protected] feed鏈接取消訂閱/[email protected] 查看當前訂閱/[email protected] 取消所有訂閱

ChannelID is only available when it is set as Public Channel. If it is a Private Channel, you can temporarily set it to Public, and change it to Private after the subscription is completed. This will not affect the Bot push messages.

flowerss-bot open source page: https://github.com/indes/flowerss-bot

<<:  GigsGigsCloud 512MB RAM 10Mbps Bandwidth Japan CN2 GIA KVM VPS Review

>>:  Sharktech: $29.6/year/1GB memory/20GB SSD space/1TB traffic/100Mbps port/DDOS/KVM/Los Angeles/Chicago/Denver/Netherlands

Recommend

HappyBee Host: $2/month/1GB RAM/30GB storage/1TB traffic/OpenVZ/UK OVH

HappyBee Host, a foreign hosting provider, mainly...

UltraVPS 512MB RAM NVMe SSD Hard Drive Seattle KVM VPS Review

Details: UltraVPS: $10/month/2GB memory/25GB NVMe...

OwnBox: £2.5/month/2GB RAM/20GB SSD space/unlimited traffic/100Mbps/KVM/UK

OwnBox, a British merchant, was newly established...

Gamerzhost: €1.99/month/512MB RAM/25GB storage/3TB bandwidth/OpenVZ/Germany

Gamerzhost, a German hosting company, mainly deal...

Under Linux system, one-click network reinstallation system is Centos7

Originated from cxthhhhh.com. Only works with KVM...

WholesaleInternet: $19/month/2GB memory/250GB space/100M exclusive

Introduction WholesaleInternet is an Internet ser...

WootHosting: $22/month/8GB memory/320GB space/5TB traffic/5 IP/KVM/Los Angeles

WootHosting, an American hosting provider, was es...

HostUS: $7/month/2GB RAM/70GB SSD/3TB bandwidth/OpenVZ/Hong Kong

HostUS has made Hong Kong VPS prices affordable. ...