convertx

by QuenchWorks

Helm chartv0.0.2App 0.20.0AGPL-3.0-onlyVerified publisher

ConvertX: self-hosted file converter for images, video, audio and office documents, with the first account claimed at install. Hardened by QuenchWorks: built from source, CVE-gated, cosign-signed and pinned by digest.

About this chart

Quenchworks ConvertX

Hardened ConvertX: a self-hosted file converter with a web UI for images, video, audio and office documents. The image compiles the Bun app from source and carries ImageMagick, GraphicsMagick, FFmpeg, LibreOffice, libheif, libjxl, Poppler and Potrace from Wolfi; converters whose tools Wolfi does not package (pandoc, Inkscape, Calibre and others) are left out of the UI. It runs as uid 1001 on a read-only root filesystem and is CVE-gated at build, cosign-signed and pinned by digest.

Upstream lets the first visitor register the first account. This chart claims it with a post-install Job instead.

Install

helm install convert oci://ghcr.io/quenchworks/charts/convertx --set [email protected] \
  --set ingress.enabled=true --set 'ingress.hosts[0].host=convert.example.com' \
  --set 'ingress.tls[0].hosts[0]=convert.example.com' --set 'ingress.tls[0].secretName=convert-tls'
kubectl get secret convert-convertx -o jsonpath='{.data.password}' | base64 -d

Configuration

KeyDefaultWhat it does
auth.email, auth.password[email protected], generatedThe first account, claimed by the Job
auth.existingSecret""A Secret with password and jwt-secret instead
accountRegistrationfalseLet more people register
httpAllowedfalseAllow sign-in over plain HTTP (cookies lose the Secure flag)
autoDeleteEveryNHours24Delete finished conversions after this many hours (0 keeps them)
settings{}More ConvertX settings (MAX_CONVERT_PROCESS, FFMPEG_ARGS, LANGUAGE)
persistence.size10Gi/app/data: the database, uploads and converted files
resources.limits4 CPU, 4GiLibreOffice and FFmpeg conversions are heavy

Verify the image

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

Deploy convertx with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has convertx 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 chartconvertx 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