Gary Haran.com


Have OS X Read Your Campfire Messages To You

Posted in Uncategorized by gary.haran on the June 2nd, 2008

I’ve previously posted on how to to make Campfire less intrusive by using Growl but this one is even more fun. It takes whatever message in the room and speaks it for you using your default OS X voice.

@campfire_pass = 'enter_your_own_password'
@campfire_user = 'your@email.here'
@campfire_room = 'Main Room Or Whatever Name Room You Want'

require 'rubygems'
require 'tinder'

campfire = Tinder::Campfire.new 'standoutjobs'
campfire.login @campfire_user, @campfire_pass

campfire.find_room_by_name(@campfire_room).listen do |m|
  system("say \"#{m[:person]} says #{m[:message]}\"")
end

Season accordingly and have fun with it.

One Response to 'Have OS X Read Your Campfire Messages To You'

Subscribe to comments with RSS or TrackBack to 'Have OS X Read Your Campfire Messages To You'.

  1. Carl Mercier said,

    on June 3rd, 2008 at 12:04 pm

    I use Fluid + the Growl userscript and it works awesome. Give it a shot! More info here: http://www.robbyonrails.com/articles/2008/03/05/campfire-messages-in-growl

    And if you want pretty icons for your 37signals apps: http://www.37signals.com/svn/posts/797-fluid-wrap-your-favorite-web-apps-in-their-own-browser

    Have fun!

Leave a Reply