The relay is deliberately small and stateless. Running your own means your traffic never touches ours — and the page you are reading is served by the relay itself, so you can see what you would be running.
git clone https://github.com/FluffyHorizon1/z-messanger
cd z-messanger/server
docker compose up -d
Then in the app: Settings → Developer mode → relay address, and enter
wss://your-host. Anyone you talk to needs to be reachable
through the same relay, so point your contacts at it too.
QUEUE_TTL_HOURS
(72 by default), per envelope. A restart drops it — the relay's own
restart on a single instance, or the shared store's where several
instances coordinate through one (render.ha.yaml), which is
why a relay redeploy there no longer loses what is in flight./health reports liveness and /metrics exposes
aggregate delivery counters only — no per-user data.Z is source-available, not open source: personal self-hosting is expressly permitted, and commercial use or redistribution needs written permission. The licence is in the repository.