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

@kud/qobuz-cli

v1.0.0

Published

Command-line interface for Qobuz — search, library, and quick-open in the app

Downloads

1,549

Readme

npm Node.js MIT

Command-line interface for Qobuz — search, library, and quick-open in the app

Website · Documentation

Features

  • Interactive TUI — full-screen terminal UI (Ink/React): type to search, arrow-key navigate, drill into detail, act. Launched with bare qobuz or qobuz tui. Works on macOS and Linux.
  • Fast search & metadata — search albums, tracks, and artists; inspect album, artist, and track details.
  • Library & playlists — list, add, and remove favourites; list, show, create, and edit playlists.
  • Collection statsqobuz stats shows your genre mix, hi-res ratio, and top artists/labels from the local desktop library.
  • Media-key playback controlplay, next, previous, forward, and rewind drive the Qobuz desktop app via real media keys (macOS, requires Accessibility permission).
  • Quick open & copyopen deep-links straight into the Qobuz app; url (alias copy-url) copies a link to the clipboard — bare qobuz url copies the currently-playing track.
  • Secure login — stores a browser-borrowed token in the macOS Keychain; no password handling.

Install

npm install -g @kud/qobuz-cli

TUI mode

Run qobuz (no arguments) or qobuz tui to open the interactive full-screen interface — "Raycast in the terminal". The TUI requires an interactive terminal (TTY) and works on both macOS and Linux.

Views

| View | What it shows | | ------------------- | -------------------------------------------------------------------------- | | Home | Palette — Search, Favourites, Playlists, Now Playing | | Search | Live results sectioned into Tracks, Albums, Artists (debounced, ≥ 2 chars) | | Favourites | Your starred tracks | | Playlists | Playlist list → Tracklist (read-only) | | Detail — Track | Title, artist, album, duration, Hi-Res flag | | Detail — Album | Title, artist, release date, genre, track count, Hi-Res flag | | Detail — Artist | Album count + navigable similar-artists list | | Convert | Qobuz track → Deezer / Spotify / YouTube links | | Now Playing | Currently playing track info |

Keybindings

| Key | Action | | ---------------------- | ----------------------------------------------- | | type | Search (in Search view) | | / or j / k | Navigate list | | | Open / drill into item | | Esc or Backspace | Back (quit from root) | | q | Quit | | o | Open current item in Qobuz app (Detail views) | | c | Convert track to streaming links (Track detail) | | space | Toggle play/pause (macOS only) | | n | Next track (macOS only) | | p | Previous track (macOS only) |

Usage

$ qobuz                            # open interactive TUI
$ qobuz tui                        # same — explicit subcommand
$ qobuz login                      # connect (opens browser, paste app_id + token)
$ qobuz search "radiohead"
$ qobuz album 0634904032432
$ qobuz fav list
$ qobuz playlist create "Focus"
$ qobuz stats                      # collection analytics from the desktop library
$ qobuz play                       # toggle play/pause in Qobuz
$ qobuz next                       # skip track (also: previous, forward, rewind)
$ qobuz open album 0634904032432   # open in the Qobuz app
$ qobuz url                        # copy the currently-playing track's link
$ qobuz url album 0634904032432    # copy a specific item's deep link
$ qobuz url --plain                # print the bare URL (no clipboard) for scripting
$ qobuz convert <track-url>        # convert a Qobuz track URL to streaming links
$ qobuz now-playing                # show the currently-playing track (alias: np)

Full command set: tui, login, logout, search, album, artist, track, similar, fav (list/add/remove), playlist (list/show/create/add/remove), convert, now-playing / np, stats, url / copy-url, open, play, next, previous / prev, forward / ff, rewind / rew.

macOS note — playback commands (play, next, previous, forward, rewind) and TUI playback keys (space, n, p) use real media keys and require Accessibility permission granted to your terminal. The first playback command compiles a small Swift helper via swiftc.

Development

git clone https://github.com/kud/qobuz-cli.git
cd qobuz-cli
npm install
npm run dev -- search "radiohead"   # run from source via tsx
npm run dev                         # run TUI from source
npm run build
npm run typecheck

📚 Full documentation → qobuz-cli/docs