ronsengupta / tripper

A Sinatra-based web application demonstrating the Twitter for Ruby and ChartKick APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tripper

A simple Sinatra app for interacting with the Twitter API, and graphically displaying results using Chartkick. Deployed on Openshift at http://www.t-ripper.net/.

Deployment

Originally deployed on Heroku and now migrated to Openshift.

Description

The app allows a user to search by Twitter handle and displays various statistics back, including:

  • Pie graph of the sources (devices) the selected user accesses to post to Twitter;
  • Bar graph showing the days the user posts to Twitter;
  • Timeline of the user's Twitter activity; and
  • Timeline showing source/ device activity over time.

Technical description

Tripper makes use of the Ruby for Twitter API and Chartkick

The app uses application-only authentication to authenticate to the Twitter API. There is no requirement to use Twitter credentials.

Statistics for the graphs are based on the previous 200 tweets posted by a user. This provides a good baseline of the user's activity, while avoiding Twitter API rate limits.

About

A Sinatra-based web application demonstrating the Twitter for Ruby and ChartKick APIs

License:MIT License


Languages

Language:JavaScript 47.1%Language:Ruby 24.8%Language:CSS 17.0%Language:HTML 10.9%Language:Shell 0.1%