-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathREADME
More file actions
27 lines (14 loc) · 733 Bytes
/
Copy pathREADME
File metadata and controls
27 lines (14 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
2) Copy 'run_example.rb' to 'run.rb' and edit it with your credentials and a feed url ( from http://search.twitter.com )
3) 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