taigrr/spank
Slap your MacBook, it yells back. Uses Apple Silicon accelerometer via IOKit HID. observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 99
- Release rhythm 91
- Longevity 13
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 2
- age_days: 192
- days_rel: 61
- days_push: 11
- n_releases_24m: 12
Adoption not part of the score
4966 stars · 264 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A novelty macOS CLI tool that detects physical slaps on a MacBook using the Apple Silicon accelerometer (Bosch BMI286 IMU via IOKit HID) and plays audio responses. It ships as a single dependency-free Go binary with multiple audio modes and tunable sensitivity.
Use cases
- make my MacBook yell when I slap it
- play custom sounds when hitting my laptop
- detect physical taps using the Apple Silicon accelerometer
- prank tool for MacBook owners
- read accelerometer data via IOKit HID on macOS
When to choose
- you have a supported Apple Silicon MacBook (M2+ or M1 Pro) and want a fun novelty toy
- you want a single-binary, no-dependency accelerometer-based sound tool
- you want to experiment with IOKit HID sensor access in Go
When to avoid
- you need a serious motion-detection or sensor-logging application
- you are on Linux, Windows, or Intel Macs
- you cannot run the tool with sudo privileges
Facets
cli-tool · maturity active
cli audio-processing developer-tools developer-tools hardware entertainment cli go accelerometer apple-silicon iokit novelty fun single-binary command-line macos
1 source
- readme: https://github.com/taigrr/spank · fetched 2026-08-28 · 93a0a5bed738
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| taigrr/spank | main | 79 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem