Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Allows to track tweets about events and hashtags in real time.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
public
views
.gitignore
LICENSE
README.markdown
Rakefile
application.rb
config.ru
config.yml
environment.rb
init.rb
search.rb

README.markdown

Twitter Stream

DESCRIPTION

Twitter Stream allows to track tweets about events and hashtags in real time. It is a small application powered by ruby with Sinatra framework.

Twitter Stream is not affiliated with Twitter, Inc.

PRE-REQUISITES

Twitter Stream makes use of a handful of ruby gems, it is:

Sinatra

sudo gem install sinatra

HAML

sudo gem install haml

JSON

sudo gem install json

You may want to use the Thin as web server, make sure you have it installed, however, install it:

sudo gem install thin

USAGE

Run init.rb to create database and tables:

ruby init.rb

Change the term variable in file search.rb and run to capture tweets about a keyword or hashtag (term):

ruby search.rb

Execute the thin server (or other) to start application:

thin start -p PORT -R config.ru

Where PORT is the URL number port. to use another environment add the command '-e ENVIRONMENT', where ENVIRONMENT can be :test, :development or :production.

CONTRIBUTERS

LICENSE

Copyright (c) 2009 Cleiton Francisco

Twitter Stream is released under the MIT License. See the LICENSE file for details.

Something went wrong with that request. Please try again.