2021-07-26 15:53:48 +02:00
# Mastodon's spamcheck
2022-08-15 16:55:31 +02:00
Check and store data from sign-ups registered on your Mastodon server.
2021-07-26 15:53:48 +02:00
### Dependencies
- **Python 3**
- Postgresql server
- [Mastodon ](https://joinmastodon.org ) server admin
### Usage:
Within Python Virtual Environment:
1. Run `pip install -r requirements.txt` to install needed Python libraries.
2022-08-15 16:55:31 +02:00
2. Run `python torips.py` to write Tor exit nodes IPs to new created database. You need to get the torbulkexitlist from [here ](https://check.torproject.org/exit-addresses )
2022-01-16 14:33:44 +01:00
2022-08-15 16:55:31 +02:00
3. Run `python spamcheck.py` for the first time to configure it.
2022-01-16 14:33:44 +01:00
2022-01-30 20:16:07 +01:00
4. Use your favourite scheduling method to set `python spamcheck.py` and `python torips.py` to run regularly.
2022-01-16 14:33:44 +01:00
2021-07-26 15:53:48 +02:00