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

shellwave

v0.1.6

Published

A terminal-first audio companion for developers.

Downloads

867

Readme

shellwave

A terminal-first YouTube audio player for developers.

Search from your terminal, pick a result with the keyboard, and play audio without opening a browser.

Install

npm install -g shellwave

If global npm installs fail with a permissions error, see Install Troubleshooting.

Requirements

Search works out of the box. Playback needs:

  • ffplay, included with FFmpeg
  • yt-dlp, used to resolve YouTube audio URLs

Ubuntu/Debian:

sudo apt install ffmpeg
sudo apt install pipx
pipx install yt-dlp

If your shell cannot find yt-dlp, add ~/.local/bin to your path.

fish:

fish_add_path ~/.local/bin

Bash/Zsh:

export PATH="$HOME/.local/bin:$PATH"

Alternative pip install:

sudo apt install python3-pip
python3 -m pip install --user -U yt-dlp

If Ubuntu blocks pip with an externally managed environment warning, use the pipx method above.

macOS:

brew install ffmpeg yt-dlp

Windows:

winget install Gyan.FFmpeg
winget install yt-dlp.yt-dlp

Check your setup:

shellwave doctor

Usage

Search and play:

shellwave lofi coding music

or:

shellwave search "lofi coding music"

Check playback dependencies:

shellwave doctor

Controls:

Up/down      choose a search result
Enter        play selected result
Left/right   seek backward/forward
Space        pause/resume
s            stop and return to results
q            quit

When a track completes, shellwave automatically starts the next result from the current search list. If playback stops early, shellwave keeps the current result selected instead of skipping ahead.

Install Troubleshooting

EACCES during global install

If npm install -g shellwave fails with an error like:

EACCES: permission denied, mkdir '/usr/local/lib/node_modules/shellwave'

your npm global install directory is owned by root. Check it with:

npm config get prefix

If it prints /usr/local, prefer a user-owned npm prefix:

mkdir -p ~/.npm-global
npm config set prefix ~/.npm-global

fish:

fish_add_path ~/.npm-global/bin

Bash/Zsh:

export PATH="$HOME/.npm-global/bin:$PATH"

Then install again:

npm install -g shellwave

For a longer-term Node setup, use a user-owned version manager such as nvm, fnm, or volta.

Search Providers

By default, shellwave uses a bundled no-key YouTube search provider. You do not need a YouTube API key for normal use.

Force the default no-key provider:

SHELLWAVE_SEARCH_PROVIDER=youtubei shellwave lofi coding music

Use the official YouTube Data API for search metadata:

export YOUTUBE_API_KEY=your_key
SHELLWAVE_SEARCH_PROVIDER=youtube-api shellwave lofi coding music

PowerShell:

$env:YOUTUBE_API_KEY="your_key"
$env:SHELLWAVE_SEARCH_PROVIDER="youtube-api"
shellwave lofi coding music

Use yt-dlp for search:

SHELLWAVE_SEARCH_PROVIDER=yt-dlp shellwave lofi coding music

Troubleshooting

If playback fails with a YouTube extraction error, update yt-dlp:

pipx upgrade yt-dlp

If playback starts but you hear no sound, verify your system audio works with ffplay and that your terminal session has access to your audio server.

Local Development

npm install
npm run build
npm link
shellwave ektaara

Run checks:

npm run typecheck
npm --cache .npm-cache pack --dry-run

Roadmap

  • Local file playback
  • Queue and history
  • Favorites
  • Config file
  • Pluggable playback backends