glitter

Git-Like Interface for Twitter

What is it?

The idea is to think about Twitter as a Git repository. So you can commit your status and view your friends commits in the log. Just for fun to see how far this can go!

At first you have to init your repo (resp. register glitter with your twitter account). This has to be done only once, just follow the on-screen instructions.

$ glitter init

Now look what other committers did (resp. show the other’s tweets).

$ glitter log
commit 2799873378
Author: codinghorror <Jeff Atwood>
Date:   Thu Jul 23 15:29:12 +0000 2009

    reminder: anyone who would like to beta test http://superuser.com , password
    is here http://is.gd/1J0yR

commit 2799553049
Author: TechCrunch <Michael Arrington>
Date:   Thu Jul 23 15:09:52 +0000 2009

    The Song of the PowerSquid: The Inside Story of the Life of an Invention 
    http://tcrn.ch/NuB by Guest Author

commit 2799436673
Author: olabini <Ola Bini>
Date:   Thu Jul 23 15:02:53 +0000 2009

    SUCCESS. Switching from Jacc to Jay removed another bottleneck. Yecht is now
    about 5% faster than Syck and JvYAMLb.

Or commit something (post your status to twitter).

$ glitter commit -m "command line fun with #glitter on #twitter"

As you can see there is no need to stage $ git add . something for now. But if you’ve an idea what it could be used for, let me know!

Download

You can download this project in either zip or tar formats. Or you can also clone the project with Git by running:

$ git clone git://github.com/blindgaenger/glitter

Installation

Currently this is a little tricky and non standard. Because I had to change some libraries to get things done. Therefore glitter depends on two submodules until the changes will be merged.

The first change is to rely on a fork of the twitter gem. Because Twitter updated to OAuth 1.0a, but the gem doesn’t support this yet.

The other submodule is my own fork of GLI, which is a library by davetron5000 to build the Git like command line interfaces. Nice!

$ git clone git://github.com/blindgaenger/glitter.git
$ git submodule init
$ git submodule update

Now you have your own copy of glitter. When I resolved the dependencies I’ll assemble a gem. Promised!

Contact

Questions, suggestions or need some help?

Send me an Email or have a look at my Homepage on how to get in touch with me.

Fork me on GitHub