19 líneas
668 B
Markdown
19 líneas
668 B
Markdown
|
# 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:
|
||
|
|
||
|
1. Run `pip install -r requirements.txt` to install needed libraries.
|
||
|
|
||
|
2. 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.
|
||
|
|
||
|
3. Use your favourite scheduling method to set `python followers.py` to run and desired pace.
|