amitmishrg / lib4dev

Find awesome libraries and make your development fast.
https://lib4dev.herokuapp.com/
MIT License
182 stars 52 forks source link

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

Open dancyfits opened 6 years ago

dancyfits commented 6 years ago

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

amitmishrg commented 6 years ago

@dancyfits Thanks! I'll look into this.

dancyfits commented 6 years ago

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 commented 6 years ago

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