JSPM

@shreyash1601/oopsify

1.0.2
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 6
    • Score
      100M100P100Q91132F
    • License MIT

    Play meme sounds automatically on terminal errors 🔊

    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 setup

      Then restart your terminal.

      👉 This enables automatic error detection.


      🎧 Usage

      List available sounds

      oopsify list

      Set default sound

      oopsify set

      Use 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 randomfolder

      Output:

      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 setup once 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