routes/README.md

28 lines
704 B
Markdown

# 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 uploaded picture
- Click route names 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
Create `config.js` from the example and set your secret there:
```sh
cp config.example.js config.js
```
```js
window.ROUTES_SECRET = "your-secret";
```
`config.js` is gitignored. This is a simple client-side gate, not strong server-side security.