2026-03-12 16:06:06 +01:00
2025-01-09 15:27:49 +01:00
2026-03-12 15:10:57 +01:00
2025-01-09 15:27:49 +01:00
2026-03-12 14:24:25 +00:00
2025-02-25 17:25:00 +01:00
2026-03-12 16:05:21 +01:00
2026-03-10 17:54:15 +00:00

maubot

deploy's an instance of the maubot-plugin-system for a matrix home server

  • Category: Apps
  • Status: 0
  • Image: maubot, 4, upstream
  • Healthcheck: No
  • Backups: No
  • Email: No
  • Tests: No
  • SSO: No

Quick start

  • abra app new maubot
  • abra app config maubot
  • abra app secret insert <app-name> homeserver_registration v1 "your-homeserver-shared-registration-secret"
  • abra app secret generate <app-name> -a
  • abra app deploy <app-name>

Usage

You can use maubot...

via the web interface

After deployment head to: $DOMAIN/_matrix/maubot/ and login with your admin-user and password

via the cli

Bot users and plugins can be most easily be uploaded via cli.

General info on the cli: https://docs.mau.fi/maubot/usage/cli/index.html

You can install the cli locally or access it in the container:

abra app run $DOMAIN app sh

Deploy a plugin and create a bot user via abra scripts

Furthermore there are useful scripts:

1. deploy plugin from git repro

Most existing plugins are on github. Here you find links to the repos: https://plugins.mau.bot/ . To deploy it simply copy the URL to the ZIP of the repo (e.g. https://github.com/maubot/reminder/archive/refs/heads/master.zip) and then:

abra app cmd <APP-NAME> app deploy_plugin <DOMAIN_OF_REPO_ZIP>

2. assign an (existing) user as bot user via ssh

abra app cmd <APP-NAME> app assign_bot_user_via_sso

This will show an url to sign in via ssh. After sso-login the user will be a bot user in maubot.

Now you are ready to go to create an instance (i.e. a plugin connected to a bot user) via web interface.

3. installing further needed dependencies

If the plugin you want to install has any further python-dependencies, you can manually install them by creating a requirement.txt, copying it to /tmp in the app container (eg. with abra cp) and run install_packages

abra app cp <APP-NAME> ./path/to/your/local/requirements.txt app:/tmp/
abra app cmd <APP-NAME> app install_packages

pip (documentation here). The requirement.txt file can also specify module versions, which might be helpful for stability. https://pip.pypa.io/en/stable/reference/requirements-file-format/

4. plugin development

Plugin / Bot development is quite straight forward. needed: mbc

abra commands:

mbc login mbc build -u -s

More

For more, see official documentation of maubot docs.mau.fi/maubot.

Description
A plugin-based Matrix bot system
Readme 58 KiB
Languages
Shell 96%
Roff 4%