Skip to content

Self-hosting WizardChat

The WizardChat web app is a static site, so you can host it yourself, for example next to your homeserver so your users sign in there by default. This is only the app: your homeserver (like Synapse) is a separate thing.

Every release is published as an image that serves the app on port 80:

Terminal window
docker run -d --name wizardchat -p 8080:80 registry.gitlab.com/wizardchat/wizardchat:<version>

Use a version like 26.12.4, latest for the newest stable release, or next for the newest release of either channel. Pin a version if you want to decide when to update.

Put it behind your reverse proxy with HTTPS. Browsers only allow notifications, the microphone and the camera on HTTPS pages.

The app reads a config.json from its own address when it starts, so you can change settings without rebuilding. In Docker, mount your file over /usr/share/nginx/html/config.json.

{
"homeserverList": ["example.org"],
"defaultHomeserver": 0,
"allowCustomHomeservers": false,
"featuredCommunities": {
"spaces": ["#community:example.org"],
"rooms": ["#welcome:example.org"],
"servers": ["example.org"]
}
}
  • homeserverList: the servers offered on the sign-in and sign-up screens.
  • defaultHomeserver: which one is picked first, counting from 0, or null for none.
  • allowCustomHomeservers: whether users can type a server that isn’t in the list.
  • gifApiUrl: your own GIF search service, if you run one.
  • featuredCommunities: what Explore shows (see below).

featuredCommunities decides what your users find in Explore:

  • spaces: spaces on the Featured tab, by address (#community:example.org) or room ID.
  • rooms: rooms shown below them.
  • servers: servers whose public room directory users can browse. Without spaces and rooms, the first one fills the Featured tab.

Leave it out and Explore shows matrix.org’s rooms and the user’s own server. If you set servers, only those are offered, so "servers": [] leaves just the Featured tab and Other, where users type a server. It uses the same format as Cinny’s config.json.

A link like https://chat.example.org/welcome/example.org opens the sign-in screen with that server picked.

The full guide, including running it without Docker, is in SELFHOSTING.md.