DEV Community

Luke Hagar
Luke Hagar

Posted on • Edited on

11

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!

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay