Inspiration
Two minutes before a campus showcase, the host switches to a headset. The singer still needs the handheld four minutes later. Which instructions should the stage manager change, and which crews need a new copy?
What it does
CuePatch turns an English rehearsal note into proposed edits to a real cue sheet. Each suggestion shows the cue ID, the old and new wording, and a quote from the note. The caller approves individual edits. Only departments affected by an approved change need a new calling copy. Operators can open a revision-specific mobile link, print their sheet or take a standalone HTML copy offline.
At showtime, the caller sees the current and following blocks, calls simultaneous cues together, and can undo a mistaken call. The desk keeps revision history, call times and handoff records on the caller’s device. A production backup can be imported on another device.
How I built it
The web desk and the signed Android app both call Firebase AI Logic at runtime with Firebase App Check. On-device only is the default. The caller can explicitly allow Firebase to prefer the local model and fall back to the cloud. After inference, the app shows the source returned by the SDK and rejects unknown cue IDs, duplicate edits and evidence that cannot be found in the note. The Android app bundles the show desk, runs inference through the native Kotlin SDK and can open or share files through Android. The web desk uses a service worker for offline show calling.
What I tested
In a six-cue web rehearsal, Firebase returned only the host’s microphone cue in 1.9 seconds. After the caller approved it, Sound needed revision 2, Camera’s copy stayed current, and the singer kept the handheld. A separate camera-only note returned VC-02. An unchanged rehearsal returned no edits.
On a physical Galaxy A54 5G, the released APK ran the opening microphone check. Firebase reported cloud inference in 4.3 seconds, with AU-01 as the only proposed change. An Android 14 emulator also restored the next cue block after the app was closed and reopened in airplane mode. All 22 automated web tests passed.
What I learned
The number that matters backstage is the last revision each department actually received. CuePatch records the handoff separately from approval. Device support also depends on whether a local model is ready. The Pixel 10 Pro and Galaxy S25 Ultra tested in Firebase Test Lab reported local inference unavailable. The private-mode Samsung run ended with cloud execution disabled. Successful Gemini Nano inference and time savings in a crew rehearsal are still to be verified.
Built during the hackathon
I built CuePatch for Web and Android during the event, including the original rehearsal data, caller and review workflows, exports, mobile interface, tests and deployment. My earlier Riven site informed the visual design. I used Codex during implementation.