Skip to main content

Matrix room gatekeeper bot for the unofficial Unimore space

Reason this release was yanked:

Incorrect privacy policy

Project description

Loki Bot

Gatekeeper bot for the Unimore Informatica unofficial Matrix space

[ Website | PyPI ]

TIP: You may be looking for its predecessor, Thor Bot.

Functionality

This bot monitors a pre-configured public Matrix space for join events, sending a welcome message to every new joiner.

The welcome message contains a link, which when clicked starts the user verification process:

  1. a page describing the bot is opened, and it allows users to login with a pre-configured OpenID Connect Identity Provider;
  2. the claims of the OIDC IdP are verified, and the user's email address is checked to verify that its domain matches a pre-configured RegEx with specific email requirements;
  3. if the email address fullfils all the requirements, an invitation to a different, pre-configured private Matrix space is sent to the user.

Additionally, the bot monitors for leave events from both spaces, deleting user data if no longer needed to protect the user's privacy.

Setting up a development environment

TODO

Deploying in production

TODO

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lokiunimore-0.4.0.tar.gz (189.5 kB view hashes)

Uploaded Source

Built Distribution

lokiunimore-0.4.0-py3-none-any.whl (197.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page