The next generation of GitHub profile stats
Luke Hagar
Posted on June 14, 2024
There are several great tools and guides out there for collecting statistics on your GitHub profile
- anuraghazra/github-readme-stats
- hoangsonww/Profile-Readme-Cards
- omsimos/github-stats
- sitepoint guide
- brunobritodev/awesome-github-stats
But none of those tools offer the freedom, customization, detail, privacy, or level of flair I would prefer.
So a while back I set about to implement an entirely new system of stats collection and showcasing.
Today I am happy to share how I am currently generating graphics like this one:
This graphic is generated in two parts:
- First there is a GitHub action that pulls the stats on a cron schedule using the GitHub SDK and a personal access token and saves the stats to a JSON file in the repo
- Second there is a remotion GitHub action that consumes that JSON file and generates various GIFs that I have designed ahead of time to showcase the stats however I want.
I have configured my repo as a template repository so anyone can easily use the template to collect stats for their own GitHub profiles.
I'm excited to see what things the community builds from here!
💖 💪 🙅 🚩
Luke Hagar
Posted on June 14, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.