Documentation
How to get the app, run a server, list it on Flaq Connect, and keep it going.
Getting started
What is FlaqPrivate messaging you run yourself, end-to-end encrypted: the four parts, what the server can and can't see, and what exists today.
Get the appDownload the Flaq desktop app for Linux as an AppImage, make it executable, and let an AppImage updater keep it up to date from flaq.dev.
Join a serverAdd a server to the app by its address, an invite link or its name on a Connect, then create an account or sign in. One app holds any number of servers.
Make an account on Flaq ConnectNo server of your own? Make an account at connect.flaq.dev, confirm your email, and join any server that accepts accounts from it.
Running a server
Install the serverRun the Flaq Messaging Server with Docker Compose: download and configure it, choose how people reach it, run the setup wizard and bring in the first people.
With your own domainServe the Messaging Server at its own address over HTTPS: DNS, a reverse proxy such as Caddy or nginx, and the TRUST_PROXY, SESSION_COOKIE_SECURE and PUBLIC_URL settings.
At home with ConnectRun the server at home with no domain and no certificate: the gate on UDP 4433, setup over localhost, listing on Flaq Connect, and invite links that decide who learns your address.
The admin consoleWhat each page of the admin console at /admin does: Overview, People, Server settings with sign-up, limits and email, Flaq Connect, and Security.
Backups and updatesWhat to back up (the database and the flaq-data volume with server-key.pem), how to update with docker compose pull, and the stable and beta channels.
Connect and the relay
Run a ConnectRun a Flaq Connect of your own: what it keeps and what it never sees, setting it up with Docker Compose, its console, running it behind a reverse proxy, and home accounts with email.
Run a relayHide a home server's address with Flaq Relay: what the relay sees, setting one up on a VPS with access keys and monthly allowances, and turning it on in the admin console.
CertificatesGet a Let's Encrypt certificate for Flaq Connect or Flaq Relay with certbot, and a deploy hook that hands each renewal to the container and restarts it.
Accounts and security
Accounts across serversEvery Flaq account has a handle and a home. Sign in once at your home, join other servers that accept it, and keep one security code everywhere.
Moving your accountMove your Flaq account to another home, a server or a Connect, from App settings. Your keys, security code and servers come with it, and each server follows your new handle.
How encryption worksA plain-language account of Flaq's end-to-end encryption: keys from your password, the key backup, what the server never sees, history for newcomers, resets, and the limits.
Security codesCompare a security code with someone to be sure their keys are really theirs: how to compare, what verified means, and the difference between a warning and the change after a reset.
Reference
SettingsEvery environment setting of the Messaging Server, Flaq Connect and Flaq Relay, with its default and what it does, and the two settings the desktop app reads.
The APIAn orientation to Flaq's HTTP and WebSocket API for people building clients or scripts: finding a server, derived sign-in and bearer tokens, the main routes, and live events.
TroubleshootingWhat the usual errors mean and how to fix them: the server and its console, the apps, Flaq Connect, the relay and certificates.