Synapse
Server for [Matrix](https://matrix.org/), an open standard for decentralized persistent communication.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: We were unable to fetch the official documentation this time, so the following is compiled from what is known about Synapse. For specific version requirements and configuration details, please refer to the official documentation.
Introduction
Synapse is a homeserver implementation of the Matrix open communication protocol. It was originally developed by the Matrix.org team and is now maintained by Element (element-hq). Matrix is a decentralized, federated standard for real-time communication. Once you deploy Synapse, you can run your own communication server and manage your users' accounts and chat data, while still being able to chat with users on other Matrix servers, much like how email works.
Key Features
- Full Matrix homeserver: Supports Matrix client-server API features such as direct messages, group chat rooms, and file and media transfer.
- Federation: Syncs rooms and messages with other homeservers through the Matrix server-to-server API, forming a decentralized network.
- End-to-end encryption support: Works with clients such as Element to use Olm/Megolm end-to-end encryption. The server relays and stores encrypted messages and key-related data.
- Multiple authentication methods: In addition to local accounts, it can integrate with single sign-on such as OpenID Connect, SAML and CAS, as well as external authentication such as LDAP (some of which require plugins).
- Application services and bridges: Connects bridges through the Application Service API to link other platforms such as IRC, Slack, Telegram and Discord, and can also integrate bots.
- Admin API: Provides an Admin API for managing users, rooms, media and server status.
- Horizontal scaling: Can be split into multiple worker processes to share the load, making it suitable for large-scale deployments.
- Module extensions: Supports third-party modules to extend behavior such as spam filtering and account validation.
Target Users and Use Cases
- Organizations that want to keep control of their team or internal company communication data
- Self-hosting enthusiasts and individuals who want to set up a private chat service for family and friends
- Communities, open-source projects, and institutions that need to communicate via federation with external Matrix users
- Users who want to use bridges to bring multiple chat platforms together in one place
Core Strengths
- The most mature and widely used homeserver implementation in the Matrix ecosystem, with comprehensive feature coverage
- Open standards and a federated architecture that don't depend on a single provider
- Thorough documentation, an active community, and a rich ecosystem of clients (Element, FluffyChat, etc.) and bridges
Installation and Deployment
Common deployment methods:
- Docker: Use the official image
matrixdotorg/synapse, generate the configuration file first, and then start the container. This is the most common method. - Debian/Ubuntu packages: Install from the official APT repository.
- Python package: Install with
pip install matrix-synapsein a virtual environment.
After deployment, you will generally need to:
- Configure
homeserver.yamland set the server name (server_name) - Set up a reverse proxy (such as Nginx or Caddy) and enable HTTPS
- Support federation through
.well-knowndelegation or by opening port 8448 - Create an admin account with tools such as
register_new_matrix_user
Technical Requirements
- Written mainly in Python, with some performance-critical modules implemented in Rust
- PostgreSQL is recommended as the database for production; SQLite is only suitable for testing or very small deployments
- Requires a domain name and a TLS certificate; joining large federated rooms consumes considerable memory and storage
Notable Points
- License: After the project moved to the element-hq organization, the license changed from Apache 2.0 to AGPL-3.0, and Element also offers commercial licensing
- Resource usage grows noticeably with the size of the rooms joined, so it is advisable to clean up media and history data regularly
- The Matrix ecosystem also has other homeserver implementations such as Conduit / conduwuit and Dendrite, which can serve as alternatives
Discover more
Apprise
Apprise allows you to send a notification to almost all of the most popular notification services available to us today such as: Telegram, Discord, Slack, Amazon SNS, Gotify, etc.
Continuwuity
Community-driven Matrix homeserver, the continuation of conduwuit focusing on user experience and new features (fork of Conduit).
GlobaLeaks
Whistleblowing software enabling anyone to easily set up and maintain a secure reporting platform.
Jitsi Meet
WebRTC application that uses Jitsi Videobridge to provide high quality, scalable video conferences.
Jitsi Video Bridge
WebRTC compatible Selective Forwarding Unit (SFU) that allows for multiuser video communication.
OpenTrashmail
Complete trashmail solution that exposes an SMTP server and has a web interface to manage received emails. Works with multiple and wildcard domains and is fully file based (no database needed). Includes RSS feeds and JSON API.