Terminal Meme Error Sounds 🎵💥 Plays random meme sounds whenever a terminal command fails in VS Code. Because errors deserve dramatic reactions. 🚀 Features 🔊 Plays a random meme sound when: A terminal command exits with non-zero status Terminal output matches common error patterns A task fails (build/test/npm/etc.) A terminal closes with a failure code 🎲 Random sound selection ⏱️ Debounce protection to prevent spam ⚙️ Configurable in VS Code settings 🧪 Manual test command included 🎯 How It Works The extension listens to: onDidEndTerminalShellExecution onDidStartTerminalShellExecution onDidEndTaskProcess onDidCloseTerminal When a failure is detected, it: Selects a random sound from /media/sounds Plays it using native OS playback Logs diagnostics to a dedicated output channel 📦 Installation From Marketplace Search for: Terminal Meme Error Sounds Click Install. From VSIX (Manual Install) Open Extensions panel Click ... Choose Install from VSIX Select your .vsix file 🧪 Testing It Run a failing command in the terminal: fakecommand123 Or use: Ctrl + Shift + P → Terminal Meme Sounds: Test Random Sound ⚙️ Settings Open: Settings → Extensions → Terminal Meme Sounds Available Options Setting Type Default Description terminalMemeSounds.enabled boolean true Enable or disable meme sounds terminalMemeSounds.debounceMs number 2500 Minimum delay between sounds (ms) 📁 Folder Structure terminal-meme-sounds/ │ ├── src/ │ └── extension.ts │ ├── out/ │ └── extension.js │ ├── media/ │ └── sounds/ │ ├── fahh.mp3 │ └── ah-shit-here-we-go-again.mp3 │ ├── package.json ├── tsconfig.json └── README.md 🖥 Platform Support Windows (PowerShell MediaPlayer / WMPlayer fallback) macOS (afplay) Linux (mpv / ffplay / aplay fallback) 🛠 Troubleshooting If sounds don’t play: Check Output → Terminal Meme Sounds Log Ensure media/sounds exists in the installed extension folder Verify your VS Code version supports shell integration 🧠 Known Limitations Requires VS Code shell integration for full accuracy Extremely fast error bursts may be rate-limited by debounce 💡 Future Improvements Custom sound selection via settings Volume control Per-language sound profiles Success sounds option Sound pack marketplace support 🏷 License MIT |