Your next music player
The kopuz is an ancient Turkic string instrument and is often considered the ancestor of many Central Asian lutes. It was traditionally used by bards and shamans.
The Kyrgyz komuz is not the same instrument, but likely a descendant of the kopuz. The Kazakh kobyz is also related, though it is bowed rather than plucked. In contrast, the Tuvan/Yakut xomus (jaw harp) is unrelated, despite the similar name.
In Turkic legend, the kopuz is linked to Dede Korkut, a legendary bard, though this is mythological rather than historical.
Kopuz allows you to scan your local directories for audio files, stream from your Jellyfin or Subsonic (Navidrome, etc.) server, or connect YouTube Music, SoundCloud, or Spotify as a streaming backend, automatically organizing everything into a browsable library. You can navigate by artists, albums, genres, or explore your custom playlists. The application is built for performance and desktop integration, utilizing the power of Rust.
Library, playlists, favorites, and settings are stored in a local SQLite
database (kopuz.db); the UI reads it live so changes show up immediately. Each
media source carries its own credentials and its own favorites.
MediaSource layer, and the UI adapts to each
source's capabilities (search, downloads, radio, discover, favorites sync,
etc.) rather than hardcoding per-service behavior.Stereo, Mono, Left only, Right only,
and Swap L/R output modes.yt-dlp
installed on your system.Install directly with Cargo:
cargo install --locked kopuzRun directly without installing:
nix run github:temidaradev/kopuzInstall to your profile:
nix profile add github:temidaradev/kopuzOn NixOS, using the flake:
[!TIP] This is recommended over
nix profileas it installs Kopuz as a proper system app with icon &.desktopentry.
Add Kopuz to your flake.nix inputs:
{
inputs.kopuz.url = "github:temidaradev/kopuz";
}Then pass it through to your system config and add the Cachix substituter so it downloads the pre-built binary instead of compiling:
{
nix.settings = {
substituters = ["https://kopuz.cachix.org" ];
trusted-public-keys = ["kopuz.cachix.org-1:J2X3AnAYhKTJW5S3aCLoA1ckonQXVNZMQvhZA0YAufw="];
};
}Then install the package:
{pkgs, kopuz, ...}: let
kopuzPkg = kopuz.packages.${pkgs.stdenv.hostPlatform.system}.default
in {
environment.systemPackages = [kopuzPkg];
}Kopuz reads its settings from ~/.config/kopuz/settings.toml, so you can manage
them declaratively by linking that file with
hjem:
{
hjem.users.alice.files.".config/kopuz/settings.toml".source =
(pkgs.formats.toml {}).generate "kopuz-settings.toml" {
theme = "gruvbox";
language = "en";
crossfade_seconds = 3;
equalizer.enabled = true;
};
}Or inline, without the pkgs.formats helper:
{
hjem.users.alice.files.".config/kopuz/settings.toml".text = ''
theme = "gruvbox"
language = "en"
crossfade_seconds = 3
[equalizer]
enabled = true
'';
}hjem links the file out of the Nix store, and Kopuz detects that it is immutable
(a store symlink or read-only) and never writes to it. If Kopuz has already run
once, remove the settings.toml it wrote (or turn on hjem's clobber option) so
activation can replace it with the link. Keys you set there always win and show
up grayed out in the settings UI; everything you leave out remains freely
changeable in-app (runtime state keeps persisting in kopuz.db).
To try config changes without a rebuild, use either of the ad-hoc override
layers, both of which out-rank settings.toml:
*.toml in ~/.config/kopuz/settings.d/, applied in
lexicographic order.KOPUZ_CONFIG_<FIELD>=value, e.g.
KOPUZ_CONFIG_THEME=nord kopuz. Field names match settings.toml keys
uppercased; nest tables with __ (KOPUZ_CONFIG_EQUALIZER__ENABLED=true).
Values are parsed as TOML (3, true, ["/a", "/b"]), falling back to plain
strings.KOPUZ_CONFIG_PATH relocates the settings file itself.
Apple Silicon only. The cask lives in our tap:
brew install --cask kopuz-org/tap/kopuzThe build is signed ad-hoc rather than notarized, so Gatekeeper blocks the first
launch. Install with --no-quarantine, or clear the flag afterwards as
described in the macOS section:
brew install --cask --no-quarantine kopuz-org/tap/kopuzInstall from the AUR using your preferred helper:
yay -S kopuz-bin
# or
paru -S kopuz-binKopuz is on Flathub. You can also install it from our own Flatpak repository, or build it yourself from source.
flatpak install flathub moe.kopuz.kopuzflatpak install --user --or-update \
https://kopuz-org.github.io/kopuz-flatpak/moe.kopuz.kopuz.flatpakrefMake sure you have Rust and the Dioxus CLI installed. We recommend installing
dioxus-cli through your distro's package manager when available. If it's not
packaged for your distro, you can install it via Cargo as a fallback:
cargo install --locked dioxus-cliThen build and install Kopuz:
git clone https://github.com/temidaradev/kopuz
cd kopuz
git submodule update --init --recursive --remote
flatpak-builder --user --install --force-clean \
build-dir packaging/flatpak/moe.kopuz.kopuz.json
flatpak run moe.kopuz.kopuzYou can also click on the file and open it with an app provider, for example KDE Discover.
[!IMPORTANT] The AppImage requires
webkit2gtk-4.1andgtk3installed on your system. Those dependencies are not bundled. The system tray icon additionally needs the appindicator library (e.g.libayatana-appindicator); without it Kopuz runs fine but shows no tray icon.On most distros with a modern desktop environment, these are already present. You will need to install them manually if they are not yet installed.
On Arch-based distros, if
No open issues yet, or sync has not completed.