https://github.com/rossta/optical
A visual history of tweet frequency
https://github.com/rossta/optical
Last synced: 7 months ago
JSON representation
A visual history of tweet frequency
- Host: GitHub
- URL: https://github.com/rossta/optical
- Owner: rossta
- License: mit
- Created: 2013-03-04T13:59:56.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2015-12-04T14:30:42.000Z (over 10 years ago)
- Last Synced: 2025-02-15T10:57:02.329Z (about 1 year ago)
- Language: Ruby
- Homepage: http://opticalfuzz.herokuapp.com/
- Size: 498 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OptiCal
A visual history of tweet frequency

Visit [OptiCal](http://opticalfuzz.herokuapp.com/) and enter a Twitter handle.
Lovingly crafted with [ember.js](http://emberjs.com/), [d3.js](http://d3js.org/), [twitter](https://github.com/sferik/twitter), and [sinatra](http://www.sinatrarb.com/).
More on [Devpost](http://devpost.com/software/optical)!
## Development
Clone the project:
```
$ git clone https://github.com/rossta/optical.git && cd optical && bundle
```
Running OptiCal currently requires Ruby 2.2.2, Ruby's Bundler gem, and
credentials for using the Twitter API. Create a [new Twitter
app](https://apps.twitter.com/) to generate the necessary access keys and
tokens. Optical (via the Twitter gem) will pick these up when exported as
environment variables as shown below:
```
$ export TWITTER_CONSUMER_KEY=aaaaaaaaaaaaaaaaaaaaaa
$ export TWITTER_CONSUMER_SECRET=bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
$ export TWITTER_OAUTH_TOKEN=cccccccccccccccccccccccccccccccccccccccccccccccccc
$ export TWITTER_OAUTH_TOKEN_SECRET=dddddddddddddddddddddddddddddddddddddddddd
$ bundle exec thin start # starts the web server
```
You can also install the `foreman` gem which will allow you to run the app with
the `Procfile`:
```
$ gem install foreman
$ foreman start # starts the web server
```
If everything works, you should be able to visit `http://localhost:5000` in your
web browser.