25–27 Oct 2024
The Hague, Netherlands
Europe/Amsterdam timezone

How to write a Matrix bot with Maubot

27 Oct 2024, 09:30
1h 30m
Princess Ariane - Workshop Room (World Forum The Hague)

Princess Ariane - Workshop Room

World Forum The Hague

100
Show room on map
Workshop (90 Minutes) Infrastructure

Speakers

Grégory Schiano Lomoriello
Canonical
Nils Büchner

Description

We build a Matrix bot with Maubot - a plugin-based Matrix bot system written in Python. We already have some bot available like Ubottu or Queuebot and we would love to add some more to the Ubuntu Matrix ecosystem.

The workshop includes a short talk-like intoduction to Maubot and how bots work on Matrix.
We will have a quick look at the bots we created for the Ubuntu community so far.

Then we setup a Python virtual environment to create or first "Hello world" bot.
Next steps are to add some custom functionality to that bot.
The rest of the time will be dedicated to helping poeple with questions and maybe discuss your own ideas for bots and how to implement it.

Things you should bring to the workshop:

  • Laptop
  • VSCodium / Visual Studio Code (recommended) or any other Python editor
  • Basic Python skills
  • Basic knowledge of Matrix
  • A Matrix account for yourself is required and a second account for the bot you want to create is recommended.
    To get a Matrix account see this list of servers.
    Ubuntu members and Canonical employees please see the onboarding instructions.

You can join our Matrix room if you have any questions or suggestions. You can also find the latest workshop materials in the room.

Session author's bio

Grégory and Nils are part of the Matrix Council. They set policies and ensure the Matrix community is running great. Nils is also the maintainer of the Ubuntu Matrix bot (Ubottu).

Social Media https://matrix.to/#/#summit-2024-maubot:ubuntu.com
Level of Difficulty Intermediate

Presentation materials