Free, fan-made walking guides to real F1 street circuits: Monaco, Baku, Singapore, Las Vegas and Melbourne.
Live: f1walk.drumandbytes.dev · More Drumandbytes projects
A progressive web app that walks you around a circuit corner by corner. Each corner has the apex speed, gear and distance into the lap, a description of the racing line, and history: crashes, lore, who won there. With GPS on, the app advances to the next corner as you approach. A landing page lets you pick a circuit from a world map.
- GPS auto-advance once you're in range of the next corner, with a guard for corners that sit close together. The Auto button turns it off.
- Corner markers turn orange as you approach.
- Works offline after the first load: the app shell, visited map tiles, and an explicit "download map for offline use" button.
- Visited corners and best lap time are saved on your device (no account) and shown on the circuit page and the hub cards.
- The screen stays awake while GPS is active. Fullscreen works on Android and desktop, not iOS.
- No cookies and no personal data. GPS never leaves the device; the only analytics are aggregate page views from Cloudflare Web Analytics.
Install it from Safari (iOS: Share → Add to Home Screen) or Chrome/Brave (Android: install prompt or menu).
GPS uses the browser Geolocation API. Every few seconds it measures the Haversine distance to the next corner and advances once you're close and past the previous one. Battery impact is about the same as keeping Maps open.
build.js (plain Node, no dependencies) renders templates/ plus circuits/<slug>/ into dist/: one flat dist/<slug>.html per circuit, plus dist/index.html for the hub. dist/ is not committed.
| Path | What it is |
|---|---|
templates/circuit.html, templates/hub.html |
Shared page templates |
circuits/<slug>/data.js |
Racing line, corners and facts |
circuits/<slug>/meta.json |
Titles, descriptions, per-circuit copy |
circuits/<slug>/seo.html |
Hidden crawlable content block |
sw.js, manifest.json |
Service worker (app shell, OSM tiles) and PWA manifest |
tools/align.html |
Dev-only tool for aligning the racing line and corners against real GPS data |
To preview a change, run node build.js and open the file in dist/. just build, just test and just deploy wrap the common commands.
- Create
circuits/<slug>/withdata.js,meta.jsonandseo.html, copying an existing circuit. - Use
tools/align.htmlto align the racing line and corner positions against map data. - Run
node build.js. The hub picks up the new circuit automatically.
Pushes to main build and publish dist/ to Cloudflare Pages through GitHub Actions. The workflow needs two secrets: CLOUDFLARE_PAGES_API_TOKEN (the org-level dnb-ci-pages-deploy token, managed in dnb-cloudflare-tf/tokens.tf) and CLOUDFLARE_ACCOUNT_ID. To deploy by hand:
node build.js && npx wrangler pages deploy dist --project-name monaco-f1-walkRacing line GPS from bacinger/f1-circuits (MIT, OpenStreetMap source). Map tiles © OpenStreetMap contributors. The historical facts are original writing.
Found a corner that's off or a wrong fact? Open an issue.
Unofficial fan project, not affiliated with Formula One Licensing B.V., the Fédération Internationale de l'Automobile, or any circuit's organising body. "Formula 1", "F1" and related marks are trademarks of Formula One Licensing B.V.
Built with the help of an AI coding assistant (Claude). I review and test what gets published.
MIT, see LICENSE. Third-party attributions and the fan-project disclaimer are in NOTICE.
Made by Maris · Buy me a coffee

