Skip to content

invalidarg/regatta-rules

Repository files navigation

Regatta Rules

A static editor for drawing sailing regatta situations with boats, marks, start/finish lines, keyframes, rule references, and shareable URLs.

Run Locally

Open index.html in a browser, or serve the folder with the included static server.

node dev-server.mjs

Then visit http://localhost:8000.

Share Format

The whole situation is serialized into the URL hash:

#s=...

That keeps the app backend-free and compatible with GitHub Pages. Export/import JSON is included for larger or archival situations.

GitHub Pages

This repo includes .github/workflows/pages.yml. To publish:

  1. Push the repo to GitHub.
  2. In repository settings, enable Pages with GitHub Actions as the source.
  3. Push to main; the workflow uploads the static files.

Rule Text

The app stores rule references and short summaries, with links to the official World Sailing Racing Rules of Sailing source. Full online reproduction of the rulebook may require permission from World Sailing, so use the notes field for your own permitted quotes or commentary.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors