Dashboard, insights, and statistics for the *craft applications and libraries.
https://mr-cal.github.io/starcraft-stats/html/index.html
This project contains a few parts:
- A Python command-line application that retrieves, processes, and stores data in a set of CSV and JSON files.
- A static webpage that loads and displays the JSON as tables and CSV as graphs.
- A nightly cron job to refresh data
Data is updated once a day, but you can manually trigger the
data-collection
workflow in GitHub.
Update the starcraft-config.yaml
file.
It's a Python package with a CLI, so it can be installed and run locally.
You will need a github token. You can create a new fine-grained token in your settings page.
export GITHUB_TOKEN=<your token from github> pip install -e . starcraft-stats --help
Web browsers will not run Javascript from a local webpage. The easiest way to view the webpage locally is to run a web server:
- Install Visual Studio Code
- Install the Live Server extension
- Open the
html
directory in Visual Studio Code - Right-click on
index.html
and select "Open with Live Server"
Contributions are encouraged!