Skip to main content
The Quietletter server is also available as an open-source core (quietletter-core, licensed AGPL-3.0) that you can run yourself. The app connects to it the same way it connects to the hosted service, so what you set up doesn’t depend on any one company staying alive.

What you need

  • Docker with Docker Compose — or Node.js 24.16+ and your own PostgreSQL database (see Without Docker).
  • A domain with HTTPS. The core serves plain HTTP; put it behind a reverse proxy that provides TLS (Caddy, nginx, Traefik…). The app only connects over HTTPS, except to addresses on your local network (localhost, 127.0.0.1, 192.168.x.x, 10.x.x.x, *.local).
  • An SMTP account for outgoing email — it carries your warnings and your recipients’ release links.

Quick start

1

Get the core

Clone the repository and copy the production settings file env/env.prod to .env:
2

Fill in your settings

Generate a strong token (openssl rand -hex 32) and set OWNER_TOKEN — it’s how your app authenticates to your instance. Then replace the remaining REPLACE_ME values: your instance’s public URL, your email for check-in warnings, and your SMTP details. The server won’t start while any REPLACE_ME value is left; to keep mail in the console, leave SMTP_HOST empty.
3

Run it

docker compose up --build -d starts PostgreSQL and the server, applies the database migrations, and begins the check-in sweep. The server listens on port 8080 — point your HTTPS reverse proxy at it.
Configuration, email, backups, upgrades, running without Docker and the full API are covered in Configure, operate & API.

Connect the app

In the app, open Settings → Self-hosted instance (or tap Connect your instance on the sign-in screen) and enter the Instance URL and your Owner token. The app checks that it can reach the instance, signs out of the hosted account on that device, and reloads against your instance — no account needed. The menu then shows your instance’s address. To go back, choose Use the hosted service in the same place and sign in again.
The web app at quietletter.burakov.net runs over HTTPS, so it can’t reach an instance served over plain HTTP, even on your local network. Use HTTPS, or the iPhone / Android app.

How your instance differs from the hosted service

  • One owner, everything unlocked. An instance serves one person — whoever holds the owner token. There are no accounts, plans or limits.
  • Email is the delivery channel. Push and SMS warning steps are only written to the server’s log (you can wire up your own provider). The app’s own reminders before each deadline still work on your device.
  • Warning emails say to open your Quietletter client to check in, rather than linking to the hosted web app.
  • Public pages. An instance can publish a truly public page when a switch fires — a feature the hosted service doesn’t offer. See Configure, operate & API.

Move your switches

Your switches move between the hosted service and your own instance — in either direction — as a single file. See Back up and move your switches.

Continuity

  • Export anytime. You can always export every switch to one file and import it into your own instance — or back — so your setup is never trapped inside one service.
  • If the hosted service ever winds down, you get long advance notice, a final export, and a migration guide to self-hosting.
  • Honest limits. “It outlives any company” is only partly solvable — self-hosting is the real backstop, and an instance is only as reliable as whoever runs it.