GitHub Diff in Gmail

Posted by Ktoso on 22/06/2010 – 16:32

Hi there, below is the (horribly trashy and chaotic – as it was hacked up in about 2/3 hours) source for my Google Gmail Contextual Gadget.

It extends Gmail by parsing all links passed in an email, and if an github commit link is found it displays the diff for this commit. With coloring etc – just as github would. It’s really fairly easy to get this kind of things going, and if your working with Google Apps (using gmail in your domain etc) you can use this, and many more gadgets (though I didn’t find much of them really useful – that’s why I’ve written this one).

The source can be downloaded, and fixed (which I hopefuly will have time to do! As it’s a mess, let’s say, “proof of concept”): http://github.com/ktoso/GitHubDiff (It’s on the MIT license).

Read the full story to see instalation instructions as well as documentation links…

HOW TO INSTALL:
It can be installed by your own into gmail, if you’re running on Google Apps -just by creating an new Application on the Market and then adding it to your Account. If you’d like me to polish and publish this to the Google Enterprise Market – you’d have to fund me the publish fee, 100$… ;-)

DOCUMENTATION:
Contextual Gadgets: http://code.google.com/apis/gmail/gadgets/contextual/

jQuery – getJSON: http://api.jquery.com/jQuery.getJSON/
GitHub API – http://develop.github.com/p/commits.html

LICENSE:
The source is MIT licensed, feel free to use it as a base for your own projects etc. It’s nothing particularly well written etc ;-)

Enjoy github in your gmail – two amazing webapps in one… :-)

Tags: , , , , , ,

This post is under “coding, english, fun” and has 3 respond so far.

3 Responds so far- Add one»

  1. 1. glebnsk Said:

    I want to quote your post in my blog. It can?
    And you et an account on Twitter?

  2. 2. Ktoso Said:

    Of course! :-) Spread the git love/joy!
    I’m ktosopl on twitter.

Post a reply