As a developer, when I look around on GitHub, I can quickly see how active another user is by looking at their contribution graph.
However, it sometimes may just as important, if not more important to see how active a repository is. I want a quick, at-a-glance view of how often a repository is being contributed to. If I'm going to use a project as a dependency, I want to know that there's life in the community.
Enter repo-contrib-graph.
What does it do, you might ask?
Blammo:
It generates an ASCII contribution graph for an entire repository. Now you can see how active a repo is with just a few simple keystrokes!
First, you might want to make sure you have curl and jq installed.
Then clone this repository!
git clone https://github.com/KyleMacey/repo-contrib-graph.git; cd repo-contrib-graph
Then simply pass in a repository.
./repo-contrib-graph rails/rails
Rather copy an entire URL?
./repo-contrib-graph https://github.com/rails/rails
Have a GitHub access token to alleviate the stress of API rate limits? Then -t
is for you.
./repo-contrib-graph -t 123456789123456789 rails/rails
Your shell doesn't support color? -p
that noise.
./repo-contrib-graph -p rails/rails
For more help, simply give it a -h
./repo-contrib-graph -h
Inspired by IonicaBizau/git-stats
- Colors! A colorful representation of commit history for your viewing pleasure (#4)
- Distributed Ranges! To make the graphs more relevant (#5)
- More stats! Because who doesn't like data? (#6)
- ???