Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Magic Clock (Ipswich hack day project)
Ruby JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
public
views
.gitignore
.rvmrc
Gemfile
Gemfile.lock
Procfile
README.md
app.rb
config.ru

README.md

Magic Clock (Ipswich hack day project)

This was my hack for the Ipswich Hack Day. It's a sinatra app that gets my location from Google Latitude, then uses geokit to check whether I'm close to certain locations. The page polls the server for hand position using ajax, and updates the angle of the hand with a CSS transition.

I'd intended to make it configurable for multiple users and places, with several people shown on the same clock, but spent most of the morning fighting with oauth and the google-api-client gem.

One day, I might get round to building it into a real clock using an Arduino.

screenshot

Something went wrong with that request. Please try again.