Skip to content

chinzhening/github-metrics

Repository files navigation

github-metrics

Github coding metrics dashboard generated from WakaTime and GitHub statistics.

Dependencies

  • Node.js
  • Typst
  • WakaTime API key
  • GitHub access token

Themes

The dashboard theme is controlled by the Typst theme input in templates/theme.typ. If you do not pass a value, the dashboard uses dark.

Supported values:

  • dark and light for the built-in default palettes
  • catppuccin-latte
  • catppuccin-macchiato
  • everforest-light
  • everforest-dark

Example:

typst compile --input theme=catppuccin-macchiato templates/report.typ public/report.svg

How It Works

GitHub Actions
	|
	v
src/main.ts
   |      \
   |       +--> GitHub API
   +--> WakaTime API
	|
	v
public/out.json
	|
	v
templates/report.typ
	|
	v
public/report.svg

Demo: public/report.svg

About

The github-readme-stats API has been down for the longest time and I need the metrics display for my profile.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors