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

busybar-nowplaying

v1.3.1

Published

Now playing on a BUSY Bar: the track progress on the front, dithered album art on the back

Readme

busybar-nowplaying

[!IMPORTANT] Unofficial community project. Built and maintained by @viirtualp1, not an official Flipper Devices / BUSY product, and not affiliated with, endorsed by, or supported by them. "BUSY Bar" remains their trademark. For the real hardware and official apps, visit busy.app.

Now playing on a BUSY Bar: the track on the front, the album cover on the back, dithered to the panel's 16 greys.

It reads the system now-playing session rather than any music service, so YouTube Music in a browser, Spotify and Apple Music all work the same way.

What you get

  • Front — a progress bar behind the title, with artist and time remaining
  • Back — 80×80 album cover, title, artist, album, progress and source app
  • The Bar's own controls drive the player — the big START button plays and pauses, twice in a row skips to the next track, and the knob is the volume (the front strip becomes the volume bar while you turn it)
  • Blue LED blink on a new track
  • The display is handed back after a minute of silence
  • Non-ASCII titles are transliterated, since the device fonts are ASCII only

Requirements

  • Node.js 22+
  • BUSY Bar on USB, Wi-Fi or cloud
  • macOS: brew install nowplaying-cli
  • Windows: nothing extra, npm install covers it

Setup

npm install
cp .env.example .env   # USB needs nothing changed
npm run dev

Two helpers, neither needs a Bar:

npm run probe   # what the media backend is reporting
npm run shot    # render the frame to PNGs

Configuration

All optional; the defaults assume a Bar on USB.

| Variable | Default | What it does | | -------------------- | ------- | ----------------------------------------------------------- | | BUSY_ADDR | USB | Bar address; https://api.busy.app for cloud | | BUSY_HTTP_PASSWORD | — | Wi-Fi only (Bar web UI → Network → HTTP API access) | | BUSY_TOKEN | — | Cloud only | | DRAW_PRIORITY | 40 | How hard to fight other apps for the screen | | MEDIA_SOURCE | auto | auto, macos, windows | | MEDIA_APP | — | Only follow players matching this, e.g. chrome, spotify | | POLL_MS | 1000 | How often the media backend is asked | | FRAME_MS | 200 | Redraw rate | | IDLE_MS | 60000 | Silence before the display is handed back | | ART_CONTRAST | 1 | Stretch the cover's contrast before dithering | | INPUT | 1 | Listen to the Bar's buttons and knob | | REQUEST_TIMEOUT_MS | 10000 | Bar request timeout |

Under busybar-wm

Started by busybar-wm, nowplaying finds WM_ADDR in its environment and draws over the window manager's display socket instead of straight to the Bar: the strip and the cover are a surface each, it draws only while it is on screen, and a paused track stops asking for the screen without giving it up. After IDLE_MS it gives the screen back, as it does on its own. Its presses come over the same socket: the knob is the volume whatever is on screen, and START plays and pauses while the music is the app showing. Without WM_ADDR nothing changes.

Known limits

  • Browsers publish a playback position once and never update it, so elapsed time is counted from when this app first saw the track. Start it before the song and it is exact; start it mid-song and it is off by where you were.
  • nowplaying-cli uses a private Apple framework and a macOS update can break it. If npm run probe shows nothing while music plays, check that first.
  • On Windows every player is in the session list at once; MEDIA_APP picks one.
  • The button and knob handling is written against the Bar's documented input events but has not been run against the hardware yet. npm run probe -- --input prints them raw.

Built on busybar-kit.