# Matrix

Matrix is a free, open-source protocol and server for secure, decentralized real-time messaging. It is open source and self-hosted, installable on Docker Hub, Unraid and Kubernetes (Helm).

Canonical page: https://ourlocalhost.com/app/611/matrix

## Description

Matrix is a free, open-source protocol and server for secure, decentralized real-time messaging. It lets self-hosters run their own chat, voice, and video platform with end-to-end encryption and cross-device sync, giving you full control over your communication stack.

## Platform availability

Available on 2 of 10 platforms: Unraid, Helm.

## Health score

36/100 (Low), based on 4 of 4 factors.
- Maintained: 0 (last commit 1074 days ago)
- Popular: 82 (12,089 GitHub stars)
- Easy to install: 45 (2 install platforms, install notes, Docker image)
- Light to run: 40 (4 GB minimum RAM, runs on ARM)

## Links

- Docker Hub: https://hub.docker.com/r/avhost/docker-matrix/
- GitHub: https://github.com/matrix-org/synapse
- Unraid: https://ca.unraid.net/apps/matrix-0m1y9gx19lbqgt?q=matrix
- Kubernetes (Helm): https://artifacthub.io/packages/helm/zekker6/matrix
- Official website: https://matrix.org
- Documentation: https://matrix.org/docs/technical

## Common questions

### If I run a Matrix bot, what file should I protect to avoid losing its remembered state?

The bot.json file stores the bot's remembered state. If it is deleted or unreadable, the bot can lose its place, fail, or rejoin incorrectly.

### Where can self-hosters get help when Matrix Synapse setup goes wrong?

The Matrix Synapse Matrix room is reported to be useful, with multiple people helping answer setup questions.

### Can a self-hosted Matrix server bridge different apps?

The source says Matrix bridges make this possible, and one user planned to self-host a server and bridges on a Raspberry Pi 5.

### How can self-hosters add voice and video calling to a Matrix homeserver?

Set up a self-hosted Synapse homeserver with LiveKit-powered voice and video calling and use Element X.

## Alternatives

- Briar: Censorship-resistant peer-to-peer messaging that bypasses centralized servers.
- Buzz: Buzz is a self-hosted workspace where humans and artificial intelligence (AI) agents collaborate in shared Nostr rooms.
- Conduit: Conduit is a lightweight, self-contained Matrix server written in Rust for running your own chat backend with minimal setup and low system…
- Discord
- Element
- Element X: It is the brand new, and fastest ever, Matrix client.
- GNUnet
- Hyphanet: Hyphanet (formerly Freenet) is a peer-to-peer, censorship-resistant platform for private publishing and communication.
- Mattermost: Mattermost is an open-source, self-hosted team messaging and collaboration platform.
- Mirotalk: Mirotalk is a free, web-based video conferencing tool.
- Openfire: Openfire is an open-source real-time collaboration (RTC) server that hosts your own XMPP (Jabber) instant messaging service.
- Prosody: Prosody is a modern flexible communications server for Jabber/XMPP written in Lua.

---
Source: Our Local Host (https://ourlocalhost.com/app/611/matrix), the self-hosted and open-source app directory.
