One Tap, One Real Treat, One Dog on Camera
givemillieatreat.fun is a single page with one button. Anyone on the internet taps TREAT, a Furbo in the living room throws a kibble, and the visitor gets a minute and a half of live camera to watch Millie get it. The interesting part is what it took to make that safe: the house never accepts an inbound connection, every treat is a weighed share of her own daily ration, and the camera has a picture up in about two seconds over WebRTC before the kibble flies. 700+ treats from 57 people so far, plus a chat, snapshots that post to Discord, and a pic of the week.
Four moving parts. A Cloudflare Worker and one SQLite-backed Durable Object called Gate hold the queue, the counters and the open flag, and are the only things the internet touches. A relay in a Proxmox container at the house long-polls the Gate for presses and fires a Home Assistant webhook; it has no listening socket at all, and its firewall drops everything in both directions except three outbound destinations. Home Assistant pulses the switch an Alexa routine watches, and the Furbo tosses.