Deploy Horizon

AI news radar: daily LLM-curated briefings from HN, RSS, Reddit and more

Deploy Horizon

/app/data

Deploy and Host Horizon on Railway

Horizon is an open-source (MIT) AI news radar. It collects stories from Hacker News, RSS feeds, Reddit, Telegram channels, GitHub and other sources, has an LLM of your choice score, filter, de-duplicate and summarise them, and writes one daily Markdown briefing with background and context for each story that matters.

About Hosting Horizon

Horizon is a Python program that runs once and exits, so this template wraps it in a small always-on service. A scheduler runs Horizon on first boot and then daily at HORIZON_RUN_AT (UTC). A web UI behind a login (user admin, generated password in HORIZON_PASSWORD) shows the briefings, lets you edit config.json (validated before saving) and starts a run on demand. Configuration, briefings and run logs live on a Railway volume at /app/data, so they survive redeploys and updates. You bring an API key for OpenAI, Anthropic, Gemini, DeepSeek, Qwen or any OpenAI-compatible endpoint. A run uses well under 0.5 GB of RAM.

Common Use Cases

  • A daily, AI-curated digest of Hacker News, tech blogs and subreddits instead of checking each site
  • Tracking a field (AI, security, finance, a programming language) across RSS feeds, GitHub releases and Telegram channels
  • Feeding a team chat with one daily briefing through Horizon's webhook delivery (Slack, Discord, Feishu)

Dependencies for Horizon Hosting

  • An API key for an LLM provider (OpenAI by default; Anthropic, Gemini, DeepSeek, Qwen, Doubao, MiniMax or any OpenAI-compatible endpoint)
  • A Railway volume for /app/data (included in the template)

Deployment Dependencies

Implementation Details

The template deploys one service, Horizon, built from aalfath/horizon-railway-template. Upstream publishes no releases or images, so the Dockerfile builds a pinned upstream commit on a digest-pinned python:3.11-slim base with upstream's locked dependencies. The service has a public HTTPS domain, a health check on /healthz and a volume at /app/data.

Variables you set at deploy time:

  • LLM_API_KEY (required): your provider's API key
  • LLM_PROVIDER (default openai), LLM_MODEL (empty means the provider's default, gpt-4.1-mini for OpenAI) and LLM_BASE_URL (optional OpenAI-compatible endpoint)
  • HORIZON_PASSWORD is generated; HORIZON_RUN_AT defaults to 07:00 UTC

After deploying: copy HORIZON_PASSWORD from the service's Variables tab, open the public URL and sign in as admin. The first briefing appears after a few minutes (see Run log). Open Config to add your own sources, change score thresholds or add "zh" to ai.languages for a Chinese edition, then press Run Horizon now. Each run sends every collected story to your LLM, so cost grows with the number of sources.

Updates: the template builds from its GitHub repository, so Railway shows an "update available" notice when a new Horizon version is merged there. Read the repository's CHANGELOG.md before applying it. Your config and briefings stay on the volume.

Why Deploy Horizon on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Horizon on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
117
View Template
Weaviate
Vector database with hybrid search and an API key-protected API

GitHub Locker
1
View Template
Möbius Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

Tracklayer
1