词元之母TOK.MOM - 平台充值汇率 1:1 即 1 人民币充值到账 1 美元,支持一个 Key 调用近 600+ 海内外模型,限时特价模型低至 1 折,欢迎上岸!
| 来源 | 内置(默认安装) |
| 路径 | skills/research/blogwatcher |
| 版本 | 2.0.0 |
| 作者 | JulienTant (fork of Hyaxia/blogwatcher) |
| 许可证 | MIT |
| 平台 | linux, macos, windows |
| 标签 | RSS, Blogs, Feed-Reader, Monitoring |
blogwatcher-cli 工具追踪博客和 RSS/Atom 订阅源的更新。支持自动订阅源发现、HTML 抓取回退、OPML 导入,以及文章已读/未读管理。go install github.com/JulienTant/blogwatcher-cli/cmd/blogwatcher-cli@latestdocker run --rm -v blogwatcher-cli:/data ghcr.io/julientant/blogwatcher-clicurl -sL https://github.com/JulienTant/blogwatcher-cli/releases/latest/download/blogwatcher-cli_linux_amd64.tar.gz | tar xz -C /usr/local/bin blogwatcher-clicurl -sL https://github.com/JulienTant/blogwatcher-cli/releases/latest/download/blogwatcher-cli_linux_arm64.tar.gz | tar xz -C /usr/local/bin blogwatcher-clicurl -sL https://github.com/JulienTant/blogwatcher-cli/releases/latest/download/blogwatcher-cli_darwin_arm64.tar.gz | tar xz -C /usr/local/bin blogwatcher-clicurl -sL https://github.com/JulienTant/blogwatcher-cli/releases/latest/download/blogwatcher-cli_darwin_amd64.tar.gz | tar xz -C /usr/local/bin blogwatcher-cli~/.blogwatcher-cli/blogwatcher-cli.db。在 Docker 中,容器重启后数据会丢失。使用 BLOGWATCHER_DB 或挂载卷来持久化数据:Hyaxia/blogwatcher 升级,请移动数据库文件:blogwatcher 更改为 blogwatcher-cli。blogwatcher-cli add "My Blog" https://example.comblogwatcher-cli add "My Blog" https://example.com --feed-url https://example.com/feed.xmlblogwatcher-cli add "My Blog" https://example.com --scrape-selector "article h2 a"blogwatcher-cli blogsblogwatcher-cli remove "My Blog" --yesblogwatcher-cli import subscriptions.opmlblogwatcher-cli scanblogwatcher-cli scan "My Blog"blogwatcher-cli articlesblogwatcher-cli articles --allblogwatcher-cli articles --blog "My Blog"blogwatcher-cli articles --category "Engineering"blogwatcher-cli read 1blogwatcher-cli unread 1blogwatcher-cli read-allblogwatcher-cli read-all --blog "My Blog" --yesBLOGWATCHER_ 前缀的环境变量设置:| 变量 | 描述 |
|---|---|
BLOGWATCHER_DB | SQLite 数据库文件路径 |
BLOGWATCHER_WORKERS | 并发扫描 worker 数量(默认:8) |
BLOGWATCHER_SILENT | 扫描时仅输出"scan done" |
BLOGWATCHER_YES | 跳过确认提示 |
BLOGWATCHER_CATEGORY | 按分类筛选文章的默认值 |
$ blogwatcher-cli blogs
Tracked blogs (1):
xkcd
URL: https://xkcd.com
Feed: https://xkcd.com/atom.xml
Last scanned: 2026-04-03 10:30$ blogwatcher-cli scan
Scanning 1 blog(s)...
xkcd
Source: RSS | Found: 4 | New: 4
Found 4 new article(s) total!$ blogwatcher-cli articles
Unread articles (2):
[1] [new] Barrel - Part 13
Blog: xkcd
URL: https://xkcd.com/3095/
Published: 2026-04-02
Categories: Comics, Science
[2] [new] Volcano Fact
Blog: xkcd
URL: https://xkcd.com/3094/
Published: 2026-04-01
Categories: Comics--feed-url 时,自动从博客主页发现 RSS/Atom 订阅源。--scrape-selector,则回退至 HTML 抓取。~/.blogwatcher-cli/blogwatcher-cli.db(可通过 --db 或 BLOGWATCHER_DB 覆盖)。blogwatcher-cli <command> --help 查看所有标志和选项。