@shreyash1601/oopsify
v1.1.1
Published
Play meme sounds automatically on terminal errors π
Maintainers
Readme
π Oopsify CLI
π 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
