Approve merge requests with your eyes closed

submited by
Style Pass
2025-07-28 12:00:04

With the rise of vibe coding, you can (and should) open a merge request without reading it. What’s missing is being able to approve it without reading it either — or even opening your eyes.

You can test it out on the “Approve” button below if you don’t have a merge request handy. And if you don’t feel like installing the bookmarklet, then you can just click the link above to activate it on this page.

We use the Web Audio API to play a tone, and every time the mouse moves, we adjust the frequency based on distance from the “Approve” button.

I wanted the tone to have a high frequency when the mouse is close to the button, and then get asymptotically lower as it moves further away. That sounds kinda like a hyperbolic function (1/x) so I plugged some values into Desmos and made it do a regression. Perceptual pitch isn’t linear with frequency, so you just have to play with it until you find a function that sounds right.

Leave a Comment
Related Posts