Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zapnap/holidaytweets
Simple Twitter aggregator app for Calypso holiday party
https://github.com/zapnap/holidaytweets
Last synced: 12 days ago
JSON representation
Simple Twitter aggregator app for Calypso holiday party
- Host: GitHub
- URL: https://github.com/zapnap/holidaytweets
- Owner: zapnap
- License: mit
- Created: 2009-12-01T01:11:06.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2009-12-03T01:34:31.000Z (about 15 years ago)
- Last Synced: 2024-11-12T23:45:11.172Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 172 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
- License: MIT-LICENSE
Awesome Lists containing this project
README
= Holiday Tweets
This is a tiny Twitter aggregator app built around the Retweet Sinatra app template for Calypso's holiday party. Uses the Twitter Streaming API. No push tech on the frontend though, just using simple / stupid Ajax polling for now.
== Configuration
Dependencies and all configuration is done in environment.rb. Your database and the search keywords are set up here. DataMapper will use sqlite3 by default. Tests use the sqlite3-memory adapter (no configuration needed).
Add your controller actions in application.rb. Views for these actions are placed in the views directory. Static files, including a stock stylesheet, go in the public directory. Models go in the lib directory and are auto-loaded.
== Testing
Rspec is included in the template. Add your specs in spec; just require spec_helper.rb to pre-configure the test environment. To run the specs:
rake spec
== Getting Started
rake db:migrate
rake twitter:updateruby tweet_streamer.rb start
ruby application.rb== Manual Status Updates
Run rake twitter:update to update the cached tweets if you'd rather not use the Streaming API. You can schedule this as a cron job to fire every few minutes if you like.
== Credits
Retweet base and minor mods by Nick Plante. Design and HTML by Mike Teixeira.