In November, I launched afterhours.reidab.com, a little site to display the #afterhours hashtag used by many Portlanders to discuss their late-night activities on Twitter. The concept of pairing design with Twitter search results appealed to me and I soon spawned other sites tracking bacon, electric blankets, those damn kids these days with that noise they call music, and CyborgCamp.
I've recently cleaned up and improved the code that powers these sites and am releasing it as an open-source project: TweetScope. It's all written in Ruby using the Sinatra web framework, both of which make me happy.
Setting up your own site with TweetScope is pretty simple.
- Grab a copy of the source from GitHub:
git clone git://github.com/reidab/tweetscope.git
- Create a new site:
- Edit your new site's config.yml file to tell it what to search for and set other options.
- Test things out by running
ruby tweetscope.rband visiting http://localhost:4567 in your browser.
- Edit the CSS and template files to customize your site's design and structure.
If you end up setting up your own sites, I'd love to know about it. Enjoy!