This code gets all followers from configured Mastodon account (local and remote) and track variations of them, posting the results to Mastodon account by a private mention.
app/libraries | ||
followers.py | ||
LICENSE | ||
README.md | ||
requirements.txt |
Followers
This code gets all followers from configured Mastodon account (local and remote) and track variations of them, posting the results to Mastodon account by a private mention.
Dependencies
- Python 3
- Postgresql server
- Mastodon account.
Usage:
Within Python Virtual Environment:
-
Run
pip install -r requirements.txt
to install needed libraries. -
Run
python followers.py
to setup and create new Postgresql database and needed tables in it the first time it's running. Then it will get followers values and post them privately. -
Use your favourite scheduling method to set
python followers.py
to run and desired pace.