marklogic-community / RunDMC

MarkLogic application for running a developer site
http://developer.marklogic.com/code/rundmc
Other
17 stars 18 forks source link

Show star and fork counts for Github-hosted code pages #582

Open dmcassel opened 8 years ago

dmcassel commented 8 years ago

For projects hosted on GitHub, periodically retrieve the number of stars and forks. Display those. This could be useful for indicating which projects are popular.

The problem with these metrics is people don't tend to un-star or delete forks. Corona has 38 stars and 10 forks, even though it was replaced by MarkLogic 6's REST API. Better metrics?

popzip commented 8 years ago

+1 for usefulness Maybe also include "Last updated"?

dmcassel commented 8 years ago

I like the idea of including last updated.

dmcassel commented 8 years ago

Fields available at https://api.github.com/repos/{account}/{repo}:

dmcassel commented 8 years ago

DMC currently runs on ML7. The responses come back from the GitHub API in JSON. I could process that in XQuery, but it would be easier in SJS. As such, pushing this one off for now.