# taigrr/spank

Slap your MacBook, it yells back. Uses Apple Silicon accelerometer via IOKit HID.

Repository: https://github.com/taigrr/spank
Canonical: https://ross.abutalabs.com/products/spank
Language: Go
License: MIT
License Family: permissive
Topics: accelerometer, apple-silicon, fun, go, iokit, macos
Last push: 2026-08-23T02:33:18+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 91, longevity 13
- inputs: {"age_days": 192, "days_push": 11, "days_rel": 61, "gap_med": 2, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4966, forks 264 (observed 2026-08-28T04:09:03.994252+00:00)

## What it is
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
- artifact type: cli-tool
- maturity: active
- function: cli, audio-processing, developer-tools
- domain: developer-tools, hardware, entertainment
- platform: cli, go
- tags: accelerometer, apple-silicon, iokit, novelty, fun, single-binary, command-line, macos

## Member repositories
- taigrr/spank (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:03.994252+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:17:46.472831+00:00, confidence not recorded.
  - readme: https://github.com/taigrr/spank (fetched 2026-08-28T04:09:03.994252+00:00, sha 93a0a5bed738)
- Data as of 2026-08-30T08:39:29.467469+00:00.
