linkwarden

by Ad Noctem Collective

Helm chartv0.6.1App 2.17.0AGPL-3.0Verified publisher

Linkwarden is an open-source collaborative bookmark manager to collect, organize and preserve webpages

About this chart

Ad Noctem Collective - Linkwarden Helm Chart

[!IMPORTANT] This Helm chart relies on the open-source Bitnami Helm chart postgresql. Beginning on August 28th, 2025, Bitnami (VMware/Broadcom) has changed their public offering and will require a commercial license for the use of their charts and images (Bitnami Secure Images/BSI). The only images available to the public as of now are a small set of hardened images which are only available at the 'latest' tag and meant for testing and development purposes. As such, the PostgreSQL subchart included in this Helm chart is provided for convenience, but users are encouraged to use their own PostgreSQL instance, another PostgreSQL Helm chart or (preferably) an Operator-managed PostgreSQL instance like CloudnativePG, if they do not wish to obtain a Bitnami license.

ref: bitnami/charts - Issue 35164

Linkwarden is a self-hosted, open-source collaborative bookmark manager to collect, organize and archive web pages. The objective is to organize useful web pages and articles you find across the web in one place, and since useful web pages can go away (see the inevitability of Link Rot), Linkwarden also saves a copy of each web page as a Screenshot and PDF, ensuring accessibility even if the original content is no longer available.

Additionally, Linkwarden is designed with collaboration in mind, sharing links with the public and/or allowing multiple users to work together seamlessly.

It delivers all of these features within a single Docker image available on the GitHub Container Registry.

Head to the Linkwarden GitHub Repository or their Website for in-depth documentation and configuration guides.

✨ TL;DR

Helm Repository Installation

helm repo add adnoctem https://adnoctem.github.io/charts
helm install linkwarden adnoctem/linkwarden --version X.Y.Z

OCI Installation

helm install oci://ghcr.io/adnoctem/charts/linkwarden:X.Y.Z

Introduction

This chart bootstraps a Linkwarden Deployment on a Kubernetes cluster using the Helm package manager. For cluster networking a Service and Ingress manifest is also created, whereas the Ingress needs to be explicitly enabled. Lastly the chart configures a PodDisruptionBudget if enabled. RBAC manifests are enabled by default.

The chart supports the configuration of all Linkwarden environment variables via the linkwarden key in Helm's values and makes use of the official Docker Hub container image, although this is configurable via the Image Parameters.

Upgrading

To 0.6.0 (Linkwarden 2.16.3 -> 2.17.0)

Linkwarden 2.17.0 adds custom link ordering, faster rendering of large lists, import improvements and security fixes. Custom Order becomes the default sort inside collections; use the sort menu to select date or name ordering instead.

