---
title: "Deploy Linkwarden"
description: "Linkwarden: self-hosted bookmark manager with web archiving."
category: "Other"
url: https://railway.com/deploy/linkwarden-2
---

# Deploy Linkwarden

Linkwarden: self-hosted bookmark manager with web archiving.

**[Deploy Linkwarden on Railway](https://railway.com/template/linkwarden-2)**

- **Creator:** INAPP
- **Category:** Other
- **Total deploys:** 2

## Template content

### linkwarden

- **Image:** ghcr.io/linkwarden/linkwarden:v2.15.1
- **Public domain:** Yes

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** postgres:16-alpine

## Documentation

# Linkwarden

[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/linkwarden-2)

Collaborative bookmark manager with built-in web archiving against link rot.

Linkwarden is a self-hosted, open-source collaborative bookmark manager that collects, reads, annotates, and fully preserves web content. Every saved page is archived in multiple formats including full HTML, ensuring your bookmarks remain accessible even if the original site disappears — making it both a read-later tool and a personal web archive in one platform.

## Features

- **Full-page preservation** — automatically archives every saved link via Monolith (offline-ready HTML), screenshots, PDFs, and readability-extracted text
- **Read and annotate** — dedicated reader view with highlightable text, adjustable fonts, and inline annotations
- **Multi-user collaboration** — shared collections for teams, families, or research groups with granular role controls
- **AI-powered tagging** — automatic categorization using OpenAI, Ollama, Anthropic, Azure, or other AI providers
- **MeiliSearch full-text search** — fast, accurate search across all saved content including archived page text
- **RSS feed subscriptions** — follow RSS feeds directly in collections with configurable polling intervals
- **Browser extension & mobile apps** — one-click saving from any browser; native iOS/Android apps and PWA support
- **Import/export bookmarks** — supports Netscape HTML bookmark format for migrating from other managers
- **Multiple SSO providers** — GitHub, Google, Keycloak, Azure AD, Auth0, OIDC, and 40+ more login options
- **S3-compatible storage** — optional external file storage via AWS S3 or any compatible provider

## Deploy and Host

Deploy Linkwarden on Railway in one click with a managed PostgreSQL database. The template provisions both services automatically and configures the database connection.

## About Hosting

Linkwarden runs as a Next.js application behind a Railway-generated domain with automatic TLS. The companion PostgreSQL service uses a persistent volume so your data survives restarts and redeploys.

## Why Deploy

Self-hosted bookmark management with full web archiving. Your data stays under your control with no third-party dependency on cloud services.

## Common Use Cases

- Personal bookmark archive with full-page preservation
- Team knowledge base with shared collections
- Research paper and article curation with annotation
- RSS feed aggregation with automatic content archival

## Dependencies for

- Linkwarden v2.15.1
- PostgreSQL 16 (Alpine)

### Deployment Dependencies

- [PostgreSQL 16](https://www.postgresql.org/) — relational database for Linkwarden

## Config

| Name | Description | Required | Default |
|------|-------------|----------|---------|
|| `DATABASE_URL` | PostgreSQL connection string. References the sibling Postgres service's DATABASE_URL so credentials stay in sync. | Yes | `${{Postgres.DATABASE_URL}}` |
| `LINKWARDEN_SECRET_KEY` | Encryption key for session cookies and sensitive data. Auto-generated. | Yes | `${secret(32)}` |
| `NEXTAUTH_SECRET` | Secret for NextAuth.js session encryption. Auto-generated. | Yes | `${secret(32)}` |
| `PORT` | Application port. | No | `8080` |

## Resources

This template includes:

- **Linkwarden v2.15.1** — the application service (`ghcr.io/linkwarden/linkwarden:v2.15.1`)
- **PostgreSQL 16 (Alpine)** — companion database (`postgres:16-alpine`) with persistent volume storage at `/var/lib/postgresql/data`

## License

This project is licensed under the [AGPL-3.0 License](https://github.com/linkwarden/linkwarden/blob/main/LICENSE).


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — [Jul'26] Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/linkwarden-2
