What is Flaq
Private messaging you run yourself, end-to-end encrypted: the four parts, what the server can and can't see, and what exists today.
Flaq is private messaging you run yourself, for friends, family, a club or any group: channels, direct messages, threads, reactions and files, delivered live and end-to-end encrypted, so not even the server it runs on can read them. Nobody handles keys. Your password unlocks everything on any device, and other members' apps share what a newcomer needs to read the history.
Flaq is free software under the GNU Affero General Public License v3.0 or later. The source is on GitHub.
The four parts#
Flaq is made of four parts. Most groups need only the first two.
| Part | What it does | You need it when |
|---|---|---|
The Messaging Server (hyprlab/flaq) |
Keeps a group's encrypted messages and files and passes them on live. Runs in Docker with PostgreSQL and Redis, with an admin console in the browser | Always: it is where accounts and the encrypted messages live |
| The apps | Where people read and write, and the only place messages are ever readable. The desktop app for Linux today | Always: everyone uses an app |
Flaq Connect (hyprlab/flaq-connect) |
An optional directory for servers without a domain of their own, such as one on a computer at home. It helps apps find and reach them, and no message passes through it | Your server has no domain. Flaq runs connect.flaq.dev for everyone |
Flaq Relay (hyprlab/flaq-relay) |
Optional too: passes a home server's traffic through a machine you choose, so the people who use the server never learn its home address | A server at home should keep its address to itself |
A server with its own domain and reverse proxy needs nothing but itself: people add it by its address. Connect and the relay are for servers at home.
All four are released together on one version, and share one changelog.
What you can do#
- Channels, public and private, with topics, descriptions, pins, member management and archiving; direct and group messages, and a note to self.
- Threads, reactions and custom emoji, files of every kind, formatting, @mentions, #channel links and slash commands.
- Presence and status, Do Not Disturb, unread and mention counts, saved items and an Activity list.
- Search with
from:,in:,has:and dates, over messages the server can't read. - Security codes to compare with someone, the same on every server you share.
- Several servers in one app, each with its own icon in a rail at the window's edge.
- One account for many servers. Every account has a handle, such as
@ana@chat.example.com, and can join other servers that accept it, without a new password. See Accounts across servers. - An admin console at
/admin: people, sign-up, upload limits, the server's name and icon, email for password resets, and Turnstile.
The server and its API have all of these. The desktop app has them too, except pins, formatting buttons and emoji settings, which come next.
What is encrypted#
Messages are sealed in the sender's app and opened in the recipients' apps. The server only holds ciphertext, and the keys to it wrapped for each person.
| End-to-end encrypted | Visible to the server |
|---|---|
| Message text, edits included | Who is in which conversation, who wrote when, thread structure |
| File contents, names, types and image previews | A file's size and kind (image, video, audio, file) |
| Search words | Who a message mentions, so it can notify them |
| Each person's private keys | Reactions, pins, saves, read positions |
| Channel names, topics and descriptions; people's names, statuses and avatars |
The server never sees a password. How encryption works explains how, and what this does not protect against.
What exists today#
Flaq 1.0 is in beta. What you can use now:
- The Messaging Server, Flaq Connect and Flaq Relay, as Docker images. During the beta they are published as
:betaand as versions such as:1.0.0-beta.2. - The desktop app for Linux, as an AppImage, drawn natively rather than in a browser. It runs on 64-bit (x86_64) distributions with glibc 2.35 or newer.
Planned, from the same code and on the same API: Flatpak and RPM packages, macOS and Windows builds of the desktop app, and phone apps. They will be offered on flaq.dev once they exist.
There is no chat in the browser. The browser is only for a server's setup wizard and its admin console.
Flaq's text can be translated. English is the only language so far; dates, times and numbers already follow each reader's language.
Where to go next#
- To use Flaq: Get the app, then join a server. No server yet? Make an account on Flaq Connect and join servers that accept it.
- To run a server for your group: Install the server, then put it on your own domain or run it at home with Connect.
- To understand the privacy side: How encryption works and Security codes.