Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@shreyash1601/oopsify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
🔊 Oopsify CLI
Let your failures make the noise!!
🚀 Features
- 🔊 Play meme sounds on terminal errors automatically
- 🎧 Choose your favorite meme sound
- 🎯 Interactive CLI with arrow-key selection
- 🎨 Styled error message with emoji
- ⚡ Lightweight and fun developer utility
📦 Installation
npm install -g @shreyash1601/oopsify-cli⚙️ Setup (Required)
oopsify setup👉 Restart your terminal after setup.
💥 Automatic Mode
After setup, any failed command will trigger:
- 🔊 Meme sound
- 😵 Styled error message
🎧 Usage
List available sounds
oopsify listSet default sound
oopsify setPlay sound manually
oopsify⚠️ Compatibility
Currently supported environment:
- ✅ Windows Terminal / VS Code Terminal
- ✅ PowerShell (required)
❌ Not supported (yet)
- macOS Terminal
- Linux shells
- CMD (Command Prompt)
- Git Bash
👉 Support for macOS and Linux is planned in upcoming versions 🚀
🛠️ Troubleshooting
🔸 Sound not playing
Ensure system audio is working
Try opening
.wavfile manuallyEnsure
.wavformat:- PCM encoding
- 16-bit
- 44.1 kHz
🔸 oopsify command not working
npm install -g @shreyash1601/oopsify-cli- Ensure npm global path is added to system PATH
🔸 Error detection not triggering
oopsify setup- Restart terminal
- Ensure using PowerShell (not CMD)
🔸 PowerShell not detected
Install PowerShell:
👉 https://aka.ms/powershell-release?tag=stable
Verify:
pwsh🔸 Setup not applied
echo $PROFILEEnsure it contains the oopsify setup block.
🧠 How it works
Oopsify hooks into the PowerShell prompt and detects failed commands using:
$?$LASTEXITCODE$Error
When an error is detected → sound is triggered.
📁 Project Structure
oopsify-cli/
bin/
index.js
sounds/
*.wav
assets/
logo.png🚀 Roadmap
- macOS support
- Linux support
- Random sound mode
- Volume control
- Custom sound upload
👨💻 Author
Shreyash Shrivastava
📄 License
MIT License