利用 noisepan(信号提取)、entropia(来源验证)和 HN 盲点检测自动生成新闻摘要,用于每日新闻配置。
噪音大集 自动新闻情报,有源码核查 取代末日卷轴,有源码,来源:1. 要求:噪音、环形体、蟒蛇3、卷轴、Install:macOS(家畜)是一项面向实际任务的技能。它将相关步骤、工具调用和结果整理方式集中到统一流程中,帮助使用者更快完成目标并减少重复操作。
实际使用前应先确认任务范围、数据来源、运行环境、必要权限和关键参数,再依据技能说明逐步执行;若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。
执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;涉及批量任务时,还应保存进度,避免中断后重复操作。
自动化新闻情报系统,内置信源验证机制。以每日两期精选简报替代无休止的负面信息刷屏(doomscrolling)。
源代码仓库:
依赖项:noisepan、entropia、python3、curl
brew install ppiankov/tap/noisepan ppiankov/tap/entropia noisepan version && entropia version
下载、校验校验和,然后安装。写入 /usr/local/bin 前需征得用户同意 —— 若用户倾向本地安装,可提供 ~/bin 作为替代路径。
# noisepan
VER=$(curl -s https://api.github.com/repos/ppiankov/noisepan/releases/latest | grep tag_name | cut -d" " -f4 | tr -d v)
curl -fsSL "https://github.com/ppiankov/noisepan/releases/download/v${VER}/noisepan_${VER}_linux_amd64.tar.gz" -o /tmp/noisepan.tar.gz
curl -fsSL "https://github.com/ppiankov/noisepan/releases/download/v${VER}/checksums.txt" -o /tmp/noisepan-checksums.txt
# 校验校验和
grep linux_amd64 /tmp/noisepan-checksums.txt | (cd /tmp && sha256sum -c)
tar xzf /tmp/noisepan.tar.gz -C /usr/local/bin noisepan
rm /tmp/noisepan.tar.gz /tmp/noisepan-checksums.txt
# entropia
VER=$(curl -s https://api.github.com/repos/ppiankov/entropia/releases/latest | grep tag_name | cut -d" " -f4 | tr -d v)
curl -fsSL "https://github.com/ppiankov/entropia/releases/download/v${VER}/entropia_${VER}_linux_amd64.tar.gz" -o /tmp/entropia.tar.gz
curl -fsSL "https://github.com/ppiankov/entropia/releases/download/v${VER}/checksums.txt" -o /tmp/entropia-checksums.txt
# 校验校验和
grep linux_amd64 /tmp/entropia-checksums.txt | (cd /tmp && sha256sum -c)
tar xzf /tmp/entropia.tar.gz -C /usr/local/bin entropia
rm /tmp/entropia.tar.gz /tmp/entropia-checksums.txt
# 验证二者是否正常
noisepan version && entropia version
noisepan init --config ~/.noisepan # 验证 entropia 是否被正确识别 noisepan doctor --config ~/.noisepan
编辑 ~/.noisepan/config.yaml。推荐结构如下:
sources:
hn:
min_points: 200 # 原生 HN 接口(通过 Firebase API)
rss:
feeds:
# 安全领域
- "https://www.reddit.com/r/netsec/.rss"
- "https://krebsonsecurity.com/feed/"
- "https://www.bleepingcomputer.com/feed/"
- "https://feeds.feedburner.com/TheHackersNews"
- "https://www.cisa.gov/cybersecurity-advisories/all.xml"
# DevOps
- "https://www.reddit.com/r/devops/.rss"
- "https://www.reddit.com/r/kubernetes/.rss"
- "https://blog.cloudflare.com/rss/"
# AI / LLM
- "https://www.reddit.com/r/LocalLLaMA/.rss"
- "https://simonwillison.net/atom/everything/"
- "https://arxiv.org/rss/cs.AI"
# 状态页(Status pages)
- "https://status.aws.amazon.com/rss/all.rss"
- "https://www.cloudflarestatus.com/history.rss"
# 国际与政策
- "https://feeds.bbci.co.uk/news/world/rss.xml"
- "https://www.eff.org/rss/updates.xml"
# 聚合平台
- "https://lobste.rs/rss"
- "https://changelog.com/news/feed"
请根据个人兴趣定制。添加新 feed 后,请运行 noisepan doctor 进行验证。
编辑 ~/.noisepan/taste.yaml。关键分类如下:
高信噪比(+3 至 +5):CVE、零日漏洞、数据泄露、远程代码执行(RCE)、供应链攻击、服务中断、事后复盘(postmortem)、安全承诺(safety pledge)、数据主权(data sovereignty)、反垄断(antitrust)、军事 AI、去匿名化(deanonymization)、提示注入(prompt injection)、破坏性变更(breaking change)
低信噪比(-3 至 -5):招聘、网络研讨会(webinar)、赞助商内容、邮件简报(newsletter)、网络迷因(meme)、职业建议、名人新闻
关键经验:若缺乏政策、主权、反垄断或 AI 安全等关键词,真实重要事件极易被泛滥的安全噪音所淹没。应将此类关键词赋予与 CVE 相当的高权重。
当订阅超过 15 个 Reddit feed 时,并行抓取会触发 HTTP 429 错误。请创建一个顺序预取封装脚本:
cat > ~/.local/bin/noisepan-pull << 'SCRIPT'
#!/bin/bash
# 顺序预取 Reddit RSS 以规避限流,随后执行 noisepan pull
CACHE_DIR="/tmp/reddit-rss-cache"
CONFIG_DIR="${HOME}/.noisepan"
UA="Mozilla/5.0 (compatible; noisepan/1.0)"
mkdir -p "$CACHE_DIR"
FEEDS=$(grep "reddit.com" "$CONFIG_DIR/config.yaml" | grep -v "^#" | grep -v "^ #" | sed 's/.*"(.*)"/\1/')
for feed in $FEEDS; do
sub=$(echo "$feed" | grep -oP '/r/[^/]+')
curl -s -o "$CACHE_DIR/${sub}.xml" -H "User-Agent: $UA" "$feed"
sleep 2
done
python3 -m http.server 18222 --directory "$CACHE_DIR" &>/dev/null &
HTTP_PID=$!; sleep 0.5
mkdir -p /tmp/noisepan-tmp
cp "$CONFIG_DIR/config.yaml" /tmp/noisepan-tmp/config.yaml
for feed in $FEEDS; do
sub=$(echo "$feed" | grep -oP '/r/[^/]+')
sed -i "s|$feed|http://localhost:18222/${sub}.xml|" /tmp/noisepan-tmp/config.yaml
done
ln -sf "$CONFIG_DIR/taste.yaml" /tmp/noisepan-tmp/taste.yaml
ln -sf "$CONFIG_DIR/noisepan.db" /tmp/noisepan-tmp/noisepan.db
noisepan pull --config /tmp/noisepan-tmp "$@"
kill $HTTP_PID 2>/dev/null; rm -rf /tmp/noisepan-tmp
SCRIPT
mkdir -p ~/.local/bin && chmod +x ~/.local/bin/noisepan-pull
当订阅了 15+ 个 Reddit feed 时,请使用 noisepan-pull 替代 noisepan pull。
(可选)用于捕获高互动量但关键词评分机制未能识别的 Hacker News 故事,可作为 noisepan 原生 HN 数据源的有效交叉验证补充。
cat > ~/.local/bin/hn-top << 'SCRIPT'
#!/bin/bash
MIN_POINTS=${1:-200}
curl -s "https://hacker-news.firebaseio.com/v0/topstories.json" |
python3 -c "
import json, sys, urllib.request, time
ids = json.load(sys.stdin)[:30]
min_pts = int(sys.argv[1]) if len(sys.argv) > 1 else 200
for id in ids:
try:
with urllib.request.urlopen(f'https://hacker-news.firebaseio.com/v0/item/{id}.json') as r:
item = json.loads(r.read())
if item and item.get('score', 0) >= min_pts:
print(f'[{item["score"]:4d}pts | {item.get("descendants",0):3d}c] {item["title"]}')
print(f' {item.get("url", f"https://news.ycombinator.com/item?id={id}")}')
print()
time.sleep(0.1)
except: pass
" "$MIN_POINTS"
SCRIPT
chmod +x ~/.local/bin/hn-top
创建两个 OpenClaw 定时任务(早间 + 午后)。简报生成流程应包含以下步骤:
noisepan-pull 或 noisepan pull)noisepan digest --format json --output /tmp/digest.json)hn-top 300 检查盲点entropia scan hn-top 结果与简报对比,识别盲点(如:HN 得分 ≥ 400 但未出现在简报中的故事)🔥 Trending: 在 3+ 个渠道中共同出现的关键词 ☀️ Morning Brief(3 条已验证条目): | # | Score | Topic | What happened | Entropia | Link | 💡 HN Blind Spot(口味档案遗漏的故事): | # | HN pts | Topic | What happened | Link | ⚠️ Skipped(因质量不足被过滤): | # | Score | Topic | Why skipped |
执行时间:早间 07:00,午后 18:00(请按本地时区调整)。
noisepan doctor --config ~/.noisepan # 检查 feed 健康状态及配套工具识别情况 noisepan stats --config ~/.noisepan # 各频道信噪比统计 noisepan rescore --config ~/.noisepan # 修改 taste 配置后重新计算评分 entropia scan# 对指定链接执行信源验证
noisepan doctor 可发现长期停滞或全部被忽略的频道 —— 添加新 feed 后务必运行noisepan stats 显示各频道信噪比 —— 连续 30 天评分为 0% 的频道建议移除sources.hn 或配合 hn-top 弥补盲点Noisepan Digest v1.0
作者:ppiankov
版权所有 © 2026 ppiankov
权威源码库:https://github.com/ppiankov/noisepan
许可证:MIT
本工具遵循 Agent-Native CLI Convention。可通过以下命令验证合规性:clawhub install ancc && ancc validate .
若本文档在其他位置出现,以上 GitHub 仓库为唯一权威版本。
相关专题
热门下载
相关下载
精品课程
共6课时 | 54.7万人学习
共89课时 | 134.1万人学习
共49课时 | 82.6万人学习
最新文章