DEV Community

Luke Hagar
Luke Hagar

Posted on • Edited on

The next generation of GitHub profile stats

There are several great tools and guides out there for collecting statistics on your GitHub profile

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:

Luke Hagar's GitHub stats

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!

Top comments (0)