Using the ntwitter streaming twitter client to listen for tweets matching keywords and play a notification sound when it comes in.
git clone https://github.com/miguelmota/node-twitter-alarm
cd node-twitter-alarm
npm install
Set up your twitter credentials in config.json
node index.js "burritos" "tacos"
Listening for tweets matching: burritos, tacos
> @_moogs : Need more burritos in my life Sat May 10 2014 18:16:37 GMT-0700
On Debian/Ubuntu, the ALSA backend is selected by default, so be sure to have the alsa.h
header file in place:
sudo apt-get install libasound2-dev
npm install twitter-alarm -g
cp /usr/local/lib/node_modules/twitter-alarm/config.json ~/.twitter-alarm/config.json
twitter-alarm "burritos" "tacos"
Released under the MIT License.