Setup
Requirements
- A Matrix homeserver that supports application services (e.g. Synapse). You need access to register an appservice, which usually involves editing the homeserver config file.
If you want to compile Meowlnir manually (which is not required), you'll also need:
- Go 1.26+ (download & installation instructions at https://go.dev/doc/install).
Installation
You may either compile Meowlnir manually or download a prebuilt executable from the mau.dev CI or GitHub releases. Prebuilt executables are the simplest option, as they don't require having Go installed.
Option 1: Downloading a prebuilt executable from CI
- Download the relevant artifacts:
- linux/amd64: https://mau.dev/maunium/meowlnir/-/jobs/artifacts/main/download?job=build%20amd64
- linux/arm64: https://mau.dev/maunium/meowlnir/-/jobs/artifacts/main/download?job=build%20arm64
- linux/arm: https://mau.dev/maunium/meowlnir/-/jobs/artifacts/main/download?job=build%20arm
- or find it yourself on https://mau.dev/maunium/meowlnir/-/pipelines
- Extract the downloaded zip file into a new directory.
Option 2: Downloading a release
- Go to https://github.com/maunium/meowlnir/releases
- Download the binary for the architecture you want and save it in a new directory.
Option 3: Compiling manually
- Clone the repo with
git clone https://github.com/maunium/meowlnir.git - Enter the directory (
cd meowlnir) - Run
./build.shto fetch Go dependencies and compile (build.shwill simply callgo buildwith some additional flags).
Configuring and running
- Follow the configuration instructions to create a config file and registration.
- Register the registration file with your homeserver (see Registering appservices in the bridge docs for details).
- Run Meowlnir with
./meowlnir. - Follow the instructions on the Creating bots page to actually initialize your bot, then the Configuring bots page to tell the bot what to do.
Updating
If you compiled manually, pull changes with git pull and recompile with
./build.sh.
If you downloaded a prebuilt executable, simply download a new one and replace the old one.
Finally, start Meowlnir again.