█

AI/TLDR

Buy me a coffee
Buy me a coffee

Horizon

Self-hosted AI news radar that turns your feeds into a scored daily briefing

News & Trend MonitoringOpen source
Language
Python
License
MIT
$git clone https://github.com/Thysrael/Horizon.git
IN SHORT

What is Horizon?

Horizon is a self-hosted, AI-powered news radar. It sits in the News & Trend Monitoring category of the AI Productivity & Writing tools and is open-source, written in Python and licensed MIT. To get started: clone and install.

Overview

Horizon is a self-hosted, AI-powered news radar. It collects items from the sources you follow — RSS and Atom feeds, Hacker News, Reddit, Telegram channels, X timelines and searches, GitHub events and releases, OpenBB financial news, OSS Insight trending repositories, GDELT and Google News — then filters, deduplicates and ranks them, and writes a daily briefing in English and Chinese with context and a summary of the community discussion.

A Horizon daily briefing overview: 16 items selected from 38, listed as headlines with orange AI scores from 9.0 down to 7.0.
The ranked daily overview: what was selected and the score each item got.Horizon README ↗

What it keeps and how it writes about it is set by profiles. A profile is a reusable set of editorial rules in Markdown prompts and JSON block definitions: what belongs, what is worth keeping, and what to write. The built-in `tech-news` profile adds impact and discussion to news events, `tech-blog` pulls out background, solution and takeaways from engineering posts, and `ai-creator` adds hooks and content angles. Each source can be pinned to a profile or left to the model to route, and per-profile score thresholds, topic deduplication and per-category caps keep one busy topic from crowding out the rest.

Horizon architecture diagram: ten sources feed collect, route, analyze, enrich and render stages driven by profiles, delivering to Markdown, GitHub Pages, email, WeChat and webhooks.
Sources flow through profile-driven stages to every delivery channel.Horizon README ↗

The pipeline runs from the `horizon` CLI, from Docker, or on a schedule through a GitHub Actions template, and its stages are also exposed as an MCP server so an assistant can drive them. Briefings land as Markdown files and can be published to a GitHub Pages site, mailed to subscribers over SMTP/IMAP, sent to WeChat, or pushed through webhooks to Feishu/Lark, DingTalk, Slack, Discord or a custom endpoint. It works with OpenAI, Gemini and other providers configured in `data/config.json`. The project is written in Python and MIT-licensed.

What it does

  • Ten source types, from RSS, Hacker News and Reddit to Telegram, X, GitHub, OpenBB, OSS Insight, GDELT and Google News
  • Profiles that define scoring rubrics, thresholds and the output blocks for each kind of content
  • Topic deduplication and per-category limits for a balanced briefing
One item in a Horizon briefing with its score, a summary, a Background section, a references box, a Discussion summary and tags.
Each selected item gets context, references and a summary of the discussion.Horizon README ↗
  • Optional web-researched background and summaries of community comments
  • Bilingual English and Chinese briefings as Markdown, GitHub Pages, email, WeChat or webhooks
  • Interactive setup wizard, MCP server and an installable agent skill

Getting started

Horizon is installed from a clone with uv (or pip) or run with Docker; a wizard writes the config for you.

Clone and install

bashbash
git clone https://github.com/Thysrael/Horizon.git
cd Horizon
uv sync

Generate a config with the wizard

The wizard asks about your interests and writes `data/config.json`. To configure by hand instead, copy `.env.example` to `.env` and `data/config.example.json` to `data/config.json`.

bashbash
uv run horizon-wizard

Point it at a model and a source

`api_key_env` names the environment variable that holds the key (put the key itself in `.env`). A minimal config with one RSS source:

jsonjson
{
  "ai": {
    "provider": "openai",
    "model": "gpt-4",
    "api_key_env": "OPENAI_API_KEY"
  },
  "sources": {
    "rss": [
      {
        "name": "Simon Willison",
        "url": "https://simonwillison.net/atom/everything/",
        "profile": "tech-news"
      }
    ]
  }
}
Horizon's terminal output fetching from GitHub, Hacker News, RSS, Reddit and Telegram, analysing 34 items with AI and enriching the 18 that scored at least 6.0.
A run in the terminal: fetch, analyse, score, enrich.Horizon README ↗

Run a briefing

`--hours` sets how far back to fetch (default 24). The report is saved to `data/summaries/`.

bashbash
uv run horizon --hours 24
# or with Docker
docker compose run --rm horizon

Automate it

Enable the daily GitHub Actions template by configuring `.github/workflows/daily-summary.yml.disabled` and renaming it to `daily-summary.yml`, or let an assistant set Horizon up with the agent skill (needs Node.js 22.20+).

bashbash
npx skills add Thysrael/Horizon --skill horizon -g

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • A personal morning briefing from the feeds, subreddits and channels you already follow
  • A team digest pushed to Slack, Feishu or DingTalk instead of everyone scanning Hacker News
  • Publishing a daily curated news site on GitHub Pages
  • Letting an AI assistant run collection and summarisation stages over MCP

How Horizon compares

Horizon alongside other open-source news & trend monitoring tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
World Monitor★ 91.4kSelf-hostable situational-awareness dashboard that aggregates global news, geopolitical and market feeds into AI-synthesized briefs, with an MCP server and CLI for agents.
TrendRadar★ 64kSelf-hosted hot-topic and RSS monitor that uses an LLM to score headlines against interests you describe in plain language, then pushes briefs to WeChat, Telegram, Slack and email.
Horizon★ 15.5kSelf-hosted AI news radar that turns your feeds into a scored daily briefing
Open Scouts★ 1.4kSelf-hostable app from Firecrawl for AI scouts: plain-language queries that search and scrape the web on a schedule and email you when they find new results.