Git Brag is an open source web application (or CLI) that creates a simple report of the contributions you've made to open source projects on GitHub. It reads the Pull Requests you've written over a given period of time to create a contribution summary, and then breaks down the Pull Requests by project and size. For an added bonus it also shows how many additional stars each project got over the selected time period.
Already sold and want to just try it out? Check out my report as an example, or create your own!
For the past several years I've worked on an open source project in the last week of December. This year I decided to get a bit meta and wrote Git Brag (which you can find on GitHub), as I really wanted a way to see all my contributions in a single place. I also wanted this to be easy to share, so beyond making sure it was pretty (pulling profile data from GitHub to do so) it also has extensive caching to allow folks to view a generated report without having to log in.
The contribution summary breaks down the number of Pull Requests, size distribution, and the top languages of the GitHub user. The top languages are calculated directly from the files changed in each Pull Request, not aggregated from the repository itself, making it very accurate for a given user.
Besides the summary you can see a break down of every pull request that has occurred. This is sorted by repository, includes your relationship to the repository (owner of the repository, member of the repository organization, or simple contributor), and includes the star increase for it. This can be really helpful if you want to highlight how much a project you own has grown in popularity.
The website isn't the only way to use tool. You can take advantage of the CLI, installable directly from PyPI or runnable with UVX.
If you like this I hope you also check out some of my other projects! If you're wondering how I'm able to build so many things so quickly you should also check out my secret sauce, Rob's Awesome Python Template, as a way to bootstrap your own open source projects.



