Initial routes webpage

This commit is contained in:
marijo 2026-06-29 07:36:10 +00:00
commit 0b901a8a9f
5 changed files with 732 additions and 0 deletions

22
README.md Normal file
View file

@ -0,0 +1,22 @@
# Routes
A small static webpage for saving and sharing Google Maps route links.
## Features
- Add routes with name and Google Maps link (mandatory)
- Optional date, description, and picture URL
- Click route names or **Open map** to open saved Google Maps links
- Edit, remove, share, or copy route links
- Data is stored locally in the browser with `localStorage`
- Simple secret gate before the app opens
Open `index.html` in a browser to use it.
## Secret
The current demo secret is `change-me`. Before publishing, replace `AUTH_SECRET_HASH` in `app.js` with the SHA-256 hash of your real secret. This is a simple client-side gate, not strong server-side security.
```sh
printf 'your-secret' | sha256sum
```