List Your GitHub and BitBucket Projects On WordPress

Over the weekend I put a full day into creating and completing a WordPress plugin that probably doesn’t appeal to anybody except for developers: A tool to list your github and bitbucket projects right inside a post or on your side bar.

You can see it in action on my projects page.

Basically, I was tired of updating my long-obsolete project list. These days, everything I do is kept on a publicly-hosted repository anyway, so why not pull my project info from those places so it updates automatically?

The plugin is simple to use. Just insert something like:

{{github:katzgrau}}

In your post or page where you want the list. Here’s a real-life example of the output:

I use BitBucket for CodeIgniter-related projects, and GitHub for pretty much everything else. So on my project page, I actually do:

{{github:katzgrau,bitbucket:katzgrau,sortby:watchers,sortdir:desc}}

Which pulls projects from both github and bitbucket, combines them, sorts them, and displays a list. A widget which comes with the plugin will do the same thing if you just want to list projects in your sidebar.

Anyway, check it out. You can find it in the WP admin plugin panel by searching for ‘GitHub’. Then just look for the ‘GitHub and BitBucket Project Lister‘. You can find the github repo (where it’s developed) here: https://github.com/katzgrau/wordpress-github

This entry was posted in Uncategorized. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.