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.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spla cd0265f292 Fix errors 3 weeks ago
app/libraries Fix errors 3 weeks ago
LICENSE First release 3 weeks ago
README.md First release 3 weeks ago
requirements.txt First release 3 weeks ago
spamguard.py Fix errors 3 weeks ago

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.