As at least one observant Twitter user has noticed, I’m testing out a new Twitter client. Earthquake, from jugyo (十行), is a Command Line Interface Twitter client similar to Console Tweet but with support for Twitter’s Streaming API.
Installation and usage
To get started, install Earthquake via RubyGems:
gem install earthquake
The gem installs a command line application, invoked via
earthquake. The first time you run the application, you’ll be redirected to Twitter in a new browser window to authorize the application and provide a PIN to enter into the Earthquake prompt to complete the OAuth setup:
~ » earthquake ~ 1) open: http://api.twitter.com/oauth/authorize?oauth_token=UF5HD9XH8pvAQtrhvQwpO0iZmyvLgJ8sGhEPdhLA 2) Enter the PIN:
Once authenticated, you’ll get a nifty lightning bolt prompt (⚡) from which you can tweet, search, even eval Ruby:
# tweet ⚡ Hello World! # Search ⚡ :search #ruby # Eval ⚡ :eval Time.now
Be sure and check the README for advanced usage and color customization.
Earthquake for Node.js?
Have comments? Send a tweet to @TheChangelog on Twitter.
Subscribe to The Changelog Weekly – our weekly email covering everything that hits our open source radar.