Overview

A personal reading inbox. I share a link from my phone to a Telegram bot; the service fetches the article, groups it with related articles into a story, and writes a summary with an LLM via OpenRouter. Later I ask Claude Code, Claude Desktop, or OpenCode to show me what’s waiting, and they read the stories over MCP. No separate client needed.

Features

  • Save a link by sharing it to the bot from any app on the phone
  • #tags in the message become tags; a line starting with >> becomes my note
  • Replying to the bot’s Saved message adds a note to that article
  • Related articles are merged into one story with a running summary
  • A read story becomes unread again when a new article adds information
  • Keyword search over stories and articles (SQLite FTS5)
  • The bot ignores everyone except me
  • When the OpenRouter credit runs out, summaries pause but saving keeps working

Technical Stack

Platform

  • RHEL 10 home server
  • Rootless Podman container built on Red Hat’s Universal Base Image (UBI)
  • Systemd Quadlet to run it as a service
  • Optional Caddy reverse proxy for HTTPS
  • Multi-arch release image (linux/amd64, linux/arm64, including Raspberry Pi)

Software

  • Rust (edition 2024), one binary
  • tokio for async, teloxide for Telegram, rmcp and axum for the MCP server
  • sqlx with SQLite, compile-time checked queries
  • dom_smoothie for Readability-style article extraction
  • OpenRouter for the model (configurable)

Implementation Details

Three services, one binary

Service Role
Bot Receives links over Telegram (long polling, so no open ports or tunnels)
Worker Fetches pages, summarizes them, and merges them into stories
MCP server Lets agents read and triage the stories at /mcp, behind a bearer token

From link to story

Each article costs two model calls. The first one assigns the article to one of the 50 most recent stories or proposes a new story. The second one compares it with that story and returns what the article adds, the updated summary, and a one-line summary of the article. Every model call is logged with its tokens and cost.

MCP tools

Tool Purpose
list_stories Stories by status, age, tag, or kind (default: unread, last 7 days)
get_story A story’s summary and its articles
get_article One article with its text and my note
search Keyword search over stories and articles
set_story_status Mark a story unread, read, or dropped
list_failed Articles that could not be fetched or summarized
reprocess_article Queue an article again with a fresh retry budget

Failure handling

Model errors fall into three groups: pause the whole queue (credit exhausted, key or model rejected), retry with backoff (timeouts, 429, 5xx), or count a failed attempt for this one article (bad request or unparseable response). Saved links are fetched through a guarded HTTP client that refuses private addresses, so a link can’t reach my home network.

Learning Rust

Claude gave me exercises along the way instead of writing everything. The notes are in the lessons/ directory: ownership and borrowing, strings and options, enums and match, async and Tokio, errors, sqlx, testing, and general advice on getting fluent in Rust.

Current Status

  • Running on my home server
  • v0.1.0 released with a multi-arch container image
  • Works with Claude Code, Claude Desktop (via mcp-remote), and OpenCode

Future Plans

  • Reminders: “You have 7 unread stories; the oldest has been waiting for 8 days”
  • Telegram commands for triage (/unread, /story 12, /read 12, /search)
  • Measure token usage and cost per article
  • Run the MCP server in the cloud so I can reach it from the phone and from claude.ai
  • Multi-user support

Updates

2026-11-25: Documentation and blog post

  • Architecture and future ideas documentation
  • Published the blog post

2026-11-24: Initial Release

  • v0.1.0 with a multi-arch container image published to GHCR

Read the full story about this project