This is a network graph of a GitHub repository:
There is no indication of which fork has the most stars and watchers. The commits may be simple updates to documentation files, for example.
Is there a way to evaluate forks in GitHub to determine which ones are more active/popular?
Find the most popular fork on GitHub. GitPop3 helps you choose a fork when a project goes unmaintained. It allows you to sort forks by "Stars", "Forks" or "Commits" count. See GitPop2 for the same tool using backend tech.
Clicking the number of forks shows you the full network. From there you can click "members" to see who forked the repo.
I don't know of one, but you could probably write one easily given the breadth of API wrappers out there. An example with github3.py
would be
import github3 r = github3.repository('owner', 'repo_name') most_watched = next(r.iter_forks(sort='watchers', number=1))
As best I know, you cannot sort on stars
and repositories don't have that information returned to them. You could, however, sort on forks but you would have to do it by hand.
The above example is two lines but you can achieve the same thing like so:
curl https://api.github.com/repos/owner/repo_name/forks?sort=watchers
That won't limit how many results you get, though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With