Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An example app built with Sinatra, Mustache and MongoDB

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 config Initial sinatra template & html template November 19, 2009
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 templates
Octocat-spinner-32 views
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 config.ru
README.md

GitHub Watchtower

An example application built in Sinatra, Mustache, MongoDB. I created this to better learn this particular tech stack. It monitors twitter and hacker news (for now) for mentions of GitHub and displays them for you. Much of the setup and code structure came from defunkt (on a closed source app).

Example Screenshot

This application doesn't have a lot of immediate usefulness that services like BackType already offer, except that you can host this yourself.

Dependencies

  • MongoDB
  • Mongo.rb
  • Sinatra
  • Mustache
  • Shotgun

Starting the app

rake start and then browse to http://localhost:9393

TODO

  • Add in a test suite (what? blasphemy!)
  • Have an idea of read/unread items
  • Move polling to the server, do not depend on browser being open
  • Monitor Hacker News comments in addition to stories
  • Ignore / Save (favorite?) events
Something went wrong with that request. Please try again.