Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Installation of plugins very unclear #54
I am trying to get this up and running with most of the available plugins. The problem I was having, was I didn't even know how they needed to be packaged when uploading. I tried .zip files from github, then tried just the .py files. Only later did I learn I needed mbp files.
For the plugins that don't have mbp releases, I still don't know what to do. I tried to figure out the build method, but it is very unclear how to even start a build from within the docker cli.
I was running the Maubot management server in a docker container, I then cloned the maubot/maubot repo to my host machine and ran setup.py to install dependencies. I then cloned whichever bot I wanted (e.g. the dice bot) under the maubot repo in a directory named dice. If you issue mbc build , e.g. mbc build dice, you end up with a mbp file. If you navigate to your maubot manager UI, e.g. localhost:29316, you can upload the mbp file.
You then have to register a set of credentials for the bot on the synapse homeserver and get the access token for that user. In the maubot manager create a client connection with the credentials you just registered and the access token. Then you create an instance of the bot using the user and plugin.
Finally, in riot.im I invited the bot to a private chat and I was able to interact with the bot.