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

pi-amp

v0.1.0

Published

Retro CLI music player for pi — YouTube streaming, EQ, and an AI DJ

Readme

pi-amp 🎵

Retro CLI music player extension for pi. YouTube search + streaming, EQ, queue, and an LLM that can DJ for you.

Install

pi install git:github.com/migsterrrrr/pi-amp

System dependencies

You need these installed on your system:

sudo apt install mpv socat
pip install yt-dlp   # don't use apt — it's outdated

| Tool | What it does | Link | |------|-------------|------| | mpv | Audio playback | sudo apt install mpv | | yt-dlp | YouTube search + stream extraction | pip install yt-dlp | | socat | mpv IPC control | sudo apt install socat | | PipeWire | For EQ (optional, default on modern Linux) | Already installed on Ubuntu 22.04+, Fedora, Arch |

The extension checks for missing deps at startup and tells you what to install.

Usage

Slash commands

| Command | What it does | |---------|-------------| | /play <query> | Search YouTube and stream | | /play (no args) | Toggle pause | | /pause | Toggle pause | | /stop | Stop playback and clear queue | | /np | Show now-playing | | /vol <0-100> | Set volume | | /queue <query> | Add song to queue | | /queue (no args) | Show the queue | | /skip | Skip to next song | | /eq <preset> | EQ preset: flat, bass, live, vocal, off | | /eq 60:+4 150:+2 ... | Custom EQ bands |

AI DJ

The extension registers LLM tools — the AI can play music, queue songs, and adjust EQ on its own:

  • "play something chill"play_music
  • "queue up 5 similar songs"queue_music
  • "make it sound warmer"set_eq

Status bar

Now-playing appears in pi's status bar: ▶ Song Name 1:23/4:17 [+3]

The [+3] shows how many songs are queued. When a song finishes, the next one starts automatically.

How it works

yt-dlp "ytsearch:<query>"  →  finds YouTube URL
mpv --no-video <url>       →  streams audio
socat → IPC socket         →  play/pause/vol/position
PipeWire filter-chain      →  EQ (optional)
System audio output        →  speakers, Bluetooth, etc.

Platform

Linux only for now. Audio playback works on any Linux with PulseAudio or PipeWire (i.e. basically all of them). The /eq command requires PipeWire specifically — it writes a filter-chain config. PipeWire is the default audio stack on Ubuntu 22.04+, Fedora 34+, and Arch. If you're on an older distro with PulseAudio only, everything works except EQ.

Want to help?

macOS and Windows support would be great — PRs welcome. The main thing to figure out:

  • macOS: CoreAudio EQ instead of PipeWire filter-chain. Playback (mpv/yt-dlp) should work as-is.
  • Windows: Audio routing. mpv/yt-dlp work on Windows but EQ would need a different approach.

Other ideas: Spotify integration, playlist persistence, retro Winamp ASCII widget, better queue management. Open an issue or just send a PR.

License

MIT