npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

Iโ€™ve always been into building performant and accessible sites, but lately Iโ€™ve been taking it extremely seriously. So much so that Iโ€™ve been building a tool to help me optimize and monitor the sites that I build to make sure that Iโ€™m making an attempt to offer the best experience to those who visit them. If youโ€™re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, ๐Ÿ‘‹, Iโ€™m Ryan Hefnerย  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If youโ€™re interested in other things Iโ€™m working on, follow me on Twitter or check out the open source projects Iโ€™ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soonโ€“ish.

Open Software & Tools

This site wouldnโ€™t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you ๐Ÿ™

ยฉ 2026 โ€“ย Pkg Stats / Ryan Hefner

@aicronic/terminal-buzz

v1.0.3

Published

CLI tool that plays nostalgic game sounds when commands finish - Make your terminal delightful again ๐ŸŽฎ

Downloads

292

Readme

๐ŸŽฎ Terminal Buzz

Make your terminal delightful again!

A fun CLI tool that plays nostalgic game sounds when your terminal commands finish. Turn boring command-line tasks into a gaming experience!

npm version license downloads

โœจ Features

  • ๐Ÿ”Š Nostalgic Game Sounds - Success and error sounds from your favorite retro games
  • ๐Ÿ”” Desktop Notifications - Get notified when long-running commands complete
  • ๐ŸŽจ Multiple Themes - Mario, Zelda, Pokemon, Sonic, and Retro arcade sounds
  • โš™๏ธ Configurable - Set your default theme and preferences
  • ๐ŸŽฒ Random Mode - Surprise yourself with a different theme each time
  • ๐Ÿคซ Silent Mode - Notifications only, no sound
  • ๐ŸŽฏ Real-time Output - See command output as it happens
  • ๐Ÿ›ก๏ธ Graceful Interruption - Ctrl+C works as expected

๐Ÿ“ฆ Installation

Global Installation (Recommended)

npm install -g @aicronic/terminal-buzz

Local Installation

npm install @aicronic/terminal-buzz

๐Ÿš€ Quick Start

# Run a command with Mario theme
terminal-buzz --theme mario "npm run build"

# Set your default theme
terminal-buzz config set-theme zelda

# Use your default theme
terminal-buzz "cargo build --release"

# Random theme each time
terminal-buzz --random "python train.py"

# Silent mode (notification only)
terminal-buzz --silent "npm test"

๐ŸŽฎ Available Themes

| Theme | Success Sound | Error Sound | Emoji | |-------|--------------|-------------|-------| | ๐Ÿ„ Mario | Coin collect | Game over | ๐Ÿ„ | | โš”๏ธ Zelda | Chest open | Error beep | โš”๏ธ | | โšก Pokemon | Level up | Pokemon faint | โšก | | ๐Ÿ’จ Sonic | Ring collect | Death | ๐Ÿ’จ | | ๐Ÿ‘พ Retro | Pac-Man eat | Pac-Man death | ๐Ÿ‘พ |

๐Ÿ“– Usage

Basic Command Execution

terminal-buzz [options] "<your-command>"

Options

| Option | Alias | Description | |--------|-------|-------------| | --theme <name> | -t | Override default theme (mario, zelda, pokemon, sonic, retro) | | --random | -r | Use a random theme | | --silent | -s | Notification only, no sound | | --version | -V | Show version number | | --help | -h | Display help |

Configuration Commands

# Set default theme
terminal-buzz config set-theme <theme>

# Get current default theme
terminal-buzz config get-theme

# List all available themes
terminal-buzz config list-themes

๐Ÿ’ก Use Cases

Long-Running Builds

terminal-buzz "npm run build"
terminal-buzz "cargo build --release"
terminal-buzz "docker build -t myapp ."

Test Suites

terminal-buzz --theme pokemon "npm test"
terminal-buzz "pytest tests/"
terminal-buzz "go test ./..."

Deployment Scripts

terminal-buzz --theme sonic "npm run deploy"
terminal-buzz "./deploy.sh production"

Training ML Models

