lib4dev icon indicating copy to clipboard operation
lib4dev copied to clipboard

Feature request: Most stars/forks in last month (or some time period)

Open dancyfits opened this issue 8 years ago • 3 comments

First off, congrats on the launch! And making it to the product hunt front page! I'm excited to have come across this and will definitely be using this tool a lot. Onto the feature request.

The current sort options don't account for the age of a repo.

Example: I've noticed that while React has more overall forks and stars than Vue, Vue has been consistently getting more stars per day (from what I've seen on trending). React has just been around longer (not saying anything against React or endorsing Vue).

I think it would be helpful to be able to have that information.

Also, check out RepoCheck. Github

They've got an interesting way of measuring repo health by comparing opened vs closed issues and pull requests. Might be able to fit something like that in somewhere.

I've got a lot of free time, and am willing to try adding the sort options if you'd like. But I'm sure you'd be able to do it much easier/quicker 😄

Another example: The top result for most stars in CSS Processors http://www.lib4dev.com/info/geuis/helium-css/472860 hasn't been updated in over 3 years

dancyfits avatar Jan 10 '18 23:01 dancyfits

@dancyfits Thanks! I'll look into this.

amitmishrg avatar Jan 11 '18 02:01 amitmishrg

A lot of unnecessary JSON requests to do it with the Github API alone. Looks like this is what other projects are using for the same result: https://www.githubarchive.org/

dancyfits avatar Jan 11 '18 02:01 dancyfits

Looks like the latest GitHub GraphQL API can do it. Would make rate limits way less of a problem, too.

dancyfits avatar Jan 11 '18 03:01 dancyfits