This post originated from an RSS feed registered with Ruby Buzz
by Gabriel Horner.
Original Post: Github Bookmarklet For User Pages
Feed Title: Tagaholic
Feed URL: http://feeds2.feedburner.com/tagaholic
Feed Description: My ruby/rails/knowledge management thoughts
I have a confession to make. I use githuball the time. In order to feed the addiction, I decided to logically awesomeize github’s user page. What ensued was a jQuery plugin/bookmarklet which enhances the github user page with repository sorting. And yes, my addiction has only gotten worse.
When you’re on a github user page (exemplar awesome dude), paste the above bookmarklet in your address bar and hit enter. While you’re waiting for it to fetch the user’s data, you’ll see a bookmarklet status box. Once it’s loaded you should notice two major changes: a sort box above the first repository and the number of watchers and forks in their upper right hand corner of each repository. For defunkt’s page, it’ll look like this:
With the sort box, you can now sort a user’s repositories by name, fork count or watchers count in ascending or descending order!
Install
So if you like the bookmarklet and want to use it again, here are some ways to install/reuse this bookmarklet:
You can drag the above bookmarklet link to your bookmarks toolbar. When you’re on a github user page, click on it to start the bookmarklet.
If you’re on firefox, you can use the ubiquity extension to create a command to execute the bookmarklet as a command from your address bar.
For a browser-independent web command similar to ubiquity, I’d recommend queriac. Since I use it often and am its primary developer, I’m slightly biased. Here’s the queriac command for this bookmarklet.
If you want the bookmarklet on all the time, you can make a greasemonkey script from this bookmarklet and put it up on their script repository.
If you make a web command from this bookmarklet, let me know and I can link back to it here.