twitter2campfire icon indicating copy to clipboard operation
twitter2campfire copied to clipboard

Publish a Summize Twitter search feed to Campfire

twitter2campfire.rb

Publish a Twitter summize feed to Campfire

This script allows you to monitor a Twitter search feed using Campfire.

Here's how to get it set up:

Pre-run: make sure to install gem dependencies:

sudo gem install tinder rio hpricot htmlentities

then:

  1. Check out the repo:

git clone git://github.com/paulca/twitter2campfire.git

  1. Copy 'run_example.rb' to 'run.rb' and edit it with your credentials and a feed url ( from http://search.twitter.com )

  2. Set a cron script to run the script every minute. Something like this should do it:

          • cd /home/twitter2campfire/; ruby run.rb

Hallelujah, you got Twitter in your Campfire, sweet!

Follow me on Twitter for updates: http://www.twitter.com/paulca