spamguard counts Mastodon server sign ups and set the registration setting in approval mode if the configured threshold is reached (5 signups per minute is the default). It will post the new situation to the Mastodon server host.
Go to file
spla 723e6edc78 First release 2023-05-17 21:01:10 +02:00
app/libraries First release 2023-05-17 21:01:10 +02:00
LICENSE First release 2023-05-17 21:01:10 +02:00
README.md First release 2023-05-17 21:01:10 +02:00
requirements.txt First release 2023-05-17 21:01:10 +02:00
spamguard.py First release 2023-05-17 21:01:10 +02:00

README.md

spamguard

spamguard counts Mastodon server sign ups and set the registration setting in approval mode if the configured threshold is reached (5 signups per minute is the default). It will post the new situation to the Mastodon server host.

Dependencies

  • Python 3
  • Mastodon's bot account with admin rights

Usage:

Within Python Virtual Environment:

  1. Run pip install -r requirements.txt to install all needed libraries.

  2. Run python spamguard.py. First time run will ask parameters to configure everything.

  3. Use your favourite scheduling method to set python spamguard.py to run every minute.