RSSBot
中文 Telegram RSS 机器人 [@RustRssBot](http://t.me/RustRssBot "@RustRssBot")
支持:
- [x] RSS 0.9
- [x] RSS 0.91
- [x] RSS 0.92
- [x] RSS 0.93
- [x] RSS 0.94
- [x] RSS 1.0
- [x] RSS 2.0
- [x] Atom 0.3
- [x] Atom 1.0
功能
用RSS订阅后通过Telegram Bot推送更新消息
使用方法
包括查看、订阅、退订、导出以及搭建;
已搭建Menhoodrss
机器人,可在Telegram搜索添加立即使用。
命令使用
/rss - 显示当前订阅的 RSS 列表,加 raw 参数显示链接
/sub - 订阅一个 RSS: /sub http://example.com/feed.xml
/unsub - 退订一个 RSS: /unsub http://example.com/feed.xml
/unsubthis - 使用此命令回复想要退订的 RSS 消息即可退订, 不支持 Channel
/export - 导出为 OPML
搭建
前置条件:VPS
或Linux主机
,如有其他需求参阅[原作者文档](https://github.com/iovxw/rssbot "原作者文档")
下载
下载并解压,2018-5-30最新版本为rssbot-v1.4.3
wget https://github.com/iovxw/rssbot/releases/download/v1.4.3/rssbot-v1.4.3-linux.zip
unzip rssbot-v1.4.3-linux.zip
申请TOKEN
找到机器人老爹BotFather
请求创建新 Bot
输入指令/newbot
选好name
和username
之后
老爹会返回一串 Token
:
Use this token to access the HTTP API:
123456789:A*****************-***************s
运行Bot
记得要把数字也输进去
./rssbot DATAFILE TELEGRAM-BOT-TOKEN
但是每次启动都要带token就很麻烦,所以做了一个脚本:
#!/bin/bash
./rssbot DATAFILE 123456789:A*****************-***************s & log 2&&1 &
把TOKEN
换成自己的就ok了
项目地址
[RSSBot (GitHub)](https://github.com/iovxw/rssbot "RSSBot GitHub")
[下载页](https://github.com/iovxw/rssbot/releases "下载页")