Github Trending Repos API
Well, it’s not really an API. It’s a nifty little gem that fetches Trending Repositories from Github. I needed to get a list of Top Github Repos each week for a project. I tried going with the Official Github API but there was no support for Trending Projects. I also tried getting data from Unofficial RSS Feeds (1, 2), but they weren’t working for some reason as well.
So before finally giving up and writing my own scraper, I came across this awesome command-line utility git-trend that lists top repos. I extracted most of the functionality and turned it into a gem. You can view it’s Source on Github. To use, add this to your
Or, you can install via:
Some things that you can do with it are:
1 2 3 4 5 6 7 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18