mirror of
https://github.com/ublue-os/countme.git
synced 2026-11-03 14:49:48 -09:00
Read-only pull mirror of github.com/ublue-os/countme. Aurora's build fetches badge-endpoints/aurora.json from here.
|
|
||
|---|---|---|
| .github/workflows | ||
| badge-endpoints | ||
| .gitignore | ||
| countme.py | ||
| data_processing.py | ||
| generate_badge_data.py | ||
| graph.sh | ||
| growth_aurora.svg | ||
| growth_bazzite.svg | ||
| growth_bazzite_purple.svg | ||
| growth_bluefins.svg | ||
| growth_global.svg | ||
| growth_nonbazzite.svg | ||
| growth_ublue.svg | ||
| growth_ucore.svg | ||
| growth_upstream.svg | ||
| growth_upstream_with_bazzite.svg | ||
| main.py | ||
| README.md | ||
| renovate.json | ||
| requirements.in | ||
| requirements.txt | ||
| ublue.mplstyle | ||
countme
How to run locally
git clone https://github.com/ublue-os/countme
cd countme
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
./graph.sh -d
Usage
./graph.sh -dor./graph.sh --download- Downloads fresh dataset and generates graphs./graph.sh- Generates graphs using existing dataset (skips download)
The dataset only changes once per day, so you typically only need to use the -d flag once per day to get fresh data.
Badge System
This repository generates Shield.io compatible badge endpoints that display active user counts for Universal Blue projects. Add user count badges to your repository using these Shield.io endpoint URLs:
Available Badges
View the uCore weekly active-device chart.
Markdown Code
Add these to your README.md:




Badge Data Format
The system generates Shield.io compatible endpoint files:
badge-endpoints/aurora.jsonbadge-endpoints/bazzite.jsonbadge-endpoints/bluefin.jsonbadge-endpoints/ucore.json
Each file contains:
{
"schemaVersion": 1,
"label": "Active Users",
"message": "15.2k",
"color": "6c3fc4",
"namedLogo": "linux",
"logoColor": "white"
}