返回顶部
f

feed-watcher

|

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.0.1
安全检测
已通过
345
下载量
1
收藏
概述
安装方式
版本历史

feed-watcher

# Feed Watcher Monitor RSS/Atom feeds and send notifications when new content appears. ## Description This skill monitors RSS and Atom feeds for new content and sends notifications via webhook or cron job. It's designed to track YouTube channels, Reddit subreddits, GitHub repos, blogs, and any other RSS/Atom feed. ## Features - Add multiple feeds to monitor - Track new articles/posts since last check - Configurable notification via webhook - Persistent state (remembers last checked item) - Supports any RSS/Atom feed ## Installation ```bash # Install required dependencies npm install # Or use globally npm install -g rss-parser dotenv ``` ## Configuration Create a `.env` file with: ```env # Webhook URL for notifications (Discord, Telegram, Slack, etc.) WEBHOOK_URL=https://your-webhook-url.com/hook # Optional: Custom user agent USER_AGENT=feed-watcher/1.0 ``` ## Commands ### Add a feed ```bash node index.js add "feed_name" "https://example.com/feed.xml" ``` Example - YouTube channel: ```bash node index.js add "Psychopoly" "https://www.youtube.com/feeds/videos.xml?channel_id=UCXXXX" ``` Example - Reddit subreddit: ```bash node index.js add "programming" "https://www.reddit.com/r/programming/.rss" ``` Example - GitHub releases: ```bash node index.js add "openclaw" "https://github.com/openclaw/openclaw/releases.atom" ``` ### List feeds ```bash node index.js list ``` ### Scan for updates ```bash node index.js scan ``` ### Check specific feed ```bash node index.js check "feed_name" ``` ### Remove feed ```bash node index.js remove "feed_name" ``` ## Usage as a Cron Job Add to crontab for automatic monitoring: ```bash # Run every 30 minutes */30 * * * * cd /path/to/feed-watcher && node index.js scan >> /var/log/feed-watcher.log 2>&1 ``` ## Supported Feed Types - RSS 2.0 - Atom 1.0 - YouTube channel feeds - Reddit subreddit feeds (.rss) - GitHub release/issue feeds - Any standard RSS/Atom feed ## Examples ### YouTube Channel Find channel ID, then use: ``` https://www.youtube.com/feeds/videos.xml?channel_id=UCxxxxx ``` ### Reddit For r/programming: ``` https://www.reddit.com/r/programming/.rss ``` ### GitHub Releases For a repo: ``` https://github.com/owner/repo/releases.atom ``` ## Environment Variables | Variable | Required | Description | |----------|----------|-------------| | WEBHOOK_URL | No | URL to send notifications | | DATA_DIR | No | Directory for state files (default: ~/.feed-watcher) | ## Notification Format When new content is found, the webhook receives: ```json { "feed": "Feed Name", "count": 3, "items": [ { "title": "Article Title", "link": "https://example.com/article", "pubDate": "2024-01-15T10:30:00Z" } ] } ``` ## Notes - State is stored in `~/.feed-watcher/feeds.json` - Each feed tracks its own last-seen item - Run `scan` before setting up cron to test feeds - You can use with any notification service (Discord webhook, Telegram bot, Slack, etc.)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 feed-watcher-1776280963 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 feed-watcher-1776280963 技能

通过命令行安装

skillhub install feed-watcher-1776280963

下载 Zip 包

⬇ 下载 feed-watcher v0.0.1

文件大小: 5.45 KB | 发布时间: 2026-4-16 17:31

v0.0.1 最新 2026-4-16 17:31
Initial release of feed-watcher

- Monitor RSS/Atom feeds for updates and send notifications via webhooks.
- Supports tracking YouTube channels, Reddit subreddits, GitHub releases, blogs, and any standard RSS/Atom feed.
- Add, remove, list, and scan feeds using CLI commands.
- Persistent state tracking to avoid duplicate notifications.
- Easy integration with Discord, Telegram, Slack, and similar services.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部