calibre-web

by QuenchWorks

Helm chartv0.0.2App 0.6.27GPL-3.0-onlyVerified publisher

Calibre-Web: browse, read and download an ebook library kept in a Calibre database, with the admin password from a generated Secret (never admin123). Hardened by QuenchWorks: built from source, CVE-gated, cosign-signed and pinned by digest.

About this chart

Quenchworks Calibre-Web

Hardened Calibre-Web: browse, read and download an ebook library kept in a Calibre database, with users, shelves and an OPDS feed. The image runs the app from source in a Python venv over Wolfi's native packages, as uid 1001 on a read-only root filesystem; it is CVE-gated at build, cosign-signed and pinned by digest.

Upstream creates admin / admin123 on the first start. This chart's init container sets the admin password from a generated Secret before every start.

Install

helm install books oci://ghcr.io/quenchworks/charts/calibre-web \
  --set library.existingClaim=my-calibre-library \
  --set ingress.enabled=true --set 'ingress.hosts[0].host=books.example.com' \
  --set 'ingress.tls[0].hosts[0]=books.example.com' --set 'ingress.tls[0].secretName=books-tls'
kubectl get secret books-calibre-web -o jsonpath='{.data.password}' | base64 -d   # sign in as admin

On first sign-in, set the library location to /books.

Configuration

KeyDefaultWhat it does
auth.username, auth.passwordadmin, generatedThe account the init container sets before every start
auth.existingSecret""A Secret with key password instead
persistence.size1Gi/config: settings, users and logs
library.existingClaim""A claim holding your Calibre library, mounted at /books
library.size20GiThe chart's own library volume when no claim is given
ingress.*offCalibre-Web has no TLS listener here: terminate TLS at the Ingress

A password changed in the UI is reset on the next start: change auth.password instead. Ebook conversion (Calibre's ebook-convert) is not in the image.

Verify the image

cosign verify ghcr.io/quenchworks/images/calibre-web \
  --certificate-identity-regexp 'https://github.com/quenchworks/.+' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Deploy calibre-web with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has calibre-web 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 chartcalibre-web is pinned at v0.0.2 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