Installation
There is a demo instance of gomuks web compiled to wasm available at https://demo.gomuks.app. However, the performance is significantly worse than with a native backend, so the demo is only meant for testing with a small account.
An Electron wrapper is also available, which includes the backend. The setup steps below can be ignored when using the desktop app. Just install the app and open it.
The Android wrapper does not currently come with the backend, which means you have to run the backend elsewhere. Something like a Raspberry Pi plus Tailscale (or another Wireguard solution) for external connectivity usually works nicely.
New gomuks terminal currently requires the backend to be running separately. An embedded backend mode will be added later. It also doesn't support Matrix login yet, so the backend must be set up using the web frontend before the terminal frontend can be used.
Setup steps
- Acquire a binary using the instructions below (either installing a package or compiling from source)
- Run the binary. It'll prompt you to create basic auth credentials on the first run. They're not your Matrix credentials.
- Open the web interface (at http://localhost:29325 by default)
If you want to have gomuks behind a reverse proxy, you'll need to adjust
listen_address and origin_patterns in the config file.
Installing a package
Prebuilt binaries can be found in GitHub releases or GitLab CI where every commit is built. Desktop builds are stored on update.gomuks.app rather than GitLab artifacts.
The release and CI binaries are statically built and have no hard dependencies.
However, the gomuks backend requires having ffmpeg and ffprobe in $PATH
to generate metadata when sending video files.
Direct links to latest CI binaries:
- gomuks backend (includes web frontend): linux/amd64, linux/arm64, linux/arm, macos/arm64, windows/amd64
- gomuks terminal (frontend only): linux/amd64, linux/arm64, linux/arm, macos/arm64
- gomuks android (currently frontend wrapper only): arm64-v8a.apk, x86_64.apk
- gomuks desktop: debian/amd64, debian/arm64, linux/amd64 (zip), linux/arm64 (zip), macos/arm64, windows/amd64
There are also some community-maintained distro packages. If you've made a new package, please add it to the list below.
- Void Linux: gomuks
Compiling from source
- Install Go 1.26 or higher.
- Compiling the frontend for gomuks web also requires the latest LTS of Node.js or higher (currently v24).
- Clone the repo:
git clone https://github.com/gomuks/gomuks.git && cd gomuks - Build:
./build.sh(build.sh will build the frontend with npm, followed by running go build with some additional flags).- To add custom build tags, set them in the
GO_BUILD_TAGSenvironment variable, which the build script will read.
- To add custom build tags, set them in the
Simply pull changes (git pull) and run ./build.sh again to update.
To build the terminal frontend, use ./build-terminal.sh. The backend and
terminal frontend are separate binaries for now.
Common compilation issues
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATHmeans you forgot to install C/C++ compilers.//go:build comment without // +build commentmeans your Go version is outdated.cannot load embed: malformed module path "embed"orpackage embed is not in GOROOTmeans your Go version is very outdated.cannot find package "maunium.net/go/gomuks/..." in any of:usually means your Go version is extremely outdated.
Docker (gomuks web)
The backend for gomuks web can also run in Docker. Docker images are available
at dock.mau.dev/gomuks/gomuks.
On first run, gomuks will interactively ask for basic auth credentials, so you
have to either run it with the -it flags, or create the config file yourself.
You'll likely also have to follow the instructions for connecting to a remote
backend in the FAQ.
The docker image defaults to GOMUKS_ROOT=/data, so remember to persist /data
appropriately (e.g. by mounting a host directory there).
Keep in mind that the backend has all your encryption keys, which means it must be ran in a secure location.