reward extensionA system tray app that plays a reward sound when your code succeeds. Works with any editor, any terminal, any build tool. Folder Structure
Quick Start
The app runs silently in your system tray. Right-click the tray icon to open the menu. First-time Setup
CLI Integration — The
|
| Option | Description |
|---|---|
| Good girl! (Test Sound) | Play sound immediately, bypassing cooldown |
| Enabled | Toggle the app on/off |
| Settings... | Open settings window |
| Quit | Exit the app |
Settings
| Setting | Default | Description |
|---|---|---|
| Sound file | — | Path to your .mp3 / .wav / .ogg |
| Cooldown (ms) | 1500 | Minimum time between plays |
| Enabled | true | Master on/off switch |
Settings are saved to your OS user data directory automatically.
Building a distributable
# Install electron-builder (once)
npm install
# Build for current platform
npm run dist
Output goes to the dist/ folder.
How It Works
- The tray app starts a local Unix socket (or Windows named pipe)
- The
ggCLI connects to that socket and sends"play" - The tray app plays the sound via a hidden Electron
BrowserWindow - If the tray app is not running,
ggsilently exits — your build pipeline is never broken
Good girl!