Name
—
Year
—
Point the camera above at any of these codes — off another screen or a printout — to pull the matching record.
This is a real PWA: it has a manifest and service worker, so a browser will offer to install it to the home screen / app list, it gets its own icon and launches full-screen without browser chrome, and the shell works offline after the first visit.
Hosting requirement: service workers and camera access both require a secure context — HTTPS, or
localhost for local testing. Plain file:// won't register the service worker or
grant camera access. Any static host (Netlify, GitHub Pages, Vercel, your own server) works.
Swapping in real data: replace the PARTICIPANTS array below with a call to your real
backend (REST API, SharePoint, Dataverse, Firebase, whatever you use) inside lookup() —
everything else, including install/offline behavior, works unchanged.