Github traffic views and clones notifier for discord.
Github Traffic Notifier used by discord webhook.
This software notifies views and clones in your public repositories.
repo: foo
views: 290
clones: 109
repo: bar
views: 200
clones: 187
total views: 490
total clones: 296
create .env
at project root dir.
GITHUB_TOKEN="YOUR GITHUB TOKEN"
DISCORD_WEBHOOK_URL="YOUR DISCORD WEBHOOK URL"
USER_NAME="YOUR GITHUB USERNAME"
GITHUB_TOKEN
requires only repo: public_repo
scope.
# create venv
python3 -m venv env
# activate venv
source env/bin/activate
# install requirements library
pip3 install -r requirements.txt
python3 main.py
If you run on Heroku, you can use Heroku Scheduler.
You can configure job python main.py
to it and run this script.
You don't need Procfile.
This Application is licensed under the Apache-2.0 License