python – Some gists on github have very many forks. How can I find the most recently active and/or heavily modified? – Stack Overflow
Posted by jpluimers on 2025/12/30
Interesting read: there is even an API for it (which you need to be logged on for in order not to get a rate limit): [Wayback/Archive] python – Some gists on github have very many forks. How can I find the most recently active and/or heavily modified? – Stack Overflow
Thanks [Wayback/Archive] Michael Goldshteyn, [Wayback/Archive] rob006, [Wayback/Archive] Chankey Pathak and [Wayback/Archive] ikwyl6 for solving this both for gists and regular github repositories:
Q
Is there a way to see which of them (in order of importance, but partial answers are OK, too):
- Have the most lines added?
- Have been updated recently?
…, in some sort of automated fashion
C
You should be able to automate this by using API and browsing commits in forks:
- [Wayback/Archive] api.github.com/gists/2961058/forks
- [Wayback/Archive] api.github.com/gists/4595125/commits
A
I wrote a quick python script based on rob006‘s suggestion. The idea is to go over the list of forks and then for each
commit_url, get thecommitted_atkey and print the result sorted by the same.…
A
I created a similar python script to @Chankey above but mine does repos and not gists and shows a little bit more info (shows ahead and behind commits as well).
…
[Wayback/Archive] GitHub – ikwyl6/git-diff-forks: Show all the diffs of forks for an upstream github repository
Note that [Wayback/Archive] ikwyl6 · GitHub has another interesting repository on which I will blog later (some 10 months from now).
Query: [Wayback/Archive] view forks of gist – Google Search
--jeroen






Leave a comment