How Signify (ppt-remote) works: hand gestures and a phone laser pointer for your slides
By Pranav T · · 4 min read
Short answer
Signify (now called ppt-remote) is a free presentation remote that runs in the browser. Your laptop webcam reads hand gestures with MediaPipe, running on the GPU in a Web Worker, so slides change without a clicker. Scanning a QR code turns your phone into a remote and gyroscope laser pointer. A small Go server only handles pairing; after that the phone talks to the laptop directly over WebRTC, at about 2 to 10 ms on the same Wi-Fi. Slides and webcam video never leave the laptop.
What is Signify?
Signify started as a way to change slides without holding a clicker. Version 1 was built with Django and OpenCV: every webcam frame was sent to the server, and slides came back as JPEGs. It worked, but it was slow and it sent your camera to a server.
Version 2, now called ppt-remote, is a rewrite in which the video never leaves your laptop. It does two things:
- Hand gestures: your laptop webcam turns finger patterns into next, previous, point, draw and undo.
- Phone as a remote: scan a QR code and your phone becomes a clicker and a gyroscope laser pointer. Nothing to install.
How does hand gesture detection work in the browser?
The webcam runs through MediaPipe Hand Landmarker on the GPU inside a Web Worker, with only one frame in flight at a time, so the slides never stutter. Each frame is reduced to a simple five-finger pattern: which fingers are up and which are down. A small gesture engine maps those patterns to actions:
| Gesture | Fingers up |
|---|---|
| Next slide | Pinky |
| Previous slide | Thumb |
| Point | Index |
| Draw | Thumb and index |
| Undo | Index, middle and ring |
| Show text | Index, middle and pinky |
Three rules stop accidental triggers. The hand must be above the bottom quarter of the camera view, so resting hands are ignored. A pattern has to be held for about 3 frames. One-shot actions such as next slide have a 1-second cooldown. All of the patterns can be changed on the home page.
How does the phone pair with the laptop?
The Go server is only a matchmaker. Pairing takes five steps:
- The laptop calls
POST /api/sessionsand gets a session ID, a presenter token and a remote token. - The laptop opens a WebSocket and shows a QR code for
/r/{id}, with the remote token in the URL fragment (#…). Browsers never send the fragment to the server, so the token stays out of server logs. - The phone opens the link and the server tells the laptop
peer-joined. - The server relays the WebRTC offer, answer and ICE candidates between the two.
- The WebRTC DataChannels open, the badge switches to “Direct”, and from then on the server is out of the loop.
Pairing happens on the home page, so the QR code is never projected for the room to scan. Closing the presenter tab ends the session, and a session whose presenter vanishes expires after 90 seconds.
Why two WebRTC DataChannels?
Pointer movement and button presses need opposite things:
pointeris unordered with no retransmits, which behaves like UDP. If a frame is lost, the next one replaces it.controlis reliable and ordered, because a “next slide” press must never be lost or arrive twice.
Pointer updates are 8-byte binary frames with an absolute screen position and a sequence number. Late frames are dropped, so the dot never drifts or plays catch-up. On the laptop the updates skip React entirely: the laser dot moves with a GPU translate3d inside a single requestAnimationFrame.
| Path | Typical latency |
|---|---|
| Direct, same Wi-Fi (WebRTC) | About 2 to 10 ms |
| Through the cloud relay (WebSocket) | 60 to 150 ms |
If a direct link can’t be made, for example on venue Wi-Fi that isolates devices, the server relays messages over WebSocket instead. It keeps only the latest pointer frame for each client, so there’s never a backlog.
How does the gyroscope laser pointer work?
The phone reads its gyroscope and turns rotation into an absolute position on the screen. Rotation is measured relative to how you’re holding the phone, so the angle doesn’t matter. It then goes through acceleration, drift correction and light smoothing.
Hold Pointer to point. Every press re-centres the dot, so drift never builds up and there’s nothing to calibrate. While holding, drag down to draw and drag up to stop. Phones without a gyroscope get a touchpad mode instead.
What files does it support?
PDFs render in the browser with pdf.js and are never uploaded. PowerPoint, PPTX and ODP files are uploaded once, converted to PDF on the server with headless LibreOffice, and sent back. Animations and transitions are flattened in that conversion.
What is it built with?
- Frontend: React 19, strict TypeScript, Vite, pdf.js, MediaPipe Tasks Vision, GSAP
- Backend: Go (standard library plus coder/websocket) and headless LibreOffice
- Protocols: WebRTC DataChannels, plus WebSocket for signalling and the relay fallback
- Deploy: one Go binary with the frontend embedded, a Docker image, or a Render Blueprint
Frequently asked questions
- Can I use my phone as a laser pointer for presentations without an app?
- Yes. Open ppt-remote on your laptop, scan the QR code with your phone and hold Pointer. The phone’s gyroscope moves a laser dot on the slides. It works in the phone’s browser on iPhone and Android; iPhone asks for motion access first.
- Does ppt-remote send my webcam video to a server?
- No. Hand gestures are detected in the browser with MediaPipe, and PDFs are rendered locally with pdf.js. Only PowerPoint files are uploaded, once, to be converted to PDF.
- Why does the pointer sometimes lag on office Wi-Fi?
- Many office and venue networks stop devices talking to each other, so the connection falls back to the cloud relay at 60 to 150 ms. Using a phone hotspot or adding a TURN server restores the direct link.
- What was Signify 2.0?
- It was the earlier name of ppt-remote. Version 1, built with Django and OpenCV, sent webcam frames to a server; version 2 runs gesture detection entirely in the browser.