mirror of
https://github.com/GitFrog1111/badclaude.git
synced 2026-05-01 16:57:54 +02:00
3deaabfaa622a30f22d71562fb269f27282289ef
badclaude
Tiny Electron tray app that spawns a fake physics whip overlay and fires a terminal macro when the whip "cracks".
Install + run (global CLI)
npm install -g badclaude
badclaude
Local dev
npm install
npm run dev
Controls
- Click tray icon: show overlay + spawn whip.
- Click tray icon again: drop/despawn whip (falls off-screen, overlay hides).
- Fast whip motion triggers crack detection and macro send.
- Mouse click while overlay is open also drops the whip.
Macro on crack
On each crack event, the app immediately:
- Sends interrupt (
Ctrl+Con Windows,Cmd+Con macOS) - Types a fast phrase
- Presses
Enter
Tweak physics
All whip tuning lives in overlay.html under the P settings object (segments, constraintIters, crackSpeed, gravity, arc, etc).
Notes
- Windows macro path uses
koffi+ Win32 key events. - macOS macro path uses
osascript(System Events) and requires Accessibility permission for the app/terminal runningbadclaude. - MVP/hacky by design.
Description
Languages
HTML
59%
JavaScript
41%