Self-host a Hub
A Hub does one thing: it relays ciphertext between your devices. It cannot see the content, so where it runs does not change who can read your data.
The official Hub is used by default: it only stores and forwards ciphertext and cannot read it. You can also run your own; the deployment bundle is in the repository.
1Get the deployment bundle
The bundle is in the repository under hub/deploy: container orchestration, a service unit for running without containers, and a description of every setting.
2Prepare a machine with a public address
Give it a domain name. Devices need to reach it through two entrances:
| Entrance | Purpose | Requirement |
|---|---|---|
| 443 / TCP | login, ciphertext sync and relaying | may sit behind a tunnel or a reverse proxy |
| 7842 / UDP | helps devices find a direct path to each other | must be reachable directly; without it sync still works, entirely relayed by the Hub |
3Start it and check
Follow the bundle's instructions: fill in the address devices will use to reach it, then start it. The differences between the three entrance setups are described there too. Once it is running, confirm it is online:
Replace the address with your Hub:
curl -fsS https://hub.example.com/healthz4Point your devices at it
qz login --hub https://hub.example.comLog every device in to it, then pair them as described in More devices.
License
The Hub is licensed AGPL-3.0-only. Everything else is Apache-2.0.