StakeRun is a mobile-first, single-page prototype to prove the feel of a fitness commitment and staking loop. It is local-only, uses fake money, and generates fake activity—no login, no GPS.
- Create a steps challenge (date range, entry fee in pennies, target steps/day average).
- Join the challenge to deduct your stake from the wallet.
- Mock steps for today or a date range.
- Evaluate the challenge to see if you completed the goal and receive a fake payout.
- Review the wallet ledger for stakes and prizes.
index.html— single-page layoutstyles.css— mobile-first stylingapp.js— localStorage state, challenge logic, mock activity generationmanifest.webmanifest— PWA metadataservice-worker.js— offline cache
Open index.html in a browser (iPhone Safari friendly). For full PWA behavior, serve the folder with a simple local server:
python3 -m http.server 8080Then visit http://localhost:8080 on your device.
- Open StakeRun in Safari on iPhone.
- Tap the Share button.
- Tap Add to Home Screen.
- Name it “StakeRun” and tap Add.
- All data is stored in
localStorage. - Fake steps are generated only for demos.