Dendrite is a second-generation Matrix homeserver written in Go!
open sourceAGPL-3.0-or-laterself-hostablefree
Dendrite is a Matrix homeserver written in Go, meant as an efficient alternative to Synapse with a smaller memory footprint, tested against the same SyTest and Complement suites. It's beta software that its makers expect to work well for small homeservers of tens or hundreds of users and for peer-to-peer Matrix nodes, running on PostgreSQL (recommended) or SQLite, with official support for Docker deployments and a Helm chart. Its original matrix-org/dendrite repository is archived, and Element now develops it at element-hq/dendrite, dual-licensed AGPL-3.0-or-later or under a paid Element commercial licence. Its README says it is in maintenance mode, with only security fixes being applied.
Ways to install
On your own server
On Kubernetes
Problems it solves
- run a small Matrix homeserver for a few dozen people with less memory than Synapse needs
- a Matrix server written in Go that I can build into a single static binary
- host a federated chat server for my club on my own domain with PostgreSQL
- try Matrix on a home server using SQLite without setting up a database server
- deploy a Matrix homeserver on Kubernetes with a Helm chart
- run a Matrix homeserver from a Docker Compose file with Postgres
- experiment with peer-to-peer Matrix nodes running in a browser or on a phone
- a Matrix homeserver that runs on Windows Server or FreeBSD as well as Linux
- bridge our self-hosted chat server to Telegram, WhatsApp and Signal
- keep a hobby Matrix server patched for security issues without chasing new features
- we need a commercial licence for a Matrix homeserver instead of the AGPL
- reset a user's password on my chat server through an admin API
Features
- Matrix homeserver with federation
- PostgreSQL (recommended) or SQLite storage
- built-in NATS server, so no message queue to install
- monolith deployment with database schema upgrades between releases
- official Docker image and an example Docker Compose file
- Helm chart with an optional PostgreSQL dependency
- runs on Linux, macOS and Windows Server, and is expected to work on FreeBSD and OpenBSD
- appservice support for bridges (lightly tested)
- admin API endpoints, including password resets
- experimental push notifications
View 2 more
- peer-to-peer Matrix nodes in the browser or on mobile devices
- dual-licensed: AGPL-3.0-or-later or an Element commercial licence
Limitations
- No new features: Dendrite is in maintenance mode and only gets security fixes3
- Doesn't support Element X: it lacks Simplified Sliding Sync (MSC4186) and next-gen OIDC auth (MSC3861)3
- Can't migrate from Synapse: an existing Synapse deployment can't be moved to Dendrite4
- No high availability or clustering: it isn't ready for massive homeserver deployments3
Alternatives
The same job
These do what Dendrite does.
- Synapse Matrix homeserver written in Python/Twisted + Rust
- Conduit A Matrix homeserver written in Rust
- Tuwunel High Performance Matrix Homeserver in Rust!
- Continuwuity A community-driven Matrix homeserver
