🦀 Blazing fast stats cards for everything
Current list of available cards:
-
Wakatime languages (compact with progress)
Endpoint:
/v1/top-langs/wakatime?username=Toil -
Github languages (compact with progress)
Endpoint:
/v1/top-langs/github?username=ilyhalight* Required
GITHUB_TOKENin.env -
Github Activity Graph
Endpoint:
/v1/activity/github?username=ilyhalight&period=3_months&with_title=trueSupport disabling title with param
with_title:true(default)false
Support select period with param
period:3_months(default)6_monthsyear
* Required
GITHUB_TOKENin.env -
Huggingface Pin Repository
Endpoint:
/v1/pin/huggingface?username=openai&repo=whisper-large-v3-turbo&show_owner=true&type=modelSupport select repo type with param
type:modeldatasetspace
Support show owner name with param
show_owner:truefalse(default)
* Required
HUGGINGFACE_TOKENin.env -
Github Extra Pin Repository
Endpoint:
/v1/pin/github?username=ilyhalight&repo=stats-cards&show_owner=trueSupport show owner name with param
show_owner:truefalse(default)
Cyrillic supported!
-
Github Extra Pin Gist
Endpoint:
/v1/pin/gist?id=6f47e86d2510bce28f8e7f42ae84c716&show_owner=trueSupport show owner name with param
show_owner:truefalse(default)
Cyrillic supported!
List of planned cards:
- [WIP] Github Streak
- [WIP] Wakatime Streak
- [WIP] Github stats
* links contain design examples
You can select theme for your card with param theme=THEME_NAME. Default theme is catppuccin-macchiato.
Let's check other available themes here
To run your own instance:
- Install Docker
- Build the image
docker build -t "stats-cards" .- Run container
docker run -p 7674:7674 stats-cards-
Install Rust 1.75+
-
(Optional) Run for developing:
2.1. Install cargo watch:
cargo install cargo-watch
2.2. Run live server:
cargo watch -x run
-
Run for Production:
3.1. Build:
cargo build --release
3.2. Run a stats-cards file:
./target/release/stats-cards
Written with ❤️ & 🦀