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: rake site:create

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.rb and visiting http://localhost:4567 in your browser.

Edit the CSS and template files to customize your site's design and structure.

The TweetScope distribution is optimized for easy deployment to Heroku (free, as of this writing), and I've written up a little deployment guide for their platform.

If you end up setting up your own sites, I'd love to know about it. Enjoy!