← The Lab L/04 — Case study

Registro Badge

Title block
Sheet 04
Context
Gate of an industrial plant: badges for workers, drivers and visitors
My role
Concept · design · testing
Method
Vibecoding
Period
October 2026
Status
Test version · readers still to be tried on site

A badge goes out at the gate, a badge comes back. In between, someone must always be able to answer one question: who is inside right now? This program reads the badge, keeps the record and, when the alarm goes off, turns the list into a roll-call.

Main screen: people inside now, badges available, entry form and list of those inside
Fig. 01Access. The situation right now on top, the reader on the left, on the right who’s inside and for how long. Demo, invented people and companies.
The idea § 01

One read has to be enough. If the badge is free it’s an entry, if it’s in use it’s an exit; double reads and accidental exits are filtered out. Whoever is at the gate only looks at the screen when there’s something to check: an expired clearance, a blocked person, an unknown card.

And it has to work, always. It’s a single file that opens in the browser on the gate’s PC: no server, no internet, nothing to install. A USB reader types like a keyboard, so it works with the most common RFID, NFC and barcode readers; serial readers and network turnstiles are supported too.

What it does § 02
Evacuation drill in progress: people to find, people safe, list by company
Fig. 02Roll-call. To find, safe, total: what matters, in large type.
Self-service gate screen asking to bring the badge close
Fig. 03Gate. Entry or exit, recognised by itself.
Dashboard: daily figures, items to check and chart of people inside during the day
Fig. 04Dashboard. Who’s been inside too long, whose clearance has expired, the peak of the day.
Badge board: every badge as a tile, free, in use, lost or out of service
Fig. 05Badges. A board of every card: free, in use, lost.
Try it § 03 — Live demo

No reader needed: the yellow bar at the top stands in for one. Let someone in, hand out a badge, try a blocked entry. Then press the red Emergenza button and choose “È una prova”, a drill. The interface is in Italian, and whatever you enter stays in your browser.

LiveRunning inside this page. Open it full screen ↗
On a phone? The program is designed for the gate’s PC, but you can try it from here too: open it in its own tab.

Open the live demo ↗

1
Single file: no server, nothing to install
3
Reader types: USB, serial, network
150
Badges on the board, up to 999
F9
The key that starts the roll-call

Test version So far, reads have been tested with simulated inputs: trying it with physical readers on site is the next step. The sites, people and companies in the demo are invented.