/ self-hosting ← all documentation

Hosting, self-hosting and the verified list

Where the official instances run, how to stand up your own on a Linux box with Docker, and what the word "verified" next to a server actually means.

1. Hosting

Three deployments, one protocol:

HostWhat runs there
api.getyap.devyap-api: Cloudflare Worker, SQLite Durable Object, no origin server. Cloudflare terminates TLS and runs the code, so it sees what any server sees.
getyap.devGitHub Pages for the site, with the yap-panel Worker on developer.getyap.dev and app.getyap.dev.
docs.getyap.devyap-docs: this page, static assets only.

Worker vars: API_BASE, API_HOST, plus PANEL_SECRET (a secret, 32 random bytes base64url, sealing the session cookie) and, for voice, TURN_KEY_ID / TURN_KEY_API_TOKEN. Without PANEL_SECRET every panel request answers 500 rather than issuing unsealed cookies.

2. Self-hosting

Point a domain at a Linux box with Docker, then:

git clone https://github.com/foreski/Yap
cd Yap/deploy
YAP_DOMAIN=chat.example.com docker compose up -d

Caddy fetches a TLS certificate and keeps no request logs; data lives in the yap-data volume as one SQLite file. Useful flags: --max-accounts-per-ip, --trust-proxy (the Docker image sets it, behind Caddy), --voice-direct, --bind, --db.

The server is public (AGPL-3.0-only); the client, the Worker and the hosted service are not. The repository goes public with the first stable release, so the git clone above does not work yet.

3. Verified servers

The product page lists servers we have loaded ourselves. A listing is dated, and the checks behind it are:

curl -sS https://HOST/api/v1/health            # expect: ok
curl -sS -o /dev/null -w '%{http_code}\n' https://HOST/gateway   # expect: 426

It is not an audit, not a privacy guarantee and not an uptime promise. To add a server, send the address, its operator and where it is hosted to the site repository; it is checked before it appears, and the date on the card is the day it was checked.

Updated . Yap technical documentation is part of the documentation index; the product itself is at getyap.dev.