~/talk

How to write a Matrix bot with Maubot

Talkat Ubuntu Summit 2024 · 2024-10-25..10-27· [python]
links:none on file
links:none on file
slides:none on file

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

  1. 0:00Matrix bots and Maubot
  2. 10:44Accounts and environment setup
  3. 21:24Installing Maubot
  4. 23:09Maubot interface and plugins
  5. 41:15Basic Maubot plugin
  6. 49:29Interactive commands and APIs
  7. 56:58Existing Maubot plugins
  8. 1:04:21Debugging the welcome command
  9. 1:06:35Ubu bot project structure
  10. 1:13:10Power levels and moderation
  11. 1:16:30External APIs like Launchpad
  12. 1:19:21Anti-spam and image filtering
  13. 1:27:12Image events and flood protection
  14. 1:27:55Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.