Inspiration
OpenWhip lets you crack a whip at Claude Code when it is slow. We thought that was the wrong direction. Models do better work when you encourage them, so we swapped the whip for concert glowsticks and the threats for cheers.
What it does
openCheer puts two 3D glowsticks on your screen, one for each hand, in a first-person view. Wear a Vexo band and shake your wrist: the glowsticks follow your hand at 208 Hz, every swing leaves a trail and sparks, and a real shake types an encouraging message into your coding agent. Keep shaking and it sends one cheer every 3 seconds, each with a frenzy of light and sound. With no band, the mouse does the same job.
How we built it
An Electron app with a transparent, click-through overlay drawn in plain JavaScript and HTML. The band talks over USB; we read its motion frames with koffi, blend the gyro and the accelerometer for the lean and the forward swing, and detect shakes from gyro speed. Keyboard automation types the cheer on macOS, Windows, and Linux. All sound is synthesized in the app, with no audio files. We started from the OpenWhip code.
Challenges we ran into
- A long shake counted as one shake until the wrist went still, so only one cheer went out. We made a continuous shake send a cheer on a timer.
- Shakes made the sticks swing wildly sideways. We hold the lean still while the wrist is fast.
- The first cooldown was 20 seconds, which felt broken. 3 seconds feels right.
- The first 3D wands looked like lightsabers. We restyled them as short, thick concert glowsticks.
- The app must never type a cheer into Messages, so it checks the front app first.
Accomplishments that we're proud of
The glowsticks follow a real wrist at 208 Hz with no visible lag. The whole thing is two dependencies and about 30 KB of code. It installs with one npm command.
What we learned
How to turn raw gyro and accelerometer data into motion that looks right, and that the feel of an effect (cooldown, size, feedback on every swing) matters more than the feature list.
Deepgram
openCheer sends the microphone through a Pipecat pipeline in voice/voice.py to Deepgram streaming speech-to-text. When a transcript contains a cheer phrase, the sidecar prints CHEER, and openCheer runs the same typed cheer, frenzy and cheerCooldownMs (3 s) cooldown as a band shake.
What's next for openCheer
Two bands, one for each hand. Cheers that match what the agent is doing. A crowd mode where a whole team cheers one agent.
Built With
- deepgram
- gemini
- minimax
- vexo