Making money with Project Fugu
summary
A browser POS demo that prints receipts, opens cash drawers and drives customer displays is built using Project Fugu APIs: web USB, web serial and web HID; barcode scanners arrive as keyboard events or HID reports. The prototype is ready in weeks but represents years of work handling ESC/POS vs Star command sets, multiple code pages, 203/180/576 DPI quirks and cash drawer pulses. A set of libraries including thermal-printer-encoder encodes payloads and the demo works and ships to conferences worldwide.
AI-written summary · about
chapters (11)
- 0:00Introduction to Project Fugu
- 1:48Project Fugu and hardware APIs
- 6:34Building the cash register demo
- 9:28Talking to receipt printers
- 14:48Internationalization challenges
- 18:07Cash drawers and printer ports
- 21:39Receipt printer chaos
- 24:13Customer displays and serial ports
- 27:12Web USB vs web serial
- 31:15Barcode scanners as keyboards
- 33:04Project Fugu’s impact on web apps
