Set up Edition and read your first feed
Install Edition on the computer where you read. You need Git, Docker with the Compose plugin, and an internet connection. Docker builds the Go server and runs its embedded SQLite database; you do not need Go, Node.js, a separate database server, or an AI account.
Prefer to hand installation to an agent? Give it the agent runbook. The Edition repository holds the Compose file, source code, and full configuration reference.
Get a fresh copy
Start Docker on this computer and confirm you are using its local context. Pick a new directory with an unused Compose project name (edition-local below), and start in a shell without COMPOSE_*, EDITION_*, or LUNAROUTE_* overrides from another project. If you already run Edition, leave its checkout, .env, port, and volume alone.
docker compose version &&
git clone https://github.com/obra/edition.git edition-local &&
cd edition-local
Continue only after the clone succeeds. Run the remaining commands from that new directory.
Keep the reader on this computer
The stock compose.yaml publishes port 8080 on all network interfaces (0.0.0.0). Before starting Edition for local-only use, edit compose.yaml: under services.edition.ports, replace the line containing 0.0.0.0 with this loopback mapping and keep it as the only port entry:
- "127.0.0.1:${EDITION_PORT:-8080}:8080"
Leave EDITION_ADDR alone: it controls the listener inside the container. If another service already uses host port 8080, set EDITION_PORT to a free port in .env and substitute that port in the URLs below.
If you plan to serve Edition across a private network or Tailscale tailnet, put an HTTPS reverse proxy (such as tailscale serve) in front of 127.0.0.1:8080 and set EDITION_PUBLIC_URL=https://your-host.example in .env so passkeys and mobile PWA sync work over HTTPS.
Choose whether to use AI
Create a private .env file only if one does not exist:
(umask 077; test -e .env || cp .env.example .env)
Feed reading and Read It Later need no API key. Leave LUNAROUTE_API_KEY blank in .env and unset in your shell; Edition fetches feeds and articles directly from their publishers.
If you want dated Front Page briefings, multi-source story summaries, automatic and custom topics, and archive Previous Coverage, add your LunaRoute key privately to .env. With AI enabled, Edition sends article text to the configured endpoint for embeddings, classification, and summaries (charges may apply depending on your provider). If you add a key later, run docker compose up -d to apply it. Never share or commit .env.
Start Edition and check the database
docker compose up -d --build
docker compose port edition 8080
Expect 127.0.0.1:8080 (or your chosen port). If it prints another address, run docker compose stop and fix the mapping before continuing.
Open http://127.0.0.1:8080/api/health in your browser (health checks stay public even when login is enabled). Confirm both "status":"ok" and "db_ok":true. Zero feeds, articles, and embeddings are normal on a fresh install.
Create your account
Login is enabled by default (EDITION_AUTH_DISABLED=false). Open http://localhost:8080 (using localhost lets browsers treat the tab as a Secure Context if you want to add a local passkey right away; http://127.0.0.1:8080 works for password login).
On the first visit, Edition displays Create your account:
- Enter a username (
1to40letters, numbers, dots, dashes, or underscores) and a password (8to72bytes). - Click Create account. Edition stores a bcrypt password hash in SQLite, signs your browser in with a persistent
HttpOnlysession cookie, and permanently locks first-run onboarding. - Over
https://orhttp://localhost, Edition immediately offers Add passkey so you can sign in with Face ID, Touch ID, 1Password, or a hardware security key. You can add, rename, or remove passkeys anytime under Settings → Account.
If you ever forget your password, reset it from the server checkout without losing any feeds or reading history:
docker compose exec edition edition reset-password
Subscribe and open an article
In the sidebar (open Library on a phone), click Manage feeds, then Add feed. Paste an RSS, Atom, or website URL, for example https://go.dev/blog/feed.atom, into Feed or site URL. Click Find feeds, then Subscribe to The Go Blog (or your chosen feed). You can also click Import OPML to bring over an existing subscription list.
After Subscribed!, close the feed manager. Wait a few seconds for the first poll, then open All Unread (Unread on a phone). Click Full article → or Read full post → beneath an entry (or select its headline in compact view).
If you unsubscribe later, Edition stops polling that feed and preserves its archived articles and bookmarks; unsaved unread items are marked read. You can subscribe again later with the same URL.
Save a link for later
Open Saved, paste any public article URL into Paste a URL to read later..., and click Save. Click + Note first to attach a short reminder. New saves appear at the top, kept separate from your RSS firehose and Mark all as read.
Open Settings → Capture to copy the desktop browser bookmarklet, view the iOS Share Sheet Shortcut recipe, or mint hashed Bearer API tokens. Headless CLI tools can also sign in through the device approval screen at /device.
Stop and return to your feeds
Run docker compose stop to pause Edition and docker compose start to resume. The edition_data named volume holds /data/edition.db, including your account, subscriptions, bookmarks, and reading state. Keep using the same Compose project name. Even docker compose down followed by docker compose up -d preserves the named volume; never run down -v, which deletes it.