How to write a Matrix bot with Maubot
summary
Hands-on steps for a working Matrix bot: create a Python virtualenv, install Maubot, register a second Matrix account for the bot, deploy a plugin and start an instance via the web UI; the workshop builds a Hello world command, a weather command calling an external JSON API (wttr) and Ubottu features: RSS, package version lookups and a time query. It also shows flood protection and image redaction using an external classifier; the demo mostly works with small config fixes.
AI-written summary · about
chapters (14)
- 0:00Matrix bots and Maubot
- 10:44Accounts and environment setup
- 21:24Installing Maubot
- 23:09Maubot interface and plugins
- 41:15Basic Maubot plugin
- 49:29Interactive commands and APIs
- 56:58Existing Maubot plugins
- 1:04:21Debugging the welcome command
- 1:06:35Ubu bot project structure
- 1:13:10Power levels and moderation
- 1:16:30External APIs like Launchpad
- 1:19:21Anti-spam and image filtering
- 1:27:12Image events and flood protection
- 1:27:55Q&A
related talks
39mAutomate the Boring Stuff with Slackbot
54mMessenger BOT using Flask API
28mHere Come The Robots - Django and Machine Learning
31mBuildbots Rollout!
31mLeveraging an instant messaging protocol to build a scalable cloud architecture
21mThe Elephant and the Serpent: Using Mastodon with Python
27mTelegram bots with Python? Why not?
11mCreate a Custom Chat Bot with Python
