Skip to main content
qobit

qobit

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

A bit-perfect Qobuz client with a terminal UI, for Linux and macOS.

qobit plays hi-res FLAC from Qobuz through mpv with no resampling and no DSP. The output device runs at each track's own sample rate and bit depth, and the DAC receives exactly the bits from the file. You browse your library and control playback from a keyboard-driven terminal UI with cover art.

Playback tab with the queue and the now-playing panel Artist page with bio, top tracks and albums

Features

  • Bit-perfect output through PipeWire rate-following or exclusive ALSA hw: / CoreAudio devices, with a live lamp that checks it on every track (on Linux, down to the rate the DAC actually runs at). Tracks your account can only preview (30-second MP3s) are skipped.
  • 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.
  • 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, drawn with the Kitty graphics protocol (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 that supports the Kitty graphics protocol (see Terminal).

Install mpv and uv first. On Linux, the media-key support also builds against system headers:

# macOS (Homebrew)
brew install mpv uv
# Debian / Ubuntu 24.04+
sudo apt install mpv build-essential pkg-config python3-dev libcairo2-dev libgirepository-2.0-dev
# Fedora 40+
sudo dnf install mpv gcc pkgconf-pkg-config python3-devel cairo-devel cairo-gobject-devel gobject-introspection-devel
# Arch
sudo pacman -S --needed mpv base-devel pkgconf cairo gobject-introspection

(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 draws all images (cover art, artist photos) with the Kitty graphics protocol. There is no fallback for other terminals.

Terminal Images
kitty works
Ghostty works
WezTerm, Konsole implement the protocol; not tested with qobit
Inside tmux needs set -g allow-passthrough on; not tested with qobit

Usage

Key Action Key Action
1–7 switch tab Space pause / resume
/ filter [ ] seek 10 s
s r sort, reverse R song radio
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

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
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.

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 a narrow audience: people who want bit-perfect playback from a keyboard-driven terminal UI. 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.9.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.9.0
File Size Uploaded Provenance Actions
qobit-0.9.0.tar.gz 331.4 kB With provenance Details for qobit-0.9.0.tar.gz

Built distribution (wheel)

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

Total release size: 518.7 kB

Release files / qobit-0.9.0.tar.gz

Download URL qobit-0.9.0.tar.gz
Size 331.4 kB
Tags Source
SHA-256 checksum
How to use checksums
918c77176a93a3ce8c787d8526b6c9cc0553d43803cdda9bb26322650a30d413
BLAKE2b-256 checksum
How to use checksums
a0c512c935289de3c31cb654c3088e7ba6fb3302b830b08129ff4bb13647fb31
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 16, 2026.

Transparency log

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

Download URL qobit-0.9.0-py3-none-any.whl
Size 187.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e53df73d4ade4d00cb6ebc846dfa1f750deba2c1f6627cdb558f67baca4c44e
BLAKE2b-256 checksum
How to use checksums
cb28edd4dd9c9a1907a3c7ae07a7349e49f53a3ca12637bdfeb76cb819b7c23d
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 16, 2026.

Transparency log

Security for qobit 0.9.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.9.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 16, 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