504 B
504 B
Pi-Hole stats tweeter
Send a daily tweet with your Pi-Hole statistics!
How to use
- Install Python 3
pip install -U -r requirements.txt
- Copy config.ini.example to config.ini and adjust it
api_path
= Path to your /admin/api.php of Pi-Hole- Tokens: Create an application here
- Run it!
Cronjob
This will tweet your stats at 23:59 everyday and redirects output to /dev/null:
59 23 * * * python3 /path/to/pihole_tweeter.py >/dev/null 2>&1