honestly this is getting a bit over complex and silly! Should we also have google +1s and fb likes? What about # of blog posts? number of upvotes on on reddit? These are all great marketing metrics, but they dont help an end user understand which libs are *used*. 

github stars are not a measure of quality, but more of wow/coolness factor. 

lets try to stick to metrics that correspond to library usage and volume of developer activity


On Tue, Nov 5, 2013 at 1:01 AM, Charlie Paul <charlieap@gmail.com> wrote:
If we go with the star-based option, I don't see a serious reason not to add other sites as well. Though, if our goal is to get a rating of sorts from it, we would need to have factors for each hosting site, to account for varying user bases.


On Mon, Nov 4, 2013 at 9:49 PM, Carter Schonwald <carter.schonwald@gmail.com> wrote:
would we also want to integrate bitbucket and darcsden analogues as well?


On Tue, Nov 5, 2013 at 12:35 AM, Roman Cheplyaka <roma@ro-che.info> wrote:
* Simon Hengel <sol@typeful.net> [2013-11-04 23:45:36+0100]
> Or maybe just integrating GitHub stars is the way to go?  If this leads
> to more stars for Haskell projects on GitHub, this would also help to
> promote Haskell in the large open source community!

That's a great idea!

The github url can be derived by checking the homepage url and the
source repository location for the right pattern. (At least one of these
should point to github.)

Then we just need to send a GET request at

  http://api.github.com/repos/:owner/:repo/stargazers

and parse the JSON response.

To avoid the delay while loading the page, I guess it's better to do
this asynchronously on the client side.

Anyone cares to write this piece of javascript?

Roman

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe



_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe