# Horizon
**Repository Path**: sanjuan/Horizon
## Basic Information
- **Project Name**: Horizon
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2026-02-27
- **Last Updated**: 2026-02-27
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# ๐
Horizon
**AI curates the tech news. You just read.**
[](https://www.python.org/downloads/)
[](LICENSE)
[](https://github.com/astral-sh/uv)
[](https://thysrael.github.io/Horizon/)
[](https://github.com/Thysrael/Horizon/commits/main)
[](http://makeapullrequest.com)





Horizon collects news from multiple customizable sources, uses AI to score and filter them, and generates a daily briefing โ complete with summaries, community discussions, and background explanations in both English and Chinese.
[๐ Live Demo](https://thysrael.github.io/Horizon/) ยท [๐ Configuration Guide](https://thysrael.github.io/Horizon/configuration) ยท [็ฎไฝไธญๆ](README_zh.md)
## Screenshots
|
Daily Overview
|
News Detail
|
Terminal Output
## Features
- **๐ก Multi-Source Aggregation** โ Collects from Hacker News, RSS feeds, Reddit, Telegram channels, and GitHub (releases & user events)
- **๐ค AI-Powered Scoring** โ Uses Claude, GPT-4, Gemini, DeepSeek, Doubao, or any OpenAI-compatible API to rate each item 0-10, filtering out the noise
- **๐ Bilingual Summaries** โ Generates daily reports in both English and Chinese
- **๐ Content Enrichment** โ Searches the web to provide background knowledge for unfamiliar concepts
- **๐ฌ Community Voices** โ Collects and summarizes discussions from comments on HackerNews, Reddit, etc.
- **๐ Cross-Source Deduplication** โ Merges duplicate items from different platforms automatically
- **๐ฐ Static Site Generation** โ Deploys as a GitHub Pages site via GitHub Actions, updated on a schedule
- **โ๏ธ Fully Configurable** โ Single JSON config file, easy to customize sources, thresholds, and AI providers
## How It Works
```
โโโโโโโโโโโโ
โ Hacker โ
โโโโโโโโโโโ โ News โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ
โ RSS โโโโถโ Reddit โโโโถโ AI Score โโโโถโ Enrich โโโโถโ Summary โ
โ Telegramโ โ GitHub โ โ & Filter โ โ & Search โ โ & Deploy โ
โโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ
Fetch from Merge & Score Web search Generate
all sources deduplicate 0-10 each background Markdown &
& filter knowledge deploy site
```
1. **Fetch** โ Pull latest content from all configured sources concurrently
2. **Deduplicate** โ Merge items pointing to the same URL across different platforms
3. **Score** โ AI rates each item 0-10 based on technical depth, novelty, and impact
4. **Filter** โ Keep only items above your configured threshold (default: 6.0)
5. **Enrich** โ For high-scoring items, search the web for background context and collect community discussions
6. **Summarize** โ Generate a structured Markdown report with summaries, tags, and references
7. **Deploy** โ Optionally publish to GitHub Pages as a daily-updated static site
## Quick Start
### 1. Install
```bash
git clone https://github.com/Thysrael/Horizon.git
cd horizon
# Install with uv (recommended)
uv sync
# Or with pip
pip install -e .
```
### 2. Configure
```bash
cp .env.example .env # Add your API keys
cp data/config.example.json data/config.json # Customize your sources
```
Here's what a config looks like:
```jsonc
{
"ai": {
"provider": "openai", // or "anthropic", "gemini", "doubao"
"model": "gpt-4",
"api_key_env": "OPENAI_API_KEY",
"languages": ["en", "zh"] // bilingual output
},
"sources": {
"hackernews": { "enabled": true, "fetch_top_stories": 20, "min_score": 100 },
"rss": [
{ "name": "Simon Willison", "url": "https://simonwillison.net/atom/everything/" }
],
"reddit": {
"subreddits": [{ "subreddit": "MachineLearning", "sort": "hot" }],
"fetch_comments": 5
},
"telegram": {
"channels": [{ "channel": "zaihuapd", "fetch_limit": 20 }]
}
},
"filtering": {
"ai_score_threshold": 6.0,
"time_window_hours": 24
}
}
```
For the full reference, see the [Configuration Guide](docs/configuration.md).
### 3. Run
```bash
uv run horizon # Run with default 24h window
uv run horizon --hours 48 # Fetch from last 48 hours
```
The generated report will be saved to `data/summaries/`.
### 4. Automate (Optional)
Horizon works great as a **GitHub Actions** cron job. See [`.github/workflows/daily-summary.yml`](.github/workflows/daily-summary.yml) for a ready-to-use workflow that generates and deploys your daily briefing to GitHub Pages automatically.
## Supported Sources
| Source | What it fetches | Comments |
|--------|----------------|----------|
| **Hacker News** | Top stories by score | Yes (top N comments) |
| **RSS / Atom** | Any RSS or Atom feed | โ |
| **Reddit** | Subreddits + user posts | Yes (top N comments) |
| **Telegram** | Public channel messages | โ |
| **GitHub** | User events & repo releases | โ |
## Roadmap
- [x] Multi-source aggregation (HN, RSS, Reddit, Telegram, GitHub)
- [x] AI scoring with multiple providers
- [x] Bilingual summary generation (EN/ZH)
- [x] Web search for background enrichment
- [x] Community discussion collection
- [x] GitHub Pages deployment
- [ ] Email / Slack / Webhook notification
- [x] Web UI dashboard
- [ ] More source types (Twitter/X, Discord, etc.)
- [ ] Custom scoring prompts per source
## Contributing
Contributions are welcome! Feel free to open issues or submit pull requests.
## License
[MIT](LICENSE)