Ask HN: How to Do a GitHub Wrapped?
Hi HN, I'd like to do a quick "GitHub Wrapped", similar to Spotify Wrapped, where I can see how many lines of code I added / deleted from a repo this year.
Has anyone done this? Looking for an easy way to compute it.
3 comments
[ 2.8 ms ] story [ 19.4 ms ] threadhttps://docs.github.com/en/graphql/overview/explorer
You can also refer to my code here, which may already collect some of the statistics you're interested in.
https://github.com/jstrieb/github-stats/blob/master/github_s...
I predict the most annoying part of this project will be dealing with authentication. There are a handful of ways to do it, and the permissions can be finicky depending on what data you are fetching.
Best of luck!