Open a browser by clapping twice (inspired by Iron Man)
Recently, I watched Iron Man and was inspired by the scene where Tony Stark claps twice to activate his computer. (https://www.youtube.com/watch?v=OT2b5KzMoC0&t=101s) I thought, “I want to try that!". So I wrote a simple script that opens Google Chrome — and optionally a local file — when I clap twice. Technically, I recorded sample clap sounds and analyzed their frequency content in MATLAB (most energy was around 1.4–1.8kHz). Then I built a real-time detection system in Python using a bandpass filter and peak detection to recognize claps and trigger an action. Is it…
What it does
In the maker’s words, at launch
Recently, I watched Iron Man and was inspired by the scene where Tony Stark claps twice to activate his computer. (https://www.youtube.com/watch?v=OT2b5KzMoC0&t=101s) I thought, “I want to try that!". So I wrote a simple script that opens Google Chrome — and optionally a local file — when I clap twice. Technically, I recorded sample clap sounds and analyzed their frequency content in MATLAB (most energy was around 1.4–1.8kHz). Then I built a real-time detection system in Python using a bandpass filter and peak detection to recognize claps and trigger an action. Is it practical? Maybe not. But it’s fun. Imagine this: you're about to Netflix and chill and open Netflix with two claps. Or you're about to give a presentation and launch your slides like Tony Stark. Just clap twice. GitHub: https://github.com/Yutarop/two_claps_open
Does the same job
all alternatives →

- RGRandomly generated metal riffs using Web Audio API and React2016 · djen.co · ▲275

- USUse-sound, a React hook for sound effects on the web2020 · joshwcomeau.com · ▲131

More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 2d ago · opentrailpaper.com

Launched alongside, June 2025
the whole month →- IM
Hey HN! Pilots everywhere are required to keep a logbook of all their flying hours, aircraft, airports, and so on. Since I track everything digitally (some people still just use paper logbooks!), I put together some data visualizations and a few 3D globes to show my flying history. This globe is probably my favourite so far: https://jameshard.ing/pilot/globes/all If you’ve got ideas for other graphs or ways to show this kind of data, I’d love to hear them!
Life & fun · 2025 · jameshard.ing

Stunning presentations with AI. No design skills required.
AI · 2025 · chroniclehq.com

Build native mobile apps for iOS and Android without code.
Dev tools · 2025 · bble.io

All your connections, across all your socials.
AI · 2025 · pally.com
- WC
I was the main contributor to workout.lol, an open-source fitness app to easily build a workout routine. The project had traction (1.4k GitHub stars, 95 forks, ~20K visits/month), but was eventually sold due to video licensing hurdles. The new owner stopped maintaining it, and the repo went abandoned. Over the next 9 months, I sent 15 emails to try to save it : no replies. Feature requests & issues were ignored. The community was left with a "broken" tool let's say. I couldn't just let it die So I built the new version from scratch with the same open-source spirit, but a better…
Dev tools · 2025 · github.com