Development / Summer of Code / 2025 / MetaBrainz

Cette page n’a pas été vérifiée par l’équipe de documentation (plus d’information).

The MetaBrainz Foundation is a non-profit that believes in free, open access to data. It has been set up to build community maintained databases and make them available in the public domain or under Creative Commons licenses.

The projects listed here do not relate to any one *Brainz.

Getting started

(see also: Getting started with GSoC)

Ideas

Matrix room archiver

Proposed mentor: julian45 (possibly zas, lucifer?)
Languages/skills: TBD languages/Matrix/Docker/Prometheus
Estimated project length: 350 hours
Difficulty: Medium

Last summer, we migrated from IRC to Matrix for communication. We have BrainzBot (a fork of BotBotMe), an IRC-based bot that reads all messages and logs them to a Postgres database. These logs are displayed on chatlogs.metabrainz.org. Although we have a functioning IRC-Matrix bridge so that BrainzBot's chatlogging still works, BrainzBot is unmaintained and uses dependencies with known vulnerabilities. Due to this and our focus on Matrix as our communications platform of choice, we would quite prefer to move BrainzBot's functions to a more modern bot.

The target solution should be Matrix homeserver-agnostic (i.e., not necessarily require reading out of a specific homeserver implementation's database), be able to run in a Docker container, and expose a metrics endpoint for monitoring/alerting with Prometheus and Grafana (though Sentry would be a nice bonus). In addition, there are a few commands (e.g., macros for recalling specific reaction images, giving kudos to another user) that should be accommodated by the new bot.