๐Ÿ›ก๏ธ Ketesa

Ketesa (formerly Synapse Admin) is a fully featured, mobile-friendly admin interface for Matrix homeservers powered by Synapse. Manage users, rooms, media, event & user reports, registration tokens and devices โ€” with first-class support for the Matrix Authentication Service (MAS).

It is a direct drop-in replacement for Synapse Admin: no configuration changes required. Ketesa is a static web app โ€” it runs entirely in your browser and talks directly to your homeserverโ€™s admin API.

๐Ÿท๏ธ Category: Hosting, Network, System

๐Ÿณ Image: ghcr.io/etkecc/ketesa:latest


ย  ย 
๐ŸŒ Website ketesa.app
๐Ÿ“ฆ Project github.com/etkecc/ketesa
๐Ÿ“– Documentation Ketesa Docs
๐Ÿ› Support GitHub Issues
๐Ÿ’ฌ Matrix Room #ketesa:etke.cc
๐Ÿ’› Donate GitHub Sponsors

๐ŸŒ Ports

Port Protocol Description
8076 TCP Ketesa web interface (container port 8080)

โ„น๏ธ Since the image is rootless, it listens on port 8080 inside the container (not 80). The host port defaults to 8076 in this template to avoid the common 8080 conflict.


๐Ÿ’พ Volumes

Host Path Container Path Mode Description
/mnt/cache/appdata/ketesa/config.json /var/public/config.json RO Optional Ketesa configuration file

โš ๏ธ Important: This is a file mount. Create the file before the first start โ€” otherwise Docker creates a directory at that path and Ketesa cannot read its config.


โš™๏ธ Environment Variables

No environment variables required for this container.


๐Ÿ“„ Configuration File

Ketesa runs without any configuration โ€” every option is optional. To start with an empty config, create the file with this content:

{}

Settings can come from two places: this config.json, or the cc.etke.ketesa key inside your homeserverโ€™s /.well-known/matrix/client. If a key is set in both, the well-known value wins.

Available options

Option Type Default Description
restrictBaseUrl string or array unrestricted Lock Ketesa to specific homeserver(s)
externalAuthProvider boolean off Declare that an external auth provider (OIDC, LDAP, โ€ฆ) is in use
wellKnownDiscovery boolean true Canonicalize URLs via /.well-known/matrix/client โ€” turn off for split-domain or VPN-only setups
corsCredentials same-origin / include / omit same-origin How cookies are sent on admin API requests
asManagedUsers array of MXID regex none Protect bridge/bot accounts from accidental edits
menu array of menu items none Add custom links to the sidebar

Example: lock Ketesa to your own homeserver

{
  "restrictBaseUrl": "https://matrix.yourdomain.com"
}

With a single URL the homeserver field disappears from the login page. A list turns it into a dropdown limited to those servers.


๐Ÿš€ Quick Start

  1. Create the config file at /mnt/cache/appdata/ketesa/config.json (content {} is enough)
  2. Open the MOS Hub and search for Ketesa
  3. Click Install
  4. Access Ketesa at http://your-server-ip:8076
  5. Enter your homeserver URL and log in with a Synapse admin account

๐Ÿ“‹ Requirements

  • Synapse v1.150.0 or newer for everything to work as intended (check via /_synapse/admin/v1/server_version or the version indicator on the login page)
  • Your browser must be able to reach these endpoints on your homeserver:
    • /_matrix
    • /_synapse/admin

๐Ÿ’ก The admin endpoints do not need to be exposed to the public internet โ€” access from your local network is enough. See the Synapse administration endpoints docs.

โ„น๏ธ Using MAS? Its admin API needs some extra configuration โ€” see the MAS section in the Ketesa docs.


๐Ÿ’ก Tips

  • Reverse proxy: Running Ketesa behind a reverse proxy with SSL is the recommended setup for any internet-facing deployment. Ready-to-use configs are in the reverse proxy guide.
  • Subpath deployment: To serve Ketesa under /admin (e.g. https://example.com/admin), use the tag latest-subpath-admin instead of latest.
  • Coming from Synapse Admin? The legacy cc.etke.synapse-admin well-known key still works as a fallback, so existing setups need no changes.
  • Docker Hub mirror: The image is also available as etkecc/ketesa:latest.

โš ๏ธ Note: Ketesa requires a running Synapse homeserver to connect to. Pair it with the Element Web template for a complete self-hosted Matrix setup.

๐Ÿ“š For more information: Visit ketesa.app and the Ketesa documentation.


MOS Templates โ€“ maintained by J000K3R

This site uses Just the Docs, a documentation theme for Jekyll.