你只需享受新闻,剩下交给 Horizon。
📡 构建你专属的 AI 新闻雷达,生成中英双语日报。 | Your own AI-powered news radar.
📖 在线演示 · 📋 配置指南 · English · 日本語
按优先级排序的日报
|
背景、总结与评论
|
More Screenshots
终端输出
|
飞书通知
|
邮件推送
|
好新闻分散在各处,坏信息却源源不断。Horizon 为你先完成第一轮筛选:从 Hacker News、Reddit、Telegram、RSS、Twitter/X、GitHub 和 OpenBB 抓取内容,合并重复新闻,用 AI 打分过滤,并为重要内容补充背景解释和社区讨论。
但 Horizon 不只是又一个摘要工具。AI 很擅长降低噪声,但新闻仍然需要人的品味:你信任哪些信息源,哪些评论改变了你对事件的理解,哪些小众来源值得被更多人看见。Horizon 通过可定制的信息源、筛选标准、模型、语言、分发方式、评论摘要和社区信息源官网,把这层“人味”保留下来。
%%{init: {
"theme": "base",
"themeVariables": {
"fontFamily": "ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif",
"fontSize": "18px",
"primaryTextColor": "#2d2a3e",
"primaryBorderColor": "#e0dbd3",
"lineColor": "#7c7891",
"tertiaryColor": "#faf8f5",
"clusterBkg": "#f3f0eb",
"clusterBorder": "#e0dbd3"
}
}}%%
flowchart LR
classDef config fill:#fbbf24,stroke:#d4a017,color:#2d2a3e,stroke-width:1.5px;
classDef source fill:#ede7fb,stroke:#6d4aaa,color:#2d2a3e,stroke-width:1.5px;
classDef process fill:#ffe8db,stroke:#e0652e,color:#2d2a3e,stroke-width:1.5px;
classDef output fill:#f9d7e5,stroke:#be185d,color:#2d2a3e,stroke-width:1.5px;
config["⚙️ 配置
信息源、阈值、模型、输出方式"]
subgraph sources["已配置的信息源"]
rss["📡 RSS"]
hn["📰 Hacker News"]
reddit["💬 Reddit"]
telegram["✈️ Telegram"]
twitter["🐦 Twitter / X"]
github["🐙 GitHub"]
openbb["💹 OpenBB"]
end
fetch["📥 抓取"]
dedup["🧹 新闻去重"]
score["🤖 AI 打分与过滤"]
enrich["🔎 内容丰富"]
summary["📝 总结生成"]
subgraph outputs["输出形式"]
direction TB
site["🌐 Pages"]
email["📧 邮件"]
webhook["🔔 Webhook"]
mcp["🧩 MCP"]
end
config --> fetch
rss --> fetch
hn --> fetch
reddit --> fetch
telegram --> fetch
twitter --> fetch
github --> fetch
openbb --> fetch
fetch --> dedup --> score --> enrich --> summary
config --> score
config --> summary
config --> outputs
summary --> site
summary --> email
summary --> webhook
summary --> mcp
class config config
class rss,hn,reddit,telegram,twitter,github,openbb source
class fetch,dedup,score,enrich,summary process
class site,email,webhook,mcp output
Horizon 是一个业余时间维护的开源项目。如果你愿意支持这个项目,或希望出现在这里,欢迎创建一个 Issue 或发邮件联系我。
| 支持方 | 说明 |
|---|---|
![]() |
优云智算目前正在支持 Horizon。优云智算是 UCloud 旗下 AI 云平台,主打包月、按次的高性价比国模 Agent Plan 套餐,低至 49 元/月起,同时提供官转稳定海外模型。支持接入 Claude Code、Codex 及 API 调用,支持企业高并发、7*24 技术支持和自助开票。 |
通过其链接注册,可获得 5 元平台体验金。 |
git clone https://github.com/Thysrael/Horizon.git
cd horizon
# 使用 uv 安装(推荐)
uv sync
# 需要测试/开发依赖时
uv sync --extra dev
# 或使用 pip
pip install -e .
当前 dev 在 pyproject.toml 中定义为 optional extra,因此安装 pytest 等开发依赖时应使用 uv sync --extra dev。
如果你要启用可选的 OpenBB 金融新闻源,还需要安装对应 extra:
uv sync --extra openbb
如果 openbb 在你的机器上会拉到缺少 wheel 的依赖,建议改用只安装二进制包:
uv pip install --only-binary=:all: openbb openbb-benzinga
git clone https://github.com/Thysrael/Horizon.git
cd horizon
# 配置环境
cp .env.example .env
cp data/config.example.json data/config.json
# 编辑 .env 和 data/config.json,填入你的 API 密钥和偏好设置
# 使用 Docker Compose 运行
docker compose run --rm horizon
# 或自定义时间窗口
docker compose run --rm horizon --hours 48
方式 A:交互式向导(推荐)
uv run horizon-wizard
向导会询问你的兴趣(如"LLM 推理"、"嵌入式"、"web 安全"),自动推荐并生成 data/config.json,还可选让 AI 补充推荐小众源。若你想分享信息源,请前往 horizon1123.top。
方式 B:手动配置
cp .env.example .env # 添加 API 密钥
cp data/config.example.json data/config.json # 自定义信息源
最小手动配置示例:
{
"ai": {
"provider": "openai",
"model": "gpt-4",
"api_key_env": "OPENAI_API_KEY"
},
"sources": {
"rss": [
{ "name": "Simon Willison", "url": "https://simonwillison.net/atom/everything/" }
]
},
"filtering": {
"ai_score_threshold": 6.0
}
}
均衡日报(可选)
可以限制日报总条数,并避免单一类别占据过多内容。类别
$ claude mcp add Horizon \
-- python -m otcore.mcp_server <graph>