WebCalTides is a neat little Ruby/Sinatra server for putting tides, currents and solar data on your calendar.
Written to replace sailwx.info
's "Tide calendars to go"
(http://tides.mobilegeographics.com/
), which was awesome for what it was but
doesn't seem to work anymore. Who knows, maybe it'll come back... but in the
meantime, enjoy!
This service can be found at webcaltides.org.
First, bundle install
.
Then you'll need a Geonames account for lat/long => timezone conversion -- they're free, go get one. After you register, the API won't work immediately - there's some delay. At some point after, you'll need to log back in and one-time manually enable web services access.
Then update server.rb:Server#configure
with your username and you're off to
the races.
OR, just use this one at webcaltides.org!
rackup
or puma
works great. Writes to a cache directory, basically
stores every bit of intermediate work.
Check server.rb header.
Use GitHub for issues, patches welcome.
Free as in beer, IFF you give me visible credit! Mmm, beer..
Originally written by Jordan Ritter, with contributions from Paul Schellenberg to support Canadian stations.