Skip to content

cleitonfco/twitter-stream

Repository files navigation

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.

About

Allows to track tweets about events and hashtags in real time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages