Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.49 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.49 KB

WebCalTides

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.

Setup

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!

Invocation

rackup or puma works great. Writes to a cache directory, basically stores every bit of intermediate work.

TODO

Check server.rb header.

Bugs/Patches

Use GitHub for issues, patches welcome.

LICENSE

Free as in beer, IFF you give me visible credit! Mmm, beer..

CREDITS

Originally written by Jordan Ritter, with contributions from Paul Schellenberg to support Canadian stations.