Tuwunel

Teams, clubs, and families that want chat on their own domain can run Tuwunel, a Matrix homeserver that serves existing clients, bridges, and bots in place of Synapse. Accounts, rooms, message history, and media stay on your server while federation connects users to other Matrix servers. Registration is off by default, so static, file-based, single-use, or expiring tokens decide who joins, and the first account registered becomes server admin. Day-to-day administration runs through !admin commands in an admin room, and the Synapse admin API is served too, so synapse-admin, Draupnir, and Meowlnir can connect. Sign-in options include a built-in OAuth 2.0 and OpenID Connect server, upstream providers such as GitHub, Google, Keycloak, Authelia, and Authentik, LDAP directories, and QR code login. Voice and video calls use Element Call with a LiveKit backend, or legacy TURN. Bridges and bots attach as application services, UnifiedPush gateways such as ntfy need no extra setup, and uploads can live on local disk or S3-compatible storage. Moderators get regex server blocklists, invite gating, and per-room policy servers, while managed online backups keep restorable database copies without downtime. Conduwuit and Conduit servers migrate in place. The server listens on plain HTTP, port 8008 by default, so a reverse proxy such as Caddy provides TLS. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.

Tuwunel
Tuwunel
Tuwunel
Tuwunel
Tuwunel
Tuwunel

Benefits

  • Invite-only sign-up you control
  • Registration is disabled by default. Static, file-based, single-use, or expiring registration tokens gate sign-up, and the first account registered becomes server admin, so open registration never happens by accident.
  • Sign in through your own identity provider
  • A built-in OAuth 2.0 and OpenID Connect server fronts upstream providers such as GitHub, Google, Keycloak, Authelia, and Authentik, while LDAP directories, JWT, and QR code login add more ways in.
  • Existing admin tools keep working
  • Most known Synapse admin endpoints are served under /_synapse/admin, so synapse-admin, ketesa, Draupnir, and Meowlnir can manage Tuwunel; endpoints it does not serve return 404 M_UNRECOGNIZED.
  • Move over from conduwuit in place
  • Databases from Conduit, conduwuit, and conduwuit forks migrate in place on first boot, carrying room history, account data, and media. For conduwuit users it is a binary swap.

Features

  • Calls through Element Call
  • MatrixRTC support works with a LiveKit selective forwarding unit and the lk-jwt-service token issuer for Element Call, while legacy calling uses a TURN server instead.
  • Bridges and bots
  • Application services register through the admin room, server configuration, or an appservice directory, so IRC, XMPP, Discord, Telegram, and Slack bridges can claim their own user and alias namespaces.
  • Media on disk or S3
  • A storage provider layer writes uploads to local disk or S3-compatible object storage, and several providers can be active at once for zero-downtime migrations between backends.
  • Push and email notifications
  • The Push Gateway API is implemented, UnifiedPush gateways such as ntfy and NextPush work out of the box, and verified addresses can receive unread-notification emails over SMTP.
  • Moderation and policy controls
  • Regex blocklists for remote servers, admin commands for rooms, users, federation, and media, invite gating, auto-deactivation triggers, and per-room policy servers under MSC4284 keep a community server clean.
  • Docker images and proxies
  • Docker Hub and GHCR images ship a health check and speak plain HTTP on port 8008 by default; Caddy, Nginx, and Traefik guides cover TLS and federation on port 8448.

Apps Similar to Tuwunel