How can I find the latest commit from forked repos on github?

Issue

For example I find a framework that is not maintained anymore but lots of forks. I want to see the more recent forks only. Network Graph is not available if its large.

enter image description here

Solution

You can do it with a curl:

curl -X GET https://api.github.com/repos/<owner>/<repo>/forks

For instance, the angular forks are:

curl -X GET https://api.github.com/repos/angular/angular/forks

You can add a sort parameter ?sort=<oldest|newest|stargazers>, but the default one is the newest.

Answered By – Till

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published