Skip to content

nopnoping/rss-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rss-bot License

一个可扩展的轻量级telegram rss订阅机器人

安装

git clone [email protected]:nopnoping/rss-bot.git 
cd rss-bot
go get
go build

使用示例

./rssbot -h

#Usage of ./rssbot:
#  -botproxy string
#        bot proxy url
#  -db string
#        sqlite db path (default "./rssbot.db")
#  -rssproxy string
#        rss client proxy url
#  -token string
#        telegram bot token

rssbot -toen=<bot-token> -botproxy=<bot-proxy-url> -rssproxy=<rss-pull-proxy-url>

#2023/12/07 08:12:53 bot start.......
#2023/12/07 08:12:53 push task start......

文件结构

  • rss-bot
    • bot:处理telegram bot的请求;发送rss订阅信息
    • config:全局配置
    • db:连接数据库;封装数据库操作
    • push-task:定时获取rss信息
    • rsspull:解析rss信息
    • go.mod
    • LICENSE
    • main.go
    • README.md

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages