跳到正文
FunCoding

Lion Reader

官方 MCP Registry 已收录

Read, search, star and organize your RSS feeds, newsletters and saved articles.

Star
19
版本
v1.0.1
许可证
MIT
最近提交
2026年12月1日

Lion Reader

One fast, private reader for the sites you follow, your email newsletters, and the articles you save for later. Free, open source (MIT), and self-hostable.

Try the interactive demo (no signup needed) or use the hosted version at lionreader.com.

The Lion Reader entry list

What you can do

  • Follow sites, read newsletters, and save articles in one place. Subscribe to RSS, Atom, and JSON feeds, or paste a site's URL and Lion Reader finds its feed. Newsletters go to a private ingest address, so Lion Reader never needs access to your inbox. Save any page for later from the browser extension, a bookmarklet, your phone's share menu, Discord, or by uploading a document like a PDF or Word file.
  • Read full articles, not teasers. Links from sites like YouTube, arXiv, GitHub, Google Docs, and Bluesky come through complete and readable instead of as a sign-in page or a stub. For feeds that only send a summary, Lion Reader can fetch the full article.
  • Use AI when you want it, and not otherwise. Summarize an article in a click, listen to any article in a natural voice with the current paragraph highlighted, or connect Claude or another assistant over MCP to search, triage, star, and save articles for you. AI features run only when you use them or connect an assistant, and you can use your own API keys.
  • Keep using the apps you like. Lion Reader speaks the Google Reader API (for RSS apps like NetNewsWire or Reeder) and the Wallabag API (for saving from your phone with the Wallabag app). There's also a REST API with an OpenAPI spec at /api/openapi.
  • Move around instantly. New entries appear in the list you're reading without a refresh, navigation renders from cache and refreshes in the background, and typical pages load in under 100ms. See Frontend State for how.
  • All the essentials. Full-text search, tags, starring, keyboard shortcuts (press ?), light, dark, and e-ink themes, OPML import and export, a full-library export, and an installable app (PWA).

An AI summary at the top of an article

Narration in dark mode, highlighting the paragraph being read

Lion Reader on a phone: the entry list in dark mode, and an article in the e-ink theme

Privacy

No ads, no data selling, and no third-party tracking scripts. The hosted site counts page views with cookie-less GoatCounter, recording only the kind of page (an entry list, an article, a settings page), never which list or article, and nothing tied to your account. Self-hosted builds send nothing unless you configure analytics or error tracking.

A feed is fetched once for all its subscribers, but a new subscriber starts with what the feed publishes right now, never older entries Lion Reader kept from someone else's subscription. The privacy policy lists every third-party service and what it receives.

Get the apps

Self-hosting

Lion Reader builds into a Docker image (Dockerfile) and needs PostgreSQL and Redis. It runs on a small VM and scales horizontally: the web app, the background worker (feed fetching, jobs), and the optional Discord bot are separate processes. Features that depend on outside services (OAuth sign-in, AI summaries and narration, newsletter delivery, error tracking) are optional and switch on when you configure them. Metrics are exposed for Prometheus, and logs are structured JSON.

The Deployment Guide walks through a full Fly.io setup, including every setting that hosted lionreader.com uses which you'll want to change.

User Registration

By default, Lion Reader runs in invite-only mode. New users need an invite link to register.

Who may sign up (with or without an invite), the admin secret, and the Mailgun and Turnstile keys for account emails and the signup CAPTCHA are set as the "Signup & Admin" and "Account Emails and Signup CAPTCHA" sections of .env.example describe. Password accounts must verify their email address before using the app, so password signup needs Mailgun; social sign-ins are verified by the provider.

Manage invites through the admin API (each invite is single-use, valid for 7 days):

# Create an invite; response contains inviteUrl
curl -X POST https://your-app/api/trpc/admin.createInvite \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $ALLOWLIST_SECRET" -d '{}'

# List invites with status (pending/used/expired)
curl -X POST https://your-app/api/trpc/admin.listInvites \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $ALLOWLIST_SECRET" -d '{}'

# Revoke an unused invite
curl -X POST https://your-app/api/trpc/admin.revokeInvite \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $ALLOWLIST_SECRET" -d '{"inviteId":"<uuid>"}'

Email Newsletter Subscriptions

Users create ingest addresses in Settings → Email and subscribe to newsletters with them. Each sender becomes a separate feed alongside RSS subscriptions. Unsubscribing uses RFC 2369/8058 List-Unsubscribe headers where available and blocks future emails from the sender.

Inbound email is delivered by Mailgun receiving routes:

  1. Point MX records for your ingest domain at Mailgun and verify the domain
  2. Create a Mailgun route that forwards matching messages to https://your-app/api/webhooks/email/mailgun (enable "Store and notify")
  3. Set INGEST_EMAIL_DOMAIN and MAILGUN_WEBHOOK_SIGNING_KEY (see "Email Newsletters" in .env.example)

The webhook verifies Mailgun's HMAC-SHA256 signature; requests with invalid signatures are rejected.

Development

Stack: Next.js 16 (App Router) and React Query over tRPC, PostgreSQL 18 with Drizzle ORM, Redis 7 for pub/sub and short-lived state, native Rust modules for feed parsing, sanitization, Markdown, and article extraction, and a Kotlin Multiplatform Android app. DESIGN.md covers the architecture and the reasoning behind it; SECURITY.md maps the security-critical code.

Prerequisites

  • Node.js 24+ and pnpm (pnpm downloads the Node version the scripts run on)
  • Rust (cargo) and a C++ compiler, for the native modules
  • Docker and Docker Compose, for local Postgres, Redis and object storage (or run pnpm services, which starts them without Docker, and use the *:local script variants)

Setup

pnpm install
pnpm build:native

# Copy environment variables
cp .env.example .env

# Start Postgres 18, Redis 7 and S3Mock (object storage, which ebook uploads
# need: uncomment the local STORAGE_* settings in .env)
docker compose up -d

# Run database migrations
pnpm db:migrate

# Seed the database with test data (optional)
pnpm db:seed

# Start development server (app, worker, and Discord bot, which idles without a token)
pnpm dev

The app will be available at http://localhost:3000. Connection URLs are configured in .env:

  • Database: postgresql://lionreader:lionreader@localhost:5432/lionreader
  • Redis: redis://localhost:6379

Testing

pnpm typecheck         # Type checking
pnpm lint              # Linting
pnpm test:unit         # Unit tests (fast, no I/O)
pnpm test:integration  # Integration tests (requires Docker services)
pnpm test:e2e          # Playwright browser tests (requires Docker services)

Profiling

Build for production, then run with the flame profiler:

NODE_ENV=production pnpm build:all

# Profile the worker
NODE_ENV=production pnpm dlx @platformatic/flame run --sourcemap-dirs=dist/ dist/worker.js

# Profile the Next.js server
NODE_ENV=production pnpm dlx @platformatic/flame run --sourcemap-dirs=.next/ node_modules/next/dist/bin/next start

Background

Lion Reader is designed and built by Brendan Long, and largely written by Claude. More on how that went: Claude Wrote Me a 400-Commit RSS Reader App and the follow-up, My RSS Reader is Done.

License

MIT

同类 MCP Server

Scrapling MCP Server

Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.

D4D4Vinci/Scrapling107k近 7 天新增 1,982 个 star

官方

Fetch

Fetches web content and converts it to Markdown for an LLM to read

MOmodelcontextprotocol/servers92k近 7 天新增 200 个 star

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

EVevery-app/open-seo29k近 7 天新增 630 个 star

Agent Skills Search Server

Search and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server.

AGagentskills/agentskills28k近 7 天新增 208 个 star

XERJ

The search engine for AI agents: cited answers from your local code, docs, specs and logs.

XExerj-org/xerj23k近 7 天新增 2,746 个 star

精选

Apify

调用 Apify Store 上的现成爬虫,抓取社交媒体、地图和电商数据。

APapify/apify-mcp-server19k近 7 天新增 1,018 个 star