Skip to main content
qobit

qobit

CI Release License: GPL-3.0 Python uv Ruff Textual Platform

A bit-perfect Qobuz client for the terminal, on Linux and macOS.

qobit is a Qobuz player for the Linux and macOS terminal. It streams hi-res FLAC from Qobuz and plays it through mpv, with no resampling and no DSP. The output device runs at each track's own sample rate and bit depth, so the DAC gets exactly the bits from the file. You browse your Qobuz library, playlists and mixes with the keyboard, and see cover art in the terminal.

qobit, a Qobuz terminal client: the Playback tab with the queue and the now-playing panel qobit, a Qobuz terminal client: an artist page with bio, top tracks and albums

Features

  • Bit-perfect output through PipeWire (following each track's sample rate) or exclusive ALSA hw: / CoreAudio devices. An indicator checks it on every track; on Linux it reads the rate the DAC actually runs at. Tracks your account can only preview (30-second MP3s) are skipped.
  • Gapless playback, on by default. A change of sample rate reopens the output: qobit never resamples.
  • Favourite tracks, artists and albums, and your playlists, with sorting and a live filter. Add favourites and follow artists from any list with i.
  • A queue you can move back and forth in without losing tracks. It's restored when you restart qobit.
  • Shuffle (S).
  • Song radio and personal DailyQ / WeeklyQ mixes from Qobuz recommendations.
  • Artist pages with top tracks, your favourites by that artist, albums and similar artists.
  • Cover art and artist bios. Art is sharp in terminals with the Kitty graphics protocol and drawn with coloured blocks elsewhere (see Terminal).
  • Themes, including Ayu Dark, Mirage and Light.
  • OS media keys and now-playing widgets (MPRIS on Linux, Now Playing on macOS).
  • Qobuz Connect (off by default): qobit shows up as a device in the Qobuz apps, and you can control it from there.

Install

Requirements: a Qobuz subscription (Hi-Res for 24-bit), Python 3.11+, uv, mpv, and a terminal with true colour. For sharp cover art, use one with the Kitty graphics protocol (see Terminal).

Install mpv and uv first:

# macOS (Homebrew)
brew install mpv uv
# Debian / Ubuntu
sudo apt install mpv
# Fedora
sudo dnf install mpv
# Arch
sudo pacman -S mpv

(On Linux, get uv from your package manager or the installer.)

Then:

uv tool install qobit   # or: pipx install qobit
qobit auth              # log in once; opens the browser, prints the link
qobit set-device        # choose the audio output
qobit                   # start the TUI

Upgrade with uv tool upgrade qobit. To run the latest code from main instead: uv tool install git+https://github.com/pierdom/qobit.

For bit-perfect output, choose the device as described in docs/audio.md.

Terminal

qobit picks how to draw cover art and artist photos from what your terminal supports:

Terminal Cover art
kitty, Ghostty sharp images (Kitty graphics protocol)
Any other terminal with true colour (GNOME Terminal, iTerm2, Alacritty, WezTerm, Konsole, …) coloured blocks: low resolution, but recognisable

Inside tmux, sharp images need set -g allow-passthrough on in kitty or Ghostty; without it, qobit uses blocks.

You can choose yourself with qobit --images MODE (for one run) or from the command palette (Ctrl+P, then "Images", saved):

  • auto: the default, as in the table above.
  • kitty: always use the Kitty graphics protocol.
  • blocks: always use coloured blocks.
  • off: show initials instead of cover art and download no covers. Use it if qobit feels slow on an older machine.

Usage

Key Action Key Action
1–7 switch tab Space pause / resume
/ filter [ ] seek 10 s
s r sort, reverse R S song radio, shuffle
i menu: queue, favourite, follow g go to artist / album
f favourite Ctrl+P command palette

All keys, and how each tab works, are in docs/usage.md. From the command line:

qobit play "Kind of Blue"   # search, play the first result, check the output format
qobit devices               # list audio outputs
qobit --connect-on          # start with Qobuz Connect enabled for this run
qobit --shuffle             # shuffle for this run
qobit --no-gapless          # no gapless playback for this run

Documentation

Keys, tabs, radio, mixes, Qobuz Connect, files docs/usage.md
Audio setup and bit-perfect output docs/audio.md
PipeWire configuration contrib/pipewire
Qobuz Connect protocol notes docs/qobuz-connect.md
Qobuz Connect implementation docs/qobuz-connect-design.md
Changes CHANGELOG.md
Contributing CONTRIBUTING.md
Reporting a security issue SECURITY.md
Notes for working on the code CLAUDE.md

Development

uv sync --group dev
uv run pytest
uv run ruff check . && uv run ruff format --check .

Why this exists

This is a personal project. I wanted a Qobuz client that looks good on a cyberdeck build, with large cover art and a terminal UI.

qobit builds on other people's work:

  • qbz by vicrodh, a full-featured Qobuz desktop player and the main source and inspiration for qobit, including its bit-perfect approach. qbz has been discontinued and its code is no longer available.
  • qobine by SofusA, a lighter terminal client for Qobuz.
  • qobuz-connect and qobuz-proxy, whose protocol work is the basis of qobit's Qobuz Connect support.

AI-assisted development

Most of qobit's code is written with AI assistance (Claude Code). I direct the work, review the changes and test them on my own hardware before they are merged. The project follows the usual good practices:

  • More than 500 automated tests, run on Linux and macOS for every change.
  • Linting and formatting checks (Ruff) in CI.
  • Releases built and published to PyPI by CI, not from a laptop.
  • Design decisions and past mistakes written down in CLAUDE.md, so they are not repeated.

If you find a bug, please open an issue.

Disclaimer

qobit is an independent, unofficial project. It is not affiliated with Qobuz in any way, and Qobuz does not endorse or sponsor it. The Qobuz name is only used to say which service qobit works with.

qobit is not a replacement for the official Qobuz apps. It is a small terminal player for people who want bit-perfect playback from the keyboard. It does far less than the official apps, so use them for everything else.

It talks to the same API as the Qobuz web player. You need your own Qobuz subscription, qobit only plays what your account can stream, and you are responsible for using it within Qobuz's terms of service.

qobit is free software, provided as is, without any warranty. See sections 15 and 16 of the GPL-3.0 license. It is an early-stage personal project. Use it at your own risk.

License

GPL-3.0. See LICENSE.

Metadata

Release files for qobit 0.13.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qobit 0.13.0
File Size Uploaded Provenance Actions
qobit-0.13.0.tar.gz 386.8 kB With provenance Details for qobit-0.13.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qobit 0.13.0
File Interpreter ABI Platform Actions
qobit-0.13.0-py3-none-any.whl Python 3 none any Details for qobit-0.13.0-py3-none-any.whl

Total release size: 599.0 kB

Release files / qobit-0.13.0.tar.gz

Download URL qobit-0.13.0.tar.gz
Size 386.8 kB
Tags Source
SHA-256 checksum
How to use checksums
439523fc80d95ce7ef1267a56ac8ce510d841f082bfd9d6f712376df5e5c41d7
BLAKE2b-256 checksum
How to use checksums
1fae73b42feea420e0bc5b541d8873821bea5ed990f667ea36664289829b67d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / qobit-0.13.0-py3-none-any.whl

Download URL qobit-0.13.0-py3-none-any.whl
Size 212.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
949b23325159c55594ae5ff5975bff9dc124249b1b2fc22825da299b3c1b6eea
BLAKE2b-256 checksum
How to use checksums
06e3c2a5f13fc7d9096e47e03a24f31c4ce1bd5e4d7ff228e62917782b1b3bc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for qobit 0.13.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for qobit-0.13.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page