Channels and messages
Public and private channels with topics and pins, direct and group messages, and a note to yourself.
Flaq 1.0 is in beta. Try it and tell us what breaks. Release notes →
Channels, direct messages and threads for any group, end-to-end encrypted. Run the server on your own domain, or at home with no domain at all.
What it does
Flaq has the conversations people expect from a modern chat app, and the server they run on can't read any of them.
Public and private channels with topics and pins, direct and group messages, and a note to yourself.
Reply in a thread without crowding the channel. React with emoji, including your server's own.
Pictures, documents and anything else, encrypted on your device before they are uploaded.
Find messages by words, people, channels and dates. Words are indexed as hashes the server can't reverse.
Compare a short code in person to be sure you are talking to the right person, once for every server you share.
For every message, mentions and direct messages, or nothing. Presence, status and Do Not Disturb.
Sign in to the servers of your family, your club and your friends side by side, each with its own icon.
The apps and the servers carry their text in translation catalogs, and dates and numbers follow each reader.
How it works
Run only the parts you need. A server with its own domain needs nothing but itself.
Keeps a group's encrypted messages and files and passes them on live. Docker, PostgreSQL and Redis, with an admin console in the browser. Install it
Where people read and write, and the only place messages are ever readable. The desktop app for Linux today; phones next. Get the app
An optional directory for servers without a domain, such as one at home. It helps apps find them and never carries a message. How it works
Optional too: passes a home server's traffic through a machine you choose, so nobody learns its home address. Run a relay
Self-hosted first
Flaq is made to be run by the people who use it. Nothing depends on a service of ours.
With your own domain, the server runs behind your reverse proxy like any web app, and people add it by its address. No Flaq Connect, no relay, nothing else involved.
At home with no domain, the server lists itself on a Flaq Connect and shares an invite link. Apps find it and connect to it directly, through a forwarded port, IPv6 or by punching through both routers. Connect sees who asks for which server; it never sees a message, and only people with an invite link learn where the server is.
Anyone can run a Connect or a relay. connect.flaq.dev is ours, and the apps use it unless you add another.
One account, many servers
Every account has a handle, @you@your-home, and belongs to the server it was made on: its home.
Sign in at your home and the app signs you in to every server you joined with that account. A server that accepts accounts from your home lets you join with your handle, without a new password. Your security code is the same on every server, so verifying someone once is enough.
The account is yours to move. Move it to another home and your keys, your security code and your list of servers come with it, and every server follows you to the new handle.
Only the account is shared. A conversation stays on the server it belongs to, and its messages never leave it.
No server of your own? Make an account on Flaq Connect at connect.flaq.dev and join any server that accepts it.
End-to-end encrypted
Messages are sealed on your device and opened on the devices of the people you write to. Nobody manages keys: your password unlocks everything, on any device.
The app sends a value derived from it, never the password itself.
Messages, their edits and the files you send are encrypted before they leave your device.
File names are encrypted with the file. Search runs on hashes of your words that the server can't reverse.
Kept in a backup only your password opens. A new member's apps receive the history's keys from the others.
Run it yourself
Every part ships as an image from Hyprlab on Docker Hub. Stable releases are tagged latest, betas beta.
The API, the live updates and the admin console, with the gate that lets apps in through Flaq Connect.
The directory and its home accounts, for servers without a domain.
Carries a home server's traffic so its address stays private.
mkdir flaq && cd flaq
curl -O https://raw.githubusercontent.com/hyprlab/flaq/main/server/docker-compose.yml
curl -o .env https://raw.githubusercontent.com/hyprlab/flaq/main/server/.env.example
sed -i "s/^POSTGRES_PASSWORD=.*/POSTGRES_PASSWORD=$(openssl rand -hex 24)/" .env
# During the 1.0 beta, follow the beta images:
sed -i "s/^IMAGE_TAG=.*/IMAGE_TAG=beta/" .env
docker compose up -d
# Then open http://localhost:8105 for the setup wizard.
The compose file runs the server with PostgreSQL and Redis. The installation guide covers a domain, a home server and updates.

The desktop app runs on any 64-bit Linux distribution, and keeps itself up to date.
Windows, macOS and phone apps are on the way. They will be offered here once they exist.
Yes. Flaq is free software under the AGPL-3.0: the server, the apps, Flaq Connect and the relay. The source is on GitHub.
No. A server at home can be listed on Flaq Connect and shared with an invite link. With a domain, the server runs behind your own reverse proxy and never uses Connect. Install the server.
No. Messages, files and search are encrypted on your device. The server keeps and passes on what it can't open. How encryption works.
Accounts are: one account can join servers run by different people, and move between homes. Conversations are not: each one lives on one server, and its messages never leave it. People on different servers talk on a server they both belong to.
Your home server's admin, or an emailed link if the server sends email, sets a new one. Your keys come from your password, so a new password starts a new identity: the people you talk with share their conversations with it again, and see that your security code changed.
The desktop app for Linux today. Windows, macOS and phone apps are planned, on the same API.

One compose file, a setup wizard, and an invite link to share.
Version 1.0.0-beta.2
One file that runs on most distributions and updates from this site.
Open it with Gear Lever to add Flaq to your applications and get its updates; AppImageLauncher works too. Each AppImage already knows where its updates come from.
Make the file executable with chmod +x and run it. appimageupdatetool brings it up to date from this site.
Every download is the same app. The AppImage keeps itself up to date from flaq.dev.