---
title: "Plazer: End-to-End Encrypted Messenger | VulCode"
description: "Case study of Plazer, a messenger for communities with end-to-end encryption, voice and video calls and a server you host yourself. Built by VulCode."
url: "https://vulcode.com/en/work/case-studies/plazer"
lang: "en"
---

[Case studies](https://vulcode.com/en/work/case-studies)

PlazerAn encrypted messenger for communities

# An encrypted messenger whose server cannot read private conversations

VulCode built Plazer, a messenger for communities: the encryption core, the apps for computers, Android and the browser, and both servers. The device encrypts private messages, groups and private channels, and anyone can host a community server.

[Visit the Plazer site](https://plazer.org)

## Messages, replies and voice notes, in encrypted chats too

Replies with a quote, reactions, threads, polls, voice notes and files work the same in a server channel, in a group and in a one-to-one chat. In direct messages, groups and private channels the sender's device encrypts all of it before anything reaches a server.

- 01 Conversation

- ### Replies with a quote and reactions
  A reply shows a piece of the message it answers, so an hour later everyone still knows who replied to whom. Reactions carry the full emoji set plus emoji from every server the user belongs to.

- ### Voice notes with transcripts
  A recording runs up to 5 minutes and the recipient sees the waveform. When they cannot listen, they read a transcript made by their own device, without the recording going to a server.

- ### Files with no limit and a chat gallery
  A large file travels straight from device to device once the recipient accepts it. Photos, videos, links and files from the whole conversation sit in one gallery, with no scrolling back.

- ### The profile beside the chat
  Next to the conversation the app shows when the two people compared security keys, the groups they share and a note about the person that only its author can see.

## The server carries a message it cannot read itself

The sender's device encrypts direct messages, groups and private channels with MLS, the IETF standard published as RFC 9420. The server gets a sealed block, passes it on and never sees what is inside.

- ### The sender's device encrypts
  The message turns into ciphertext before it leaves the phone or the computer. Private keys never leave the devices they were created on.

- ### The server sees only ciphertext
  Every message is padded to one of a few fixed sizes, so network traffic cannot tell a short "ok" from a long paragraph.

- ### The recipient decrypts on their device
  Only the people in the conversation hold its keys, so only their devices can read what was said.

## What the encryption covers

- ### Text, reactions, polls and the group name
  Replies, mentions, edits and deletions too. The server cannot read a word of the conversation, and even the group's name and avatar stay between its members.

- ### Files and voice notes
  Every file gets its own random key, which travels to the recipients inside the encrypted message.

- ### Video and audio in calls
  A server can carry the call but cannot hear it or put itself in the middle, in public channels too.

- ### A change of members
  When someone joins or leaves, the group moves to a new key. Someone new cannot read the history from before they joined, and someone removed cannot read new messages.

- ### Public channels
  They are readable by their server, but the author's device signs every message, so the server can hide it but cannot forge it.

- ### History backup
  By default the history is not copied anywhere. Once the backup is turned on, the account key encrypts it before it leaves the device.

## An account with no phone number and no email

A name and a password are all it takes to create an account, so nobody can link it to a SIM card, a mailbox or the contacts on a phone. The same account works on every community server and every device.

- ### A name and a password
  A name of 3 to 32 characters that friends find the user by, or a QR code when they are next to each other.

- ### A recovery key
  The user gets it once, at sign-up. Together with the password it brings the account back after a change or loss of devices.

- ### Two-step sign-in
  A code from an authenticator app or a passkey: a fingerprint, a face or a hardware key.

- ### A device list
  One device can be removed or all of them signed out at once, and a signed-out device comes back only with the password.

- ### Message requests
  Messages from strangers land in a separate list, and a spam and word filter sorts out the rest before the recipient sees anything.

- ### Data export and deletion
  The user downloads all their data with the encrypted history from that device, and a deleted account goes away after 7 days.

## Search, link previews and notifications without sending content to a server

Some of the work messengers usually hand to a server, Plazer does on the device. The server then gets nothing it could read.

- ### Search on the device
  The message index lives on the phone or the computer, so the server never knows what the user looks for. Filters by author, chat, files and date work offline too.

- ### The sender makes the link preview
  The sender's device prepares the page preview and sends it encrypted. The server never sees the address, and the recipient's app does not contact the page until someone clicks.

- ### Notifications without content
  The lock screen only shows "New message". The service that wakes the phone knows the time and the fixed size of the notification, nothing more.

- ### Disappearing messages and hidden chats
  The timer is set separately for a chat, a group and a channel, and chosen conversations hide behind a separate PIN.

## A community server with a channel for every occasion

Every kind of channel has its own tools: a forum has tags, a stage has an audience, an event channel has a calendar. The owner arranges categories and channel order by dragging.

- ### Text channel
  A conversation with threads, pinned messages and everything messages can do in Plazer.

- ### Voice channel
  A call with a chat next to it, a channel status, pins and a list of who was here recently.

- ### Forum with tags
  Every topic is its own thread, and tags filter the forum in a second.

- ### Announcements
  A message from an announcement channel goes out to every server that follows it, in one click.

- ### Stage
  Speakers on stage, listeners in the audience. A listener raises a hand and the host invites them to speak.

- ### Media channel
  Photos and videos laid out in a grid, with a thread under every post.

- ### Event channel
  Its own voice channel, text channel and calendar where attendees pick a time that suits everyone.

- ### 3D room
  An isometric room everyone walks around with their own character, going up to people to talk up close.

- ### Anonymous channel
  Only the owner and moderators see who wrote a message, so people ask questions they would never ask under their own name.

- ### Private threads
  A thread visible only to the people invited to it, without creating a new channel.

- ### 18+ channel
  A channel for adults only, with a confirmation before the first visit.

- ### Private channel
  End-to-end encrypted, with the keys held only by the people who have access to it.

## Roles, moderation and bots built into the server

The owner sets permissions for every role and every channel, and before a change reaches people, sees the server through the eyes of a chosen role. Moderation and automations work without adding outside bots.

## Roles and permissions

- ### A full set of permissions
  From sending messages to managing the server, every permission on its own.

- ### Channel overrides
  The same member can write in one channel and only read in another.

- ### Temporary roles
  A role with an end date, for example for the guests of one event, disappears on its own.

## Moderation and AutoMod

- ### AutoMod
  Checks every message before anyone sees it: word lists, regular expressions, spam, links and mass mentions.

- ### Moderator tools
  Timeouts, warnings saved on the member and notes that members never see.

- ### Audit log and raid alerts
  Every decision with its author and time, and an alert when many new accounts join at once.

## Bots and automations

- ### Automations without code
  "When X, do Y" rules: welcomes, roles from reactions, reports and levels, set up without writing a bot.

- ### Bots with commands
  Slash commands with hints for every field. A bot gets a role and only the permissions the server owner gives it.

- ### A bot in an encrypted channel
  It gets keys like any participant and stands on the list of key holders, and once removed, the keys change.

## Voice and video calls encrypted in every channel

Video and audio are encrypted between the devices of the people talking, in a server's public channels too. Plazer picks how to connect people on its own, and only the people in the room know the call key, with a new key every time someone joins or leaves.

- ### Two people: straight to each other
  A call between two people connects the devices directly, by the shortest route, so the delay is the lowest possible, most noticeable while gaming.

- ### A small room: everyone to everyone
  Up to 6 people by default, every device connects to every other one, and the server owner sets that limit anywhere from 2 to 12. Camera video steps down smoothly from 720p to 180p as people join.

- ### A big room: the server forwards but does not listen
  Above the limit the community server forwards video and audio, but every frame is encrypted with a key the server does not know. Only the machine it runs on limits the number of people.

- ### A voice channel that works like a room
  Everyone sees who is in it and walks in without calling, and next to the call there is the channel chat, a status, pinned messages and a list of who was here recently.

- ### Screen sharing with audio, watched on demand
  A screen, a window or a tab is shared with its sound, and the picture opens for others only after they click "Watch". Viewers draw arrows on the screen that fade after a moment.

- ### Whisper
  A word with one person without leaving the channel. The rest of the room does not hear it.

- ### Waiting room
  People get into the channel when someone already inside lets them in.

- ### Moving the call
  A call started on a computer carries on on a phone, without hanging up.

- ### Live streams with no viewer limit
  Live, with a chat alongside, a recording and clips, and a premiere starts for everyone at the same time.

- ### Studio
  A call recorded on separate tracks, one per person, ready to edit.

- ### Clean sound
  Noise suppression, push to talk, microphone sensitivity and the volume of each person on its own.

## A community server on the owner's machine, claimed from the app

A community server runs with us or on its owner's hardware: a VPS, a home computer or a student hall network. A new server has no owner, so a person becomes one in four steps in the regular app, and each step confirms the app is connecting to the owner's machine.

- ### A code from the logs
  A freshly started server prints a one-time claim code in its logs. Only someone with access to the machine can see it.

- ### Adding the server in the app
  The address and the code are entered from a normal Plazer account, with no separate admin password.

- ### The key fingerprint
  The app shows the server's key fingerprint. When it matches the one in the logs, the connection goes to the owner's machine and not to someone in between.

- ### The server recovery key
  It restores owner rights after the loss of the device the server was claimed from.

- ### Invites with the key fingerprint
  Every link shows a preview of the server and its key fingerprint before anyone joins, so nobody can slip in another server.

- ### One command
  The server starts from a ready Docker image together with its PostgreSQL database and Redis cache, and an update means pulling the new image.
  - A ready Docker image
  - PostgreSQL
  - Redis

- ### Moving with one button
  The server travels to another machine with everything in it, and members do not have to do a thing.
  - Channels and categories
  - Roles and permissions
  - Channel history
  - Emoji and settings

- ### A server on a local network
  On an ordinary computer on the same network as its users. Channel chat and voice then travel over the local network.
  - Student halls
  - LAN party
  - Office and studio

## One Plazer account, the server at its owner's

Plazer runs on two kinds of server: a central server that holds accounts and delivers direct messages, and community servers on their owners' machines. People do not create accounts on servers: they sign in with the one account they use everywhere, while channels, roles and history live on the server owner's machine. That is why an outage on the central server's side does not stop the channels.

- ### Plazer central server
  Anyone with a Plazer account joins any server from an invite in one click, and their friends and private chats come along.
  - Accounts and sign-in
  - Friends and message requests
  - Direct messages
  - Private groups

- ### Community server
  One install is one community with its own data. Members' direct messages and groups never pass through the server, so even its owner does not touch them.
  - Channels, categories and their history
  - Roles and permissions
  - Voice calls and streams
  - Invites, bans and the audit log

## What keeps working when the central server goes down

|  | A normal day | Central server down | Central server is back |
| --- | --- | --- | --- |
| Text channels on the server | Working | Working | Working |
| Voice channels and calls | Working | Working | Working |
| Roles, moderation and invites | Working | Working | Working |
| Direct messages and groups | Working | Waiting for the central server | Working |

## Apps for the computer, the phone and the browser

We built three apps for one account. On computers and phones Plazer is a native app, without a browser built in underneath: on a computer it takes 17.8 MB of memory at rest. In the browser it runs with nothing to install, on the same account.

- ### Computer
  Windows, macOS and Linux

- ### Phone
  Android, including without Google services

- ### Browser
  Any modern browser

|  | Computer | Phone | Browser |
| --- | --- | --- | --- |
| Installation | One installer file, with no extra libraries to install | From the Plazer website, like any other Android app | Nothing to install: opening Plazer and signing in is enough |
| Updates | New versions arrive inside the app | New versions arrive inside the app | Always the latest, because the code arrives on every visit |
| Notifications | System notifications, without message content | Without Google services too, through UnifiedPush, never with content | Only "New message", without content |
| On screen | A desktop widget with the chats | Home screen widgets | A permanent reminder that the page code comes from the server |

- ### One account
  A new device is paired with a QR code or a number code from the old one, and the chats move encrypted straight between the devices, without going through the server.

- ### Appearance
  Five themes, 12 gradients and a custom theme with contrast control, accessibility settings, plugins switched on with one toggle and the whole app in Polish or English.

## One encryption core under every app

We built one core in Rust: account identity, devices, MLS groups and chat state live in a single library. The browser, desktop and Android apps call the same code, so none of them touches cryptography on its own, and a fix to the encryption reaches all of them at once. The code of the apps and both servers and the protocol specification are open.

- ### The Plazer core
  Rust and the mls-rs library, MLS per RFC 9420, under MIT or Apache-2.0

- ### Browser app
  It calls the core compiled to WebAssembly and never touches keys outside it.
  - TypeScript
  - The core as WebAssembly
  - Open source, AGPL-3.0 licence

- ### Desktop app
  Native, without a browser underneath. To this app the core is an ordinary library in the same language.
  - Rust and Slint
  - Windows, macOS, Linux
  - Open source, GPL-3.0 licence

- ### Android app
  It calls the same core through generated bindings, and gets notifications without Google services too.
  - Kotlin
  - The core through UniFFI
  - Open source, AGPL-3.0 licence

- ### Central server
  It passes the encrypted blocks of direct messages and groups between devices without knowing what is in them.
  - Go
  - Accounts, friends, private chats
  - Open source, AGPL-3.0 licence

- ### Community server in Go
  The channels, roles, events, moderation and voice calls of one community, on its owner's machine.
  - Go, PostgreSQL, Redis
  - A Docker image
  - Open source, AGPL-3.0 licence

- ### Protocol specification
  The core and the servers do what it describes, so anyone can build a compatible app or check the encryption.
  - Identity, MLS groups, metadata
  - Test vectors
  - Open licence: MIT or Apache-2.0

## Questions about this project

- **What did VulCode build for Plazer?**: The whole Plazer messenger: apps for Windows, macOS, Linux, Android and the browser, end-to-end encryption for direct messages, groups and private channels, community servers with channels, roles and moderation, voice and video calls, and the product website in Polish and English.
- **What parts is Plazer made of?**: Seven: an encryption core in Rust (MLS per RFC 9420), a browser app in TypeScript, a desktop app in Rust and Slint, an Android app in Kotlin and Jetpack Compose, a central server in Go that holds accounts and delivers direct messages, a community server in Go with PostgreSQL and Redis, and an open protocol specification. Every app calls the same core, so a fix to the encryption reaches all of them at once.
- **How much does it cost and how long does it take to build a similar messenger or platform?**: A web platform starts at PLN 8,999 (about EUR 2,020) at VulCode, a mobile app at PLN 3,999 (about EUR 900) and a desktop app at PLN 4,499 (about EUR 1,010); a project like this usually takes 2-4 months. We have worked through encryption, shared accounts, servers run by many owners and apps for computers, phones and browsers on Plazer. Describe what you need and we will reply within an hour with questions and a free quote.
- **Does Plazer read my messages?**: No. Direct messages, groups and private channels are encrypted on the device, and only the people in the conversation hold the keys. The server sees who talks to whom and when, but not what is said.
- **Who can read messages in public channels?**: Anyone who joins the channel, and the server it lives on, because a public channel's text is not end-to-end encrypted. The author's device still signs every message, so the server can hide it but cannot forge it. Voice calls are encrypted in every channel.
- **What happens when the Plazer central server goes down?**: Community servers keep running, so their channels and voice calls carry on. Only direct messages and groups wait for the central server to come back, because it is the one that delivers them.
- **Do members of my server need an account on it?**: No. They sign in with their Plazer account and join from an invite. Their friends and direct messages stay with the account, not with the server.
- **Is the browser app as secure as the desktop app?**: The encryption works the same way, but in the browser the page code comes from the server every time you open it, so you have to trust that you got the same code as everyone else. The desktop and Android apps are installed once, which is why we recommend them for the most important conversations, and in the browser Plazer reminds you of this with a permanent label.
- **What if I lose all my devices?**: You get your account back with your password and recovery key. You restore your history from the backup encrypted with your account key, if you turned it on. Without a backup the history stays only with the people you talked to, because the server has no access to it.
- **Can a community move over from another messenger?**: Yes. A server starts from a template with channels and roles, friends join from an invite that shows where new people come from, and webhooks accept a popular embed format. Bridges to other messengers let you keep talking to those who have not moved yet.

Services behind this project [Company website](https://vulcode.com/en/services/business-websites)[Integrations and automation](https://vulcode.com/en/services/api-integrations)[Mobile apps](https://vulcode.com/en/services/mobile-apps)[Desktop apps](https://vulcode.com/en/services/desktop-apps)[Web platforms](https://vulcode.com/en/services/web-platforms)

[Next case study **Aphrodi: the website and client panel of a creative agency**](https://vulcode.com/en/work/case-studies/aphrodi)

## Describe your project.

A free quote comes back within an hour during working hours.

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)

## More on this in our blog

- [Plazer in the browser: what loads at start and what waits until it is needed Plazer's sign-in screen is 105 kB, while the camera background effect alone weighs 3.76 MB. We show what the browser fetches at start, what waits for first use, and how the WebAssembly core is split in two from the linker's relocations.](https://vulcode.com/en/blog/plazer-webassembly-in-the-browser)

- [A Discord alternative for businesses and communities: what to compare Discord encrypts voice and video calls end to end, but not text messages, and it has no plans to change that. We compare it with Matrix and Plazer on the points that matter to a business or a community.](https://vulcode.com/en/blog/discord-alternative)
