#!/usr/bin/env ruby
# encoding: utf-8

require 'rubygems'
require 'tweetstream'
require 'colorize'


track =  ['envivio','node.js','#ruby','dockstar','#bordeaux']
TweetStream::Client.new('username','password').track( *track ) do |status|
	status.text.gsub!("\n", "")
	status.text.gsub!(/(\#\w+)/,'\1'.colorize(:green))
	print "[#{status.user.screen_name}]".ljust(20).colorize(:white), "▶".colorize(:red) ," #{status.text}\n"
end