The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

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):

  1. Have the most lines added?
  2. 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:

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 the committed_at key 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.