A Matrix homeserver written in Rust
open sourceApache-2.0self-hostablefree
Conduit is a Matrix homeserver written in Rust: a single binary with an embedded database (RocksDB by default, or SQLite) that aims to be easy to set up and light enough to run on a Raspberry Pi for family, friends or a company. It federates with other Matrix servers, so its users can chat with anyone on Matrix from clients such as Element, and it connects appservice bridges to networks like Discord, Telegram and Signal. Admins run it by talking to a server bot in an admin room, with media retention policies and blocking for unwanted media. It ships as static Linux binaries for x86_64 and aarch64, Debian packages, Docker images and a NixOS module. Conduit is beta, Apache-2.0 licensed, and its test server conduit.rs runs on hosting donated by the Matrix.org Foundation.
Ways to install
On your own server
Problems it solves
- host a Matrix chat server for my family on a Raspberry Pi
- Synapse is too heavy for my small VPS; I want a homeserver that uses little memory
- run my own chat server as one binary without setting up PostgreSQL
- self-host chat on my own domain while still talking to people on other Matrix servers
- bridge my self-hosted Matrix server to Discord, Telegram and Signal
- set up a federated chat server for our club in a few minutes
- administer my chat server by sending commands in a chat room instead of using a web panel
- keep remote media on my homeserver only for a while so the disk doesn't fill up
- only let people with a registration token create accounts on my chat server
- back up my whole chat server by copying one database directory
- add voice and video calls to my self-hosted Matrix server with a TURN server
Features
- Matrix homeserver: accounts, rooms, end-to-end encrypted chat and federation
- single binary with an embedded RocksDB (default) or SQLite database
- appservice support for bridges such as mautrix-telegram, mautrix-signal, matrix-appservice-discord and heisenbridge
- admin room: manage the server by messaging the @conduit bot
- media retention policies, media purging and blocking by hash
- registration tokens and toggling registration
- simplified sliding sync out of the box
- serves .well-known delegation files itself
- TURN/STUN configuration for voice and video calls
- rate limiting for sensitive endpoints
View 3 more
- static Linux binaries and Debian packages for x86_64 and aarch64
- Docker images on GitLab's registry and Docker Hub
- NixOS module in Nixpkgs
Limitations
- Doesn't support Matrix room versions 1 and 2: versions 3 to 5 aren't fully supported either, so some older rooms can't be joined3
- Doesn't migrate accounts from Synapse: you can reuse the server's domain, but accounts aren't moved over3
- No outgoing read receipts, typing notifications or presence over federation: Conduit is in beta; incoming ones work4
- No Windows builds: Conduit only offers Linux binaries3
Forks
- conduwuit a very cool Matrix chat homeserver written in Rust. Its own project since 2023.
Alternatives
The same job
These do what Conduit does.
- Synapse Matrix homeserver written in Python/Twisted + Rust
- Dendrite Dendrite is a second-generation Matrix homeserver written in Go!
- Continuwuity A community-driven Matrix homeserver
- Tuwunel High Performance Matrix Homeserver in Rust!
- ejabberd Robust, scalable and extensible realtime platform: XMPP server, MQTT broker and SIP service