Latest / Games & fun

spank

github.com · Open source · Active

Makes a MacBook play sounds when it is slapped, using its accelerometer

Visit github.com ↗Share

Stars
5k
Forks
263
Open issues
0
Last commit
Releases
12
Found
9 months ago

GitHub figures as of . They are context, not a ranking.

spank is a small Go program for Apple Silicon MacBooks that reads the built-in accelerometer through IOKit HID to detect physical hits. When it detects a slap, it plays an audio response. It ships as a single binary with no dependencies and suits macOS users who want a playful, hardware-driven novelty.

Repository description on GitHub: “Slap your MacBook, it yells back. Uses Apple Silicon accelerometer via IOKit HID.”

What it does

  • Detects physical hits on the laptop through the Apple Silicon accelerometer
  • Plays an audio response after each detected slap
  • Ships as a single binary with no dependencies

Good for

  • Add playful sound effects to a MacBook on a desk
  • Show how a hardware sensor can be read from macOS
  • Explore IOKit HID access from Go code

Suits: Apple Silicon MacBook owners who want a playful novelty tool.

Worth knowing: Needs an Apple Silicon Mac with a supported accelerometer and sudo access; other Macs are not supported.

What you can try

Download the binary from the latest GitHub release, or build it with go install and run it with sudo.

Install

go install github.com/taigrr/spank@latest

Taken from the project’s README. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw spank on , when taigrr created its repository on GitHub. The oldest published release on GitHub is v0.1.0, dated . Its first tagged release landed the same day it was found. 12 releases have been published in total; the latest is v1.3.0 ().

Day-7 and day-30 updates

Day 7 6 releases shipped

Checked , later than day 7 because tracking began after.

Day 30 10 releases shipped

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (12 in total, busiest month 6).
  1. Repository created on GitHub: taigrr/spank
  2. Found: taigrr created its repository on GitHub. GitHub
  3. Release v0.1.0
  4. Release v1.2.1
  5. Release v1.2.2
  6. Release v1.2.3
  7. Release v1.2.4
  8. Release v1.2.5
  9. Release v1.3.0
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 12 releases. All releases on GitHub

Quick answers

When was spank released?
Its first tagged release on GitHub is dated 23 Feb 2026. Kip found it on GitHub on 23 Feb 2026.
Is spank open source?
Its source is public on GitHub at taigrr/spank under the MIT licence.
What does spank run on?
macOS, Command line.
Is spank free?
It is open source, so the code is free to read and run; check the licence for terms.
Is spank still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
GitHublisting
official API record
GitHub repositorytaigrr/spank
REST API record
GitHub Releasesrelease list
REST API record

Stable ID github-1164336049. Summary written by KipFound’s editor.

Share

Similar tools

More in Games & fun

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.