mjkaufer
mjkaufer

Reputation: 4206

Count total lines written by a specific user throughout all its projects in Github

I'm wondering if there's a way in Github to count the total amount of lines of code a specific user has written throughout all of its projects.

git log --author="<author>" --oneline --shortstat would list the amount of code for a given repo, but I'm wondering if there is a way to list all the code a user has ever pushed to Github.

Upvotes: 7

Views: 13623

Answers (1)

mjkaufer
mjkaufer

Reputation: 4206

I've written a basic program that will do this: http://stats.kaufer.org/

The source of it is on Github here: https://github.com/mjkaufer/stats

Basically, I ended up using Github's API.

Upvotes: 15

Related Questions