dfm / osrc

The Open Source Report Card
http://osrc.dfm.io
MIT License
1.03k stars 135 forks source link

Repository page stuffs #158

Open elifoster opened 9 years ago

elifoster commented 9 years ago

Firstly, the URL should be case insensitive (https://osrc.dfm.io/satanicsanta/SatanicBot vs https://osrc.dfm.io/satanicsanta/satanicbot).

Secondly, we should get some more data from the repositories. This could include languages (kinda like user pages), number of contributions, etc.

Walkman100 commented 9 years ago

we should get some more data from the repositories

Provided GitHub API supports it.

elifoster commented 9 years ago

@Walkman100 after skimming the repo API stuff, it doesn't seem the former would be possible, but the latter would definitely.

Walkman100 commented 9 years ago

API: https://developer.github.com/v3/ Go to https://api.github.com/repos/Walkman100/Walkman at the bottom one of the tags is "language": "PHP",, so I'm pretty sure It's possible. There's also other useful stuff at the bottom. Command to run to get the info outside of a browser:

curl -i https://api.github.com/repos/Walkman100/Walkman