Skip to content
Simple app to track me as I cycle around the world.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Update postgres CI setup Jun 24, 2019
app More map Aug 3, 2017
config More successful ActiveRecord use Jul 31, 2016
db Updated structure file Apr 28, 2017
spec Upgrade factorybot Aug 17, 2018
tasks More logging on photo rake task and skip photos with no gps data Oct 28, 2016
.ruby-version Bump Ruby and Nokogiri versions Mar 28, 2019
Gemfile.lock Bump mini_magick from 4.9.4 to 4.9.5 Jul 18, 2019 Remove status badge Aug 3, 2017
Rakefile Better namespacing for photos tasks Aug 15, 2016
dummy-env Add CircleCI Apr 29, 2017

Where is Grey?

A simple app to plot my progress around the world.

How it works

  • Route taken (so far) is built up from check-ins from my SPOT GPS tracker. Every 10 minutes a job is run to ask SPOT for all recent check-ins, and stores them (since SPOT stop making them available after 7 days)
  • If there's a discontinuity (e.g., I take a ferry across a sea) I manually mark it as such on the check-in. Otherwise all check-ins are assumed to link up
  • Proposed route map is stored as a KML document, which is then parsed and plotted on a Google map

Technical setup

  • Postgres database
  • Sinatra backend
  • Webpack/ES6 frontend

To run locally:

bundle install
npm install
bundle exec rake db:seed
bundle exec shotgun (watches and rebuilds backend)
npm start (watches and rebuilds front end)

Potential improvements

  • Explanation page (what is this website)
  • Stats page (per day elevation, hours ridden, miles travelled)
  • Better info windows on route so far (better information)
You can’t perform that action at this time.