matrix-org /dendrite

Dendrite is a second-generation Matrix homeserver written in Go!

★ 5,615⑂ 650👁 8⑃ 2,335● 1,064▤ 93
GoApache-2.0Created 2017-01-20matrix-org.github.io/dendrite/
Download: Dendrite 0.13.8Dendrite-0.13.8 ↓0.13.82024-09-13
+0
Daily
5,615
stars
650
forks
8
watchers
2,335
prs
1,064
issues
93
releases

README

Dendrite

 Dendrite is now maintained at element-hq/dendrite

Dendrite is an open-source Matrix homeserver developed from 2019 through 2023 as part of the Matrix.org Foundation. 
The Matrix.org Foundation is not able to resource maintenance of Dendrite and it continues to be developed by Element
additionally you have the choice of other Matrix homeservers

See The future of Synapse and Dendrite blog post for more information.

  

Dendrite is a second-generation Matrix homeserver written in Go.
It intends to provide an efficient, reliable and scalable alternative to Synapse:

- Efficient: A small memory footprint with better baseline performance than an out-of-the-box Synapse.
- Reliable: Implements the Matrix specification as written, using the
  same test suite as Synapse as well as
  a brand new Go test suite.
- Scalable: can run on multiple machines and eventually scale to massive homeserver deployments.

Dendrite is beta software, which means:

- Dendrite is ready for early adopters. We recommend running Dendrite with a PostgreSQL database.
- Dendrite has periodic releases. We intend to release new versions as we fix bugs and land significant features.
- Dendrite supports database schema upgrades between releases. This means you should never lose your messages when upgrading Dendrite.

This does not mean:

- Dendrite is bug-free. It has not yet been battle-tested in the real world and so will be error prone initially.
- Dendrite is feature-complete. There may be client or federation APIs that are not implemented.
- Dendrite is ready for massive homeserver deployments. There is no high-availability/clustering support.

Currently, we expect Dendrite to function well for small (10s/100s of users) homeserver deployments as well as P2P Matrix nodes in-browser or on mobile devices.

If you have further questions, please take a look at our FAQ or join us in:

- dendrite:matrix.org - General chat about the Dendrite project, for users and server admins alike
- dendrite-dev:matrix.org - The place for developers, where all Dendrite development discussion happens
- dendrite-alerts:matrix.org - Release notifications and important info, highly recommended for all Dendrite server admins

 Requirements

See the Planning your Installation page for
more information on requirements.

To build Dendrite, you will need Go 1.21 or later.

For a usable federating Dendrite deployment, you will also need:

- A domain name (or subdomain)
- A valid TLS certificate issued by a trusted authority for that domain
- SRV records or a well-known file pointing to your deployment

Also recommended are:

- A PostgreSQL database engine, which will perform better than SQLite with many users and/or larger rooms
- A reverse proxy server, such as nginx, configured like this sample

The Federation Tester can be used to verify your deployment.

 Get started

If you wish to build a fully-federating Dendrite instance, see the Installation documentation. For running in Docker, see build/d

Top issues

Discussions

Latest release

Dendrite 0.13.8 v0.13.8 2024-09-13
Features

  - The required Go version to build Dendrite is now 1.21
  - Support for authenticated media (MSC3916) has been added 
    - Note: You'll need a client that uses the org.matrix.msc3916.stable unstable feature announced in /versions for this to work.
  - NATS can now connect to servers requiring authentication (contributed by paigeadelethompson)
  - Updated dependencies
    - Internal NATS Server has been updated from v2.10.7 to v2.10.20 (contributed by neilalexander) 

 Fixes

  - Fix parsing ?ts query param (contributed by tulir)
  - Don't query the database if we could

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON