Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josefkenny/usercount
User statistics bot for Mastodon
https://github.com/josefkenny/usercount
Last synced: 2 months ago
JSON representation
User statistics bot for Mastodon
- Host: GitHub
- URL: https://github.com/josefkenny/usercount
- Owner: josefkenny
- Created: 2017-01-15T19:31:13.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-07T13:55:21.000Z (over 1 year ago)
- Last Synced: 2024-08-02T12:22:46.069Z (5 months ago)
- Language: Python
- Size: 331 KB
- Stars: 52
- Watchers: 3
- Forks: 19
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mastodon-cn - usercount\-
- awesome-mastodon - usercount - Bot which posts user statistics to Mastodon (Python). (Bots)
README
Mastodon User Count Bot
=======================A bot which posts user statistics to [Mastodon](https://github.com/tootsuite/mastodon).
### Dependencies
- **Python 2**
- [gnuplot](http://www.gnuplot.info/) version 5 or greater
- [Mastodon.py](https://github.com/halcy/Mastodon.py): `pip install Mastodon.py`
- Everything else at the top of `usercount.py`!### Usage:
1. Edit `config.txt` to specify the hostname of the Mastodon instance you would like to get data from.
2. Create a file called `secrets.txt` in the folder `secrets/`, as follows:```
uc_client_id:
uc_client_secret:
uc_access_token:
```3. Use your favourite scheduling method to set `./usercount.py` to run regularly.
Call the script with the `--no-upload` argument if you don't want to upload anything.
Note: The script will fail to output a graph until you've collected data points that are actually different!