ruvector/examples/pwa-loader
Claude d6f63979bc feat(pwa-loader): add in-browser RVF seed decoder PWA
Build a minimal zero-dependency PWA under examples/pwa-loader/ that
decodes RVQS cognitive seeds and .rvf files in the browser:

- index.html: single-page app with file input, QR scanner button,
  decoded seed info display, evidence viewer, and dark/light theme
- app.js: WASM module loading with JS fallback, RVQS 64-byte header
  parsing (matching rvf-types binary layout), TLV manifest decoder,
  RVF segment parser using WASM exports, QR camera scanner via
  getUserMedia + BarcodeDetector API, file drag-and-drop handler
- style.css: CSS variables for dark/light themes, mobile-first
  responsive layout, monospace hex display
- manifest.json: PWA manifest for standalone install
- sw.js: cache-first service worker for offline support

The WASM path is configurable via window.RVF_WASM_PATH (default
./rvf_wasm_bg.wasm). Gracefully falls back to pure JS parsing when
WASM is unavailable. No external CDN dependencies.

https://claude.ai/code/session_01RnwD4x5cbpB7FPvoyYQz8G
2026-02-15 18:38:10 +00:00
..
app.js feat(pwa-loader): add in-browser RVF seed decoder PWA 2026-02-15 18:38:10 +00:00
index.html feat(pwa-loader): add in-browser RVF seed decoder PWA 2026-02-15 18:38:10 +00:00
manifest.json feat: QR encoder, PWA loader, no_std fixes (swarm WIP) 2026-02-15 18:37:19 +00:00
style.css feat: QR encoder, PWA loader, no_std fixes (swarm WIP) 2026-02-15 18:37:19 +00:00
sw.js feat: QR encoder, PWA loader, no_std fixes (swarm WIP) 2026-02-15 18:37:19 +00:00