简介
实时聚合 Jin10、BlockBeats、Polymarket、RSS、KOL 动态,支持 AI 过滤与 Discord/Telegram 推送,REST API 热重载配置,适合加密交易者的信息流自动化工具。
原始描述
Real-time news aggregator with Discord & Telegram push. Manage Jin10, BlockBeats, RSS, X KOLs, Polymarket, OpenNews via REST API.
通过你的 Agent 添加
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心功能
Buzz 是一款面向加密货币投资者与金融信息工作者的实时新闻聚合器,通过 REST API 提供全量配置能力,支持热重载(无需重启服务)。系统可监控多路信息源:中文快讯平台 Jin10(金十)与 BlockBeats、预测市场 Polymarket 价格异动、RSS 订阅源、X(Twitter)KOL 推文(通过 6551.io 接口),以及 OpenNews AI 评分系统。
显著优点
- 多源聚合与智能过滤:OpenNews 集成 AI 评分(0-100 分)与信号分类(long/short/neutral),可按币种(BTC/ETH 等)与引擎类型(新闻/上币/链上/Meme)过滤;Polymarket 支持统计异常检测(Z-Score、成交量激增)与标签筛选(Crypto/Politics/Finance 等)。
- 灵活的推送通道:原生支持 Discord Webhook/机器人、Telegram 机器人双通道,可并行推送或按需隔离。
- API 驱动的配置管理:所有设置通过
/api/config热更新,支持增量修改对象字段;KOL 管理有独立端点/api/kols,避免数组覆盖风险。敏感字段(token、apiKey、password)自动脱敏返回。 - 实时流式传输:Server-Sent Events (SSE) 端点
/sse提供低延迟事件流,内置历史事件回放与心跳机制。
潜在局限与风险
- 数组替换陷阱:
rssFeeds、polymarket.tagIds、opennews.coins等数组字段在 POST 时会被完全替换,而非追加;用户需先 GET 再修改后 POST,操作链路过长易出错。 - 外部依赖稳定性:6551.io 作为 X 监控与 OpenNews 的 API 提供商,若服务中断或限流将直接影响 KOL 推文与 AI 评分功能。
- 自托管运维成本:需本地 Node.js 运行,端口、防火墙、进程守护需自行管理;
dashboard.port修改仍需重启。 - 安全边界:默认无认证,仅通过可选
?pw=参数保护;明文传输 HTTP(非 HTTPS),在公网暴露存在中间人风险。
适合人群
- 加密货币日内交易者、做市商,需要毫秒级 Polymarket 赔率变动与快讯联动
- 社群运营者,希望自动化向 Discord/Telegram 推送 curated 信息流
- 量化策略开发者,可通过 SSE 流接入事件驱动交易信号
常规风险
API 密钥(X.AI、6551、Discord、Telegram)以明文存储于本地 config.json,需做好文件权限控制;Polymarket 的统计阈值(zThreshold、volSpikeThreshold)若设置过灵敏将导致消息轰炸,过迟钝则漏掉关键行情。
技能正文
name: buzz description: Real-time news aggregator with Discord & Telegram push. Manage Jin10, BlockBeats, RSS, X KOLs, Polymarket, OpenNews via REST API. version: 1.0.0 user-invocable: true metadata: openclaw: requires: bins: - node - npm emoji: "\U0001F4F0" os: - darwin - linux - win32
Buzz Skill
Install, run, and manage a real-time news aggregator with Discord & Telegram push notifications. All configuration is done via REST API with hot-reload — no restarts needed.
Base URL: http://localhost:3848 (default, configurable via dashboard.port)
Quick Setup
git clone https://github.com/zxcnny930/buzz.git
cd buzz
npm install
cp config.example.json config.json
npm start
The dashboard is at http://localhost:3848, settings page at /settings.html?lang=en.
Authentication
If a dashboard password is set, all /api/* endpoints require ?pw=PASSWORD:
curl -s "http://localhost:3848/api/config?pw=YOUR_PASSWORD"
If password is empty string, no authentication is needed.
IMPORTANT: All curl examples below omit ?pw= for brevity. If the server has a password configured, append ?pw=PASSWORD to every URL.
Auth failure response (HTTP 401):
{ "ok": false, "error": "Unauthorized" }
API Endpoints
1. Get Current Config
curl -s http://localhost:3848/api/config
Returns the full configuration JSON. Sensitive fields (apiKey, token, botToken, password) are redacted as "••••••" in the response.
2. Update Config (Partial, Hot-Reload)
POST /api/config accepts partial updates. Only send the sections you want to change.
Enable Jin10 with 10-second polling:
curl -s -X POST http://localhost:3848/api/config \
-H "Content-Type: application/json" \
-d '{"jin10": {"enabled": true, "pollIntervalMs": 10000}}'
Disable Polymarket:
curl -s -X POST http://localhost:3848/api/config \
-H "Content-Type: application/json" \
-d '{"polymarket": {"enabled": false}}'
Set Discord webhook:
curl -s -X POST http://localhost:3848/api/config \
-H "Content-Type: application/json" \
-d '{"discord": {"webhookUrl": "https://discord.com/api/webhooks/..."}}'
Enable Telegram:
curl -s -X POST http://localhost:3848/api/config \
-H "Content-Type: application/json" \
-d '{"telegram": {"enabled": true, "botToken": "123456:ABC-DEF", "chatId": "-1001234567890"}}'
Add an RSS source:
curl -s -X POST http://localhost:3848/api/config \
-H "Content-Type: application/json" \
-d '{"rssFeeds": [{"enabled": true, "name": "CoinDesk", "feedUrl": "https://www.coindesk.com/arc/outboundfeeds/rss/?outputType=xml", "pollIntervalMs": 300000, "color": 3447003}]}'
Note:
rssFeedsis an array — sending it replaces the entire array, not appends.
Configure OpenNews AI filtering:
curl -s -X POST http://localhost:3848/api/config \
-H "Content-Type: application/json" \
-d '{"opennews": {"enabled": true, "pollIntervalMs": 60000, "minScore": 70, "signals": ["long"], "coins": ["BTC", "ETH"], "engineTypes": ["news", "listing"]}}'
Configure Polymarket alerts:
curl -s -X POST http://localhost:3848/api/config \
-H "Content-Type: application/json" \
-d '{"polymarket": {"enabled": true, "minChangePp": 5, "zThreshold": 2.5, "volSpikeThreshold": 2.0, "minLiquidity": 10000, "tagIds": [21, 120], "excludeTagIds": [100639]}}'
Set AI translation model:
curl -s -X POST http://localhost:3848/api/config \
-H "Content-Type: application/json" \
-d '{"grok": {"apiKey": "xai-...", "model": "grok-4.1-fast", "baseUrl": "https://api.x.ai/v1"}}'
Success response:
{ "ok": true }
Validation error response:
{
"ok": false,
"errors": ["polymarket.zThreshold must be > 0", "dashboard.port must be 1024-65535"]
}
3. Get Source Status
curl -s http://localhost:3848/api/status
Response:
{
"jin10": { "active": true, "interval": 15000 },
"blockbeats": { "active": true, "interval": 30000 },
"polymarket": { "active": true, "interval": 180000 },
"x6551": { "active": true, "interval": 3600000 },
"opennews": { "active": false, "interval": 60000 },
"rss:https://www.blocktempo.com/feed/": { "active": true, "interval": 300000 }
}
Each key is a source identifier. RSS sources are prefixed with rss: followed by their feed URL.
4. Manage KOL Tracking List
List all tracked accounts:
curl -s -X POST http://localhost:3848/api/kols \
-H "Content-Type: application/json" \
-d '{"action": "list"}'
Response:
{ "ok": true, "kols": ["elonmusk", "VitalikButerin"] }
Add a KOL:
curl -s -X POST http://localhost:3848/api/kols \
-H "Content-Type: application/json" \
-d '{"action": "add", "username": "caboronli"}'
Response:
{ "ok": true, "kols": ["elonmusk", "VitalikButerin", "caboronli"] }
If already exists:
{ "ok": true, "message": "already exists", "kols": ["elonmusk", "VitalikButerin", "caboronli"] }
Remove a KOL:
curl -s -X POST http://localhost:3848/api/kols \
-H "Content-Type: application/json" \
-d '{"action": "remove", "username": "elonmusk"}'
Response:
{ "ok": true, "kols": ["VitalikButerin", "caboronli"] }
If username not found:
{ "ok": false, "error": "not found", "kols": ["VitalikButerin", "caboronli"] }
Username strings are trimmed and
@prefix is automatically stripped.
5. Health Check
curl -s http://localhost:3848/health
Response:
{ "ok": true, "clients": 2, "history": 150 }
clients: number of active SSE connectionshistory: number of events in memory
No authentication required.
6. Server-Sent Events (Live Stream)
curl -s -N http://localhost:3848/sse
Streams real-time news events as SSE. On connection, all historical events are sent first, then new events arrive in real-time. Heartbeat every 15 seconds.
Full Configuration Schema
jin10
| Field | Type | Default | Validation | Description |
|---|---|---|---|---|
enabled |
boolean | true |
Enable Jin10 flash news | |
pollIntervalMs |
number | 15000 |
>= 5000 | Poll interval in milliseconds |
onlyImportant |
boolean | true |
Only push important items |
blockbeats
| Field | Type | Default | Validation | Description |
|---|---|---|---|---|
enabled |
boolean | true |
Enable BlockBeats | |
pollIntervalMs |
number | 30000 |
>= 5000 | Poll interval |
onlyImportant |
boolean | true |
Only push important items | |
lang |
string | "cht" |
Language: cht (Trad. Chinese), en, cn (Simp. Chinese) |
rssFeeds (array)
| Field | Type | Default | Validation | Description |
|---|---|---|---|---|
enabled |
boolean | true |
Enable this feed | |
name |
string | Display name | ||
feedUrl |
string | must start with http(s):// |
RSS/Atom feed URL | |
pollIntervalMs |
number | 300000 |
>= 5000 | Poll interval |
color |
number | Discord embed color as integer (e.g. 3447003 = #3498DB) |
x6551
| Field | Type | Default | Validation | Description |
|---|---|---|---|---|
enabled |
boolean | true |
Enable X tweet monitoring | |
apiBase |
string | "https://ai.6551.io" |
must start with http(s):// |
API base URL |
token |
string | API token from 6551.io/mcp | ||
pollIntervalMs |
number | 3600000 |
>= 5000 | Poll interval |
kolSyncIntervalMs |
number | 300000 |
KOL list refresh interval | |
kols |
string[] | [] |
Usernames to monitor (without @) |
opennews
| Field | Type | Default | Validation | Description |
|---|---|---|---|---|
enabled |
boolean | false |
Enable OpenNews AI news | |
pollIntervalMs |
number | 60000 |
>= 5000 | Poll interval |
minScore |
number | 70 |
0-100 | Minimum AI score to push |
signals |
string[] | [] |
Filter: "long", "short", "neutral" (empty = all) |
|
coins |
string[] | [] |
Filter by coin symbols, e.g. ["BTC","ETH"] (empty = all). OpenNews-only — other sources (Jin10, BlockBeats, RSS, Polymarket) cannot be coin-filtered. |
|
engineTypes |
string[] | [] |
Filter: "news", "listing", "onchain", "meme", "market" (empty = all). OpenNews-only. |
polymarket
| Field | Type | Default | Validation | Description |
|---|---|---|---|---|
enabled |
boolean | true |
Enable Polymarket monitoring | |
pollIntervalMs |
number | 180000 |
>= 5000 | Price check interval |
marketRefreshMs |
number | 600000 |
>= 60000 | Market list refresh interval |
minChangePp |
number | 5 |
Min percentage point change to alert | |
zThreshold |
number | 2.5 |
> 0 | Z-Score anomaly threshold (0 = off) |
volSpikeThreshold |
number | 2.0 |
> 0 | Volume spike multiplier |
minLiquidity |
number | 10000 |
>= 0 | Min market liquidity in USD |
rollingWindowMinutes |
number | 30 |
Window for price change calculation | |
cooldownMs |
number | 900000 |
>= 60000 | Min interval before re-alerting same market |
tagIds |
number[] | [] |
Only track these categories (empty = all) | |
excludeTagIds |
number[] | [] |
Exclude these categories |
Polymarket Tag IDs:
| ID | Category |
|---|---|
| 21 | Crypto |
| 2 | Politics |
| 120 | Finance |
| 1401 | Tech |
| 596 | Culture |
| 100265 | Geopolitics |
| 100639 | Sports |
grok (AI Translation)
| Field | Type | Default | Validation | Description |
|---|---|---|---|---|
apiKey |
string | API key for translation | ||
model |
string | "grok-4.1-fast" |
Model name (any OpenAI-compatible) | |
baseUrl |
string | "https://api.x.ai/v1" |
must start with http(s):// |
API endpoint |
Supported models: grok-4.1-fast, gpt-4o-mini, gpt-4.1-mini, claude-sonnet-4-6, claude-haiku-4-5-20251001, gemini-2.0-flash, or any OpenAI-compatible model.
discord
| Field | Type | Default | Description |
|---|---|---|---|
webhookUrl |
string | "" |
Discord webhook URL (simple mode) |
botToken |
string | "" |
Discord bot token (advanced mode) |
channelId |
string | "" |
Discord channel ID (required for bot mode) |
Use either webhookUrl or botToken + channelId, not both.
telegram
| Field | Type | Default | Description |
|---|---|---|---|
enabled |
boolean | false |
Enable Telegram notifications |
botToken |
string | "" |
Telegram bot token from @BotFather |
chatId |
string | "" |
Target chat/group/channel ID |
dashboard
| Field | Type | Default | Validation | Description |
|---|---|---|---|---|
port |
number | 3848 |
1024-65535 | HTTP server port (restart required) |
password |
string | "" |
Access password (empty = no auth) |
Common Workflows
Check what's currently running
curl -s http://localhost:3848/api/status | jq 'to_entries[] | select(.value.active) | .key'
Enable a source and verify
# Enable Jin10
curl -s -X POST http://localhost:3848/api/config \
-H "Content-Type: application/json" \
-d '{"jin10": {"enabled": true, "pollIntervalMs": 15000}}'
# Verify it's active
curl -s http://localhost:3848/api/status | jq '.jin10'
Set up Discord + Telegram dual push
curl -s -X POST http://localhost:3848/api/config \
-H "Content-Type: application/json" \
-d '{
"discord": {"webhookUrl": "https://discord.com/api/webhooks/..."},
"telegram": {"enabled": true, "botToken": "123456:ABC-DEF", "chatId": "-1001234567890"}
}'
Add a new RSS feed (without losing existing ones)
IMPORTANT: rssFeeds is an array. POSTing it replaces the entire list. You must GET first, append, then POST back.
Step 1 — Get current feeds:
curl -s http://localhost:3848/api/config | jq '.rssFeeds'
Step 2 — POST the full array with the new feed appended:
# Example: existing feeds are BlockTempo and PTS News, adding CoinDesk
curl -s -X POST http://localhost:3848/api/config \
-H "Content-Type: application/json" \
-d '{"rssFeeds": [
{"enabled": true, "name": "BlockTempo", "feedUrl": "https://www.blocktempo.com/feed/", "pollIntervalMs": 300000, "color": 16746496},
{"enabled": true, "name": "PTS News", "feedUrl": "https://news.pts.org.tw/xml/newsfeed.xml", "pollIntervalMs": 300000, "color": 3447003},
{"enabled": true, "name": "CoinDesk", "feedUrl": "https://www.coindesk.com/arc/outboundfeeds/rss/?outputType=xml", "pollIntervalMs": 300000, "color": 2067276}
]}'
Same pattern applies when removing or editing an RSS feed — always send the complete updated array.
Remove an RSS feed
GET current list, remove the target, POST back the remaining array.
# Get current feeds, then POST without the one you want to remove
curl -s http://localhost:3848/api/config | jq '.rssFeeds'
# POST back the array minus the removed feed
curl -s -X POST http://localhost:3848/api/config \
-H "Content-Type: application/json" \
-d '{"rssFeeds": [
{"enabled": true, "name": "BlockTempo", "feedUrl": "https://www.blocktempo.com/feed/", "pollIntervalMs": 300000, "color": 16746496}
]}'
Add an item to any array field (general pattern)
When the user says "also add X", always follow GET → modify → POST:
# Step 1: GET current value
CURRENT=$(curl -s http://localhost:3848/api/config | jq '.polymarket.tagIds')
# Example result: [21, 120]
# Step 2: Append and POST back
# Adding Sports (100639) to existing [21, 120]
curl -s -X POST http://localhost:3848/api/config \
-H "Content-Type: application/json" \
-d '{"polymarket": {"tagIds": [21, 120, 100639]}}'
Same pattern applies to opennews.signals, opennews.coins, opennews.engineTypes, polymarket.excludeTagIds.
Monitor high-impact crypto news only
curl -s -X POST http://localhost:3848/api/config \
-H "Content-Type: application/json" \
-d '{"opennews": {"enabled": true, "minScore": 80, "signals": ["long", "short"], "coins": ["BTC", "ETH", "SOL"], "engineTypes": ["news", "listing"]}}'
Track new KOL and verify
# Add
curl -s -X POST http://localhost:3848/api/kols \
-H "Content-Type: application/json" \
-d '{"action": "add", "username": "VitalikButerin"}'
# List all
curl -s -X POST http://localhost:3848/api/kols \
-H "Content-Type: application/json" \
-d '{"action": "list"}'
Important Rules
Array fields are REPLACED, never merged
The config deep-merge only merges plain objects. All array fields are completely replaced when you POST them. If the user wants to add an item to an existing list, you MUST GET the current config first, modify the array, then POST back.
Array fields that require GET-first when adding/removing items:
| Field | Example "add" intent |
|---|---|
rssFeeds |
"Add CoinDesk RSS" — GET current feeds, append, POST full array |
polymarket.tagIds |
"Also track Sports" — GET current tagIds, append 100639, POST |
polymarket.excludeTagIds |
"Also exclude Culture" — same pattern |
opennews.signals |
"Also show long signals" — GET, append "long", POST |
opennews.coins |
"Also track SOL" — GET, append "SOL", POST |
opennews.engineTypes |
"Also include listings" — GET, append "listing", POST |
Exception — KOLs have a safe endpoint: Use POST /api/kols with action: "add" or "remove". This does NOT require GET-first. Do NOT modify x6551.kols via POST /api/config — use the dedicated endpoint instead.
When the user says "set to" (replace entire list) instead of "add", you can POST directly without GET-first. Example: "I only want Crypto and Finance" → {"polymarket": {"tagIds": [21, 120]}} is fine.
Other rules
- Object sections support partial update. You can POST just
{"jin10": {"enabled": false}}without affecting other jin10 fields or other sections. - Sensitive fields are redacted in GET responses as
"••••••". When POSTing, redacted values are automatically preserved (not overwritten). - All changes are hot-reloaded — no restart needed, except
dashboard.port. - The
x6551.tokenis shared between X tweet monitor and OpenNews. - Get your 6551 API token at https://6551.io/mcp
Error Responses
| HTTP Status | Body | Cause |
|---|---|---|
| 401 | { "ok": false, "error": "Unauthorized" } |
Missing or wrong ?pw= password |
| 400 | { "ok": false, "errors": [...] } |
Validation failed (array of error strings) |
| 400 | { "ok": false, "error": "Invalid JSON" } |
Malformed request body |
| 404 | { "error": "Not found" } |
Unknown API route |
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。