Project: Reading List
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. ...