After writing + releasing the pypi lens, I was still in the mood for some random coding. Since I now feel I have a bit of a grasp on Unity Lenses (thanks to Michael Hall’s Singlet + Quickly), I decided I may as well keep going, and make as many lenses as people would find useful. So I began to think and ask around what people would find useful, and the top answer I got was GitHub. And to make things easier, GitHub has a nice API!
The GitHub Lens searches through repos as well as users. This will be useful if you want to search for say, “Google Voice” to see if anyone has any google voice api’s hanging around on GitHub. You could also search for your friends to see if they have a github account. Lastly, if you want to list all of the repos that a given user owns, simply search for their name with a ‘@’ in front of it. This will return all of their repos, and with a fun little bonus, will use their gravatar if they have one.
Check it out below:
As usual, the code can be found on launchpad, at lp:~cwayne18/onehundredscopes/unity-lens-github
sudo add-apt-repository ppa:scopes-packagers/ppa
sudo apt-get update
sudo apt-get install unity-lens-github