Matrix - federated communication, just like in the beginning

What is Matrix? In short - a federated communication protocol. Think e-mail, but for chat: anyone can run a server, and users on different servers talk to each other just fine. No company in the middle owning the conversation, just an open protocol and servers syncing rooms with each other.

On top of the protocol sit the apps - the most known client being Element. Rooms, DMs, voice calls, file sharing, all the stuff you'd expect from a modern messenger, except you choose where your data lives.

The best way I can describe the perspective of being an admin of such a server: it feels like owning an entire Slack or Discord. All the rooms, all the communities, your rules - except many such Slacks and Discords can communicate with each other, just like e-mail servers do.

Why it's a good solution

Federation is the whole trick. Every server participating in a room keeps a copy of it, so there is no single point of failure and no single owner. One homeserver going down does not kill the conversation - the room lives on all the other servers taking part in it.

It also means the network does not belong to anyone. It's communication just like in the beginning of the internet - open protocols where you pick who you trust with your data. Or better yet, you trust yourself.

Is it safe?

Yes - private conversations are end-to-end encrypted, with device verification and all that comes with it. The servers relaying the traffic see only encrypted blobs, and your keys stay with you.

And since I mentioned trust - running your own homeserver means metadata like who talks to whom, when and how much, stays on your hardware instead of feeding some platform's ad profile. For me this is the part people underrate the most.

How censoring works here

Short answer: badly. To silence someone on a centralized platform you pressure one company. With Matrix there is no one to pressure - ban a server and its users pop up on another one, or their community spins up a new homeserver by the end of the day. Rooms are replicated across servers, so shutting down discussion would mean chasing every copy of it around the network.

Worst case for a user: leave the server you don't like and join another. Try doing that with your average messenger - your identity and history are locked to the platform, not to you.

Running your own instance

This is the part that surprises people: it's easy. There are two homeservers worth mentioning: continuwuity - the lighter one, and Synapse - the main solution, with more features but heavier too. Either one runs in Docker, a small compose file and a few minutes later you have your own slice of the network on a tiny VPS or even a home server. Mine runs on the same box that serves this blog - you can find me at @chlop:0xffset.com.

Federation, encryption, self-hosting, and nobody to ask for permission. That's how communication on the internet was supposed to look, and with Matrix it still does.