terminal-buzz --random "python train.py --epochs 100"

Database Operations

terminal-buzz "pg_dump mydb > backup.sql"
terminal-buzz "mongorestore --db mydb dump/"

๐ŸŽฏ Real-World Examples

# Frontend development
terminal-buzz --theme mario "npm run build && npm run deploy"

# Backend compilation
terminal-buzz --theme sonic "go build -o server cmd/main.go"

# Data processing
terminal-buzz --random "python process_data.py --input large_dataset.csv"

# System administration
terminal-buzz --silent "rsync -avz /source/ /backup/"

# Multiple commands
terminal-buzz "npm install && npm run build && npm test"

๐ŸŒ Global Shell Integration (Recommended)

Want sounds after every command without typing terminal-buzz? Let the setup wizard handle it!

terminal-buzz setup

This will automatically detect your shell (Bash or Zsh) and add the necessary hook to your config file.

Manual Integration

If the setup doesn't detect your shell, you can add these manually:

Bash (~/.bashrc):

PROMPT_COMMAND='terminal-buzz --notify $? &'

Zsh (~/.zshrc):

precmd() {
  terminal-buzz --notify $? &!
}

๐Ÿ”ง Configuration

Configuration is stored in ~/.config/terminal-buzz-config.json (or platform equivalent).

Default configuration:

{
  "theme": "mario"
}

๐ŸŽจ Adding Custom Themes

Want to contribute a new theme? Here's how:

  1. Create a new folder in sounds/ with your theme name
  2. Add two MP3 files:
    • success.mp3 - Plays on successful command completion (exit code 0)
    • error.mp3 - Plays on command failure (non-zero exit code)
  3. Keep files under 50KB each for fast loading
  4. Update lib/index.js to include your theme in the THEMES object
  5. Submit a pull request!

Sound Requirements

  • Format: MP3
  • Bitrate: 64kbps recommended
  • Duration: 1-3 seconds
  • Size: < 50KB per file
  • License: Must be free to use (CC0, public domain, or similar)

๐Ÿ› ๏ธ Development

# Clone the repository
git clone https://github.com/aicronic/terminal-buzz.git
cd terminal-buzz

# Install dependencies
npm install

# Make CLI executable
chmod +x bin/cli.js

# Test locally
node bin/cli.js --theme mario "echo 'Hello World'"

# Test error handling
node bin/cli.js --theme mario "exit 1"

๐Ÿงช Testing Checklist

  • โœ… Success sound plays on exit code 0
  • โœ… Error sound plays on non-zero exit code
  • โœ… Desktop notification appears
  • โœ… Config persists between runs
  • โœ… Ctrl+C kills both tool and child process
  • โœ… Command output streams in real-time
  • โœ… Works on Mac/Linux/Windows
  • โœ… Fallback to system beep if audio fails

๐ŸŒ Platform Support

| Platform | Status | Notes | |----------|--------|-------| | macOS | โœ… Full Support | Native audio and notifications | | Linux | โœ… Full Support | Requires alsa-utils or pulseaudio | | Windows | โœ… Full Support | Native audio via Windows Media Player |

Linux Audio Setup

If you encounter audio issues on Linux, install one of these:

# Ubuntu/Debian
sudo apt-get install alsa-utils

# Or use PulseAudio
sudo apt-get install pulseaudio

๐Ÿ“ License

MIT ยฉ aicronic

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request. Here are some ideas:

  • ๐ŸŽต Add new game themes
  • ๐Ÿ› Fix bugs or improve error handling
  • ๐Ÿ“š Improve documentation
  • โœจ Suggest new features

๐Ÿ™ Credits

Sound effects sourced from:

โญ Show Your Support

If you find this tool useful, please consider:

  • โญ Starring the repository
  • ๐Ÿฆ Sharing on social media
  • ๐Ÿ› Reporting bugs
  • ๐Ÿ’ก Suggesting new features

๐Ÿ“ฌ Contact


Made with โค๏ธ and nostalgia by developers, for developers

Remember: Every successful build deserves a victory sound! ๐ŸŽฎ