ninya-io / ninya.io

Find StackOverflow users near you by tags and reputation
MIT License
60 stars 13 forks source link

Write github sync #34

Open cburgdorf opened 10 years ago

cburgdorf commented 10 years ago

I see two ways to look at this:

1. the simple way

We could probably get a user list sorted by follower count. We could then use the concept of "relative reputation" to directly compare SO/SF users with github users. However, this would restrict the search to not be able to filter by skills. Github users would only appear if not filtered by skills.

However, there seem to be something blocking us from retrieving users like that. I hope it can be worked out.

https://twitter.com/cburgdorf/status/472503582231887873

2. the not so simple way

We could create a list of the top N projects and then look at the contributors for each of the project. Then we create such users and map contributions to skills. E.g. contributors to the angularjs repositories get angularjs skills.

https://api.github.com/repos/angular/angular.js/contributors

The second options is more tricky and I'm more in favor of starting with one and then exploring ways to enhance our use base by the second approach.