What is Linkwarden?
Bookmarks are promises the web keeps breaking - the page moves, changes, or vanishes. Linkwarden fixes that by preserving every save: a screenshot, a PDF, a readable HTML copy, and an archive.org snapshot, alongside collections, tags, and full-text search across all of it.
This template runs the app on a managed Postgres behind a thin proxy (its port is fixed at 3000). Page archiving uses an in-container headless Chromium, so give it about a gigabyte - or flip to a lighter bookmarks-only mode. Archived copies live on the volume.
The case for owning this got made for us: Pocket shut down in 2025 and deleted everyone’s saved articles; Raindrop keeps your library on their servers. Linkwarden keeps both the links and readable copies on infrastructure you control.
What you get
- Auto-preservation: screenshot, PDF, readable HTML, archive.org
- Collections, nested folders, tags, full-text search
- Browser extensions and a mobile app
- Sharing and collaborative collections
- Managed Postgres; archives on the volume
- AGPL-3.0
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
linkwarden | app + archiving (:3000, fixed) | no |
web | nginx :5000 -> linkwarden:3000 | yes |
db | Postgres - managed service on Lyngbak, container locally | no |
Before you deploy
NEXTAUTH_SECRETsession secret
NEXTAUTH_URLthe https domain WITH the /api/v1/auth suffix
Sizing and billing
Archiving runs Chromium - ~1 GiB with it on; set DISABLE_PRESERVATION=true for a lighter bookmarks-only deploy. Archives accumulate on the volume.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 14.77 GiB of volumes cost $0.15 per GiB a month ($2.22/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| Raindrop.io | Pro | Usage-based | ~$28/yr - and Pocket shut down in 2025 with all user data deleted, which is the whole argument for owning your bookmarks |
Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
Why archive pages instead of just saving links?
Because links die: studies put link rot in the double-digit-percent range within a few years. Linkwarden saves a screenshot, PDF, and readable copy at bookmark time, so a 404 later still leaves you the content you actually wanted.
What is the NEXTAUTH_URL gotcha?
It must include the /api/v1/auth path (e.g. https://links.example.com/api/v1/auth), not just the domain - the most common Linkwarden setup mistake. The README and env example both flag it.
Can I make it lighter?
Yes - set DISABLE_PRESERVATION=true to skip the Chromium archiving and run a bookmarks + tags + search service in well under a gigabyte. You lose the saved copies, keep everything else.