The container automatically runs six new PostgreSQL migrations before starting the application. These include backfilling link order, adding email verification codes and session/rate-limit fields, and removing the unused User.isPrivate column and WhitelistedUser table. Back up both PostgreSQL and archived files before upgrading. Avoid running old and new application versions against the migrating database: stop all old web/worker replicas first (for this chart's Deployment, use strategy.type: Recreate with a single replica during the upgrade). Large libraries may need a longer startup-probe budget and Helm timeout while link order is backfilled. Rolling back the Helm release does not undo these migrations; restore the pre-upgrade database backup together with the old application version. The older manual migration below still applies to upgrades from 2.6.0 or earlier.

  • Email verification now uses a six-digit code instead of a sign-in link.
  • Changing a password signs out other devices and revokes access tokens; resetting a forgotten password signs out all devices. Reauthenticate browser extensions and integrations such as Floccus and replace their revoked tokens afterwards. Repeated incorrect passwords are now rate-limited.
  • NEXT_PUBLIC_MOBILE_APP_REDIRECT_ENABLED has been removed upstream. Remove it from extraEnvVars if configured; the optional automatic mobile-app redirect is no longer available.
  • Optional custom AI prompts use AI_GENERATE_TAGS_PROMPT, AI_PREDEFINED_TAGS_PROMPT and AI_EXISTING_TAGS_PROMPT through extraEnvVars, consistent with the chart's existing AI-provider escape hatch. See the upstream custom-prompt documentation for supported placeholders. Ports, storage paths and existing chart values otherwise remain unchanged.

To 0.5.1 (Linkwarden 2.16.2 -> 2.16.3)

Linkwarden 2.16.3 improves the performance of link, search, tag, collection and dashboard queries at scale. The container base moves from Debian Bullseye to Bookworm; there are no changes to the chart's environment variables, ports or volume paths, and no new database migration files in this release. Existing chart values remain compatible. The older migration instructions below still apply when upgrading from Linkwarden 2.6.0 or earlier.

To 0.5.0 (Linkwarden 2.5.3 -> 2.16.2)

[!WARNING] If you're upgrading from 2.6.0 or earlier (which includes every install of this chart prior to 0.5.0, since the previous default was 2.5.3), you must run a one-time migration script after the new pod is up, or some preserved formats may become inaccessible:

kubectl exec -n <namespace> \
  "$(kubectl get pods -n <namespace> \
     -l app.kubernetes.io/name=linkwarden,app.kubernetes.io/instance=<release-name> \
     -o jsonpath='{.items[0].metadata.name}')" \
  -- node scripts/migration/v2.6.1/index.js

This only needs to run once, regardless of how many versions you're skipping.

This is a large range covering many Linkwarden releases. The items below cover what's relevant to this chart and its configuration - review the full release history for anything affecting your own usage.

  • CVE-2026-42455 (High, stored XSS via archive upload) affects <= 2.14.0. There's no single release explicitly tagged as the fix, but 2.15.0's "we strongly recommend updating" security-hardening release is the effective remediation point - the target version is well past it.
  • Fixed a bug where configuring more than one linkwarden.auth.sso provider at the same time broke the chart outright (a Helm template whitespace-trimming issue caused two providers' rendered YAML to run together into one invalid line) - this has likely never worked correctly for any multi-provider SSO setup.
  • Fixed the bungie and fusionauth SSO providers, which have never actually received their required apiKey/tenantId value - the Kubernetes Secret held it, but the Deployment never wired it through as an environment variable.
  • Added support for the authelia, azure_ad, azure_ad_b2c, and synology SSO providers, and for Linkwarden's generic OIDC provider (oidc) added upstream in 2.15.0 - see the commented examples in values.yaml for the extra fields each of these needs (wellKnownUrl, tenantId, tenantName/primaryUserFlow, scopes).
  • Added extraEnvVars for setting any of Linkwarden's many other environment variables that don't have a dedicated value - most notably the AI tagging providers added across this range (local tagging via Ollama in 2.9.0, external providers - OpenAI, Azure, Anthropic, OpenRouter, Perplexity - in 2.10.0+), the memory-tuning knobs added in 2.15.0 (DISABLE_BROWSER, MALLOC_ARENA_MAX, NODE_OPTIONS, ARCHIVE_TAKE_COUNT), and the user-content-domain isolation feature added in 2.14.1 (NEXT_PUBLIC_USER_CONTENT_DOMAIN, combined with ingress.extraHosts if you want it on a separate hostname).
  • The image can now run as a non-root user (2.16.1) - set podSecurityContext.fsGroup and securityContext.runAsUser to the same UID (see the commented example in values.yaml) to take advantage of this; existing PVC data must have its ownership updated to match if you enable this after an initial install.
  • Corrected the artifacthub.io/license annotation: Linkwarden is licensed AGPL-3.0, not MIT as previously listed.

Parameters

Image parameters

NameDescriptionValue
image.registryThe Docker registry to pull the image fromghcr.io
image.repositoryThe registry repository to pull the image fromlinkwarden/linkwarden
image.tagThe image tag to pullv2.17.0
image.digestThe image digest to pull""
image.pullPolicyThe Kubernetes image pull policyIfNotPresent
image.pullSecretsA list of secrets to use for pulling images from private registries[]

Name overrides

NameDescriptionValue
nameOverrideString to partially override linkwarden.fullname""
fullnameOverrideString to fully override linkwarden.fullname""

Linkwarden configuration parameters

NameDescriptionValue
linkwarden.replicasThe number of Linkwarden replicas (pods) to deploy1
linkwarden.domainThe domain name to assign to Linkwarden, to be reused as the NextAuth URL and""
linkwarden.nextAuthSecret.valueA secret string to encrypt JWTs and hash email verification tokens""
linkwarden.nextAuthSecret.existingSecret.nameThe name of an existing secret containing the secret string""
linkwarden.nextAuthSecret.existingSecret.keyThe key within before mentioned secret containing the actual string""
linkwarden.paginationTakeCountThe number of links to fetch every time you reach the bottom of the web page20
linkwarden.autoscrollTimeoutThe amount of time to wait for the web page to be archived (in seconds).30
linkwarden.rearchiveLimitAdjusts how often a user can trigger a new archive for each link (in minutes).5
linkwarden.maxFileSizeOptionally set a maximum file size""
linkwarden.maxLinksPerUserOptionally set the maximum amount of links a single user can create""
linkwarden.archiveTakeCountOptionally set the number of archives to fetch""
linkwarden.browserTimeoutOptionally set timeout duration for the browser""
linkwarden.ignoreUnauthorizedCAOptionally ignore un

Deploy linkwarden with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has linkwarden on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartlinkwarden is pinned at v0.6.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply