freshrss

by QuenchWorks

Helm chartv0.0.6App 1.30.4AGPL-3.0Verified publisher

FreshRSS: a self-hosted RSS and Atom aggregator with multi-user accounts and the Google Reader and Fever APIs. Hardened by QuenchWorks: built from source, nonroot, CVE-gated, cosign-signed and pinned by digest.

About this chart

Quenchworks FreshRSS

Hardened FreshRSS, a self-hosted RSS and Atom aggregator, CVE-gated, cosign-signed and pinned by digest. The image is the release served by php-fpm 8.4 behind a from-source nginx under supervisord, on a nonroot Wolfi base.

Install

helm install freshrss oci://ghcr.io/quenchworks/charts/freshrss --set baseUrl=https://rss.example.com
kubectl port-forward svc/freshrss 8080

Log in as admin with the generated password:

kubectl get secret freshrss -o jsonpath='{.data.password}' | base64 -d
kubectl get secret freshrss -o jsonpath='{.data.api-password}' | base64 -d

An init container sets up the data volume on first start with FreshRSS's CLI (install with SQLite and the APIs on, create the admin user), and on every start applies baseUrl and the admin's passwords from the Secret, so the Secret stays the source of truth. More users can be added in the UI.

Mobile apps

The Google Reader API is at <baseUrl>/api/greader.php (and Fever at <baseUrl>/api/fever.php), with the user name and the API password.

Feed refresh

A refresh sidecar runs app/actualize_script.php for every user every refresh.intervalMinutes (20 by default), as upstream's image does from cron.

Storage

DATA_PATH (/var/www/FreshRSS/data) holds the config, users, SQLite databases and caches, on a PersistentVolumeClaim. One replica with Recreate.

TLS

FreshRSS is served over plain HTTP by nginx. With tls.enabled a caddy sidecar terminates HTTPS on 8443 (Service port service.httpsPort) and proxies to it over localhost. The certificate comes from tls.existingSecret, else a cert-manager Certificate, else a Helm-generated CA (ca.crt in the Secret <fullname>-tls).

Verify the image

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

Values

KeyDefaultDescription
baseUrlhttp://localhost:8080The URL users reach FreshRSS at
admin.useradminAdmin user created on first start
admin.password / apiPassword / existingSecretgeneratedWeb and API passwords
refresh.intervalMinutes20Feed refresh interval
persistence.size5GiThe data volume
service.port8080HTTP Service port
service.httpsPort443HTTPS Service port, only with tls.enabled
tls.enabledfalsecaddy sidecar serves HTTPS on 8443
tls.existingSecret""a kubernetes.io/tls Secret to use (1st choice)
tls.certManager.enabledfalserequest a cert-manager Certificate (2nd choice)
tls.selfSigned.validityDays365otherwise Helm generates a CA + certificate
proxy.image.digest(pinned)the TLS sidecar image

Deploy freshrss with OpenTenant

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