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
Oopsify is a fun CLI tool that plays meme sounds automatically whenever your terminal command fails.
Turn boring errors into entertaining moments 😄
🚀 Features
- 🔊 Play sound on terminal errors automatically
- 🎧 Choose your favorite meme sound
- 🎯 Interactive CLI with arrow-key selection
- ⚡ Works with PowerShell, bash, and zsh
- 🎨 Fun error message with styled output
📦 Installation
npm install -g @shreyash1601/oopsify⚙️ Setup (Required)
Run:
oopsify setupThen restart your terminal.
👉 This enables automatic error detection.
🎧 Usage
List available sounds
oopsify listSet default sound
oopsify setUse arrow keys ⬆️⬇️ and press Enter.
Play sound manually
oopsify💥 Automatic Mode
After setup, any failed command will trigger:
- 🔊 A meme sound
- 😵 A fun error message
Example
dir randomfolderOutput:
dir: cannot find path...
🔊
😵 Oops! That didn’t go as planned🧠 How it works
Oopsify integrates with your shell by modifying your profile configuration:
- PowerShell →
$PROFILE - bash/zsh →
.bashrc/.zshrc
It detects command failures and triggers sound playback automatically.
⚠️ Notes
- You must run
oopsify setuponce after installation - Restart your terminal after setup
- Works best in modern terminals (VS Code, Windows Terminal, etc.)
🛠️ Tech Stack
- Node.js
- Enquirer (CLI UI)
- Chalk (styling)
- node-wav-player (audio)
📁 Project Structure
oopsify/
bin/
index.js
sounds/
*.wav🚀 Roadmap
- 🎲 Random sound mode
- 🎛️ Volume control
- 🎨 Themes
- 🧠 Smart error detection
👨💻 Author
Shreyash Shrivastava
⭐ Support
If you like this project, consider giving it a star ⭐ on GitHub (if you host it).
📄 License
MIT License