PCTUTU.comBack to PCTUTU.com
GitHub projects
music-playerMedia
Category
Media
Publisher
tsirysndr
Repository
Open repository
Release
Open release
Current version
v0.4.7
Release date
2026-10-29
Package size
macOS 69.0 MB
Media · tsirysndr

music-player

An extensible music player daemon, server and client, written in Rust — like mpd or Mopidy.

Version v0.4.7
Available for macOS

README

Music Player (written in Rust)

License: MIT GitHub all releases release rust-clippy discord-server

An extensible music player daemon, server and client, written in Rust — like mpd or Mopidy.

Audio decoding and playback are powered by the Rockbox firmware's battle-tested engine, via the rockbox-playback, rockbox-dsp and rockbox-metadata crates: 40+ audio formats, gapless-grade buffering, EQ/crossfade/ReplayGain DSP, and native HTTP streaming. The daemon indexes your library into SQLite (with FTS5 full-text search) and exposes it over gRPC, GraphQL and a web UI — controllable from the terminal UI, the browser, or the desktop app.

[!NOTE] Looking for more? If you're interested in this project, you might want to check out rockboxd, a music player daemon built on the Rockbox Open Source Firmware. It offers advanced audio playback features, bringing the best of Rockbox to modern platforms with the power of Zig and Rust.

Table of Contents

Features

  • 🎵 Rockbox playback engine — 40+ formats (MP3, FLAC, Vorbis, Opus, MP4/AAC/ALAC, WavPack, APE, WMA, chiptunes, …) with the Rockbox DSP chain (EQ presets, crossfade, ReplayGain)
  • 🔎 Instant full-text search backed by SQLite FTS5, kept in sync automatically by database triggers
  • 🖥️ Terminal UI (ratatui) with an fzf-style fuzzy finder, neovim-inspired status line and ? help overlay
  • 🌐 Web UI (React 18 + Tailwind v4 + HeroUI) — the same skins, fonts and components as the Slint desktop app, responsive down to a phone
  • 🖱️ Desktop app — a skinnable Slint app with an embedded daemon
  • 📡 gRPC + GraphQL APIs (tonic 0.14, grpc-web enabled) for building your own clients
  • ☁️ Browse & stream from Subsonic/Navidrome and Jellyfin servers
  • 📻 Cast to Chromecast and UPnP/DLNA renderers, or control another music-player daemon
  • 🎧 Rocksky scrobbling — scrobble your plays to Rocksky on the AT Protocol
  • 📻 Internet radio — search and browse thousands of stations (Radio Browser + TuneIn), bookmark them, with a fullscreen now-playing player
  • 🛰️ AT Protocol sync — radio bookmarks and liked songs restored from your atproto repo, written back to your PDS, and kept live over Jetstream
  • 🔍 Acoustic fingerprinting (Chromaprint) — every file identified by its audio, and badly tagged ones named from AcoustID/MusicBrainz the way Picard does it
  • 📊 Listening analytics (DuckDB) — import years of Spotify, Last.fm and Rocksky history, deduplicated across sources, then ask it about sessions, skips, taste drift and what actually follows what
  • 🔌 Flexible audio output: system device (cpal), stdout, FIFO, Unix or TCP socket

Installation

With curl (downloads the prebuilt binary for your platform from GitHub releases):

curl -fsSL https://raw.githubusercontent.com/tsirysndr/music-player/master/install.sh | sh
# pin a specific release:
curl -fsSL https://raw.githubusercontent.com/tsirysndr/music-player/master/install.sh | MUSIC_PLAYER_VERSION=v0.4.7 sh
# also install the Slint desktop app (music-player-desktop):
curl -fsSL https://raw.githubusercontent.com/tsirysndr/music-player/master/install.sh | MUSIC_PLAYER_DESKTOP=1 sh

Using npm (downloads the prebuilt binary from GitHub releases):

npm install -g @tsiry/music-player   # or: npx @tsiry/music-player
# pin a specific release: MUSIC_PLAYER_VERSION=v0.4.7 npx @tsiry/music-player

Using Homebrew (macOS/Linux):

brew install tsirysndr/tap/musicplayer

On macOS, the desktop app is also available as a cask:

brew install --cask tsirysndr/tap/musicplayer

[!NOTE] The macOS app is not code-signed or notarized, so Gatekeeper blocks it on first launch. Open it once, then go to System Settings → Privacy & Security and click Open Anyway next to the message about Music Player. Confirm with Open in the dialog that follows — macOS remembers the choice afterwards.

On Debian, Ubuntu, and other APT-based systems (amd64 and arm64):

echo "deb [trusted=yes] https://apt.fury.io/tsiry/ /" \
  | sudo tee /etc/apt/sources.list.d/music-player.list
sudo apt-get update
sudo apt-get install music-player

On Fedora, RHEL, Rocky Linux, AlmaLinux, and other DNF-based systems (x86_64 and aarch64):

sudo tee /etc/yum.repos.d/music-player.repo <<'EOF'
[music-player]
name=Music Player
baseurl=https://yum.fury.io/tsiry/
enabled=1
gpgcheck=0
EOF
sudo dnf install music-player

The Debian and RPM packages include both music-player and the Slint desktop application, music-player-desktop. Launch the desktop app from your application menu or run music-player-desktop.

On Arch Linux and derivatives, from the AUR:

yay -S music-player-bin   # or: paru -S music-player-bin

Using Nix (macOS/Linux):

cachix use tsirysndr
nix profile install --experimental-features "nix-command flakes" github:tsirysndr/music-player

Or download the latest release for your platform here.

Compiling from source

Without Nix:

# Install dependencies
brew install protobuf # macOS
sudo apt-get install -y libasound2-dev protobuf-compiler # Ubuntu/Debian
choco install protoc # Windows using Chocolatey Package Manager
# Compile
git clone https://github.com/tsirysndr/music-player.git
cd music-player
./scripts/fetch-duckdb.sh # prebuilt static DuckDB for the analytics engine
cd webui/musicplayer
nvm install # install node version specified in .nvmrc (optional on windows)
bun install && bun run build # build webui
cd ../..
cargo install --path .

fetch-duckdb.sh downloads the static libraries from DuckDB's own GitHub release into vendor/, so nothing has to compile the DuckDB C++ sources. It must run before cargo, not from a build script: libduckdb-sys resolves the library when its own crate compiles, and Cargo gives no way to order another crate's build script ahead of that.

With Nix:

git clone https://github.com/tsirysndr/music-player.git
cd music-player
nix develop --experimental-features "nix-command flakes"
./scripts/fetch-duckdb.sh
cd webui/musicplayer
bun install && bun run build # build webui
cd ../..
cargo install --path .

📦 Downloads

Latest (Desktop app, v0.4.7):

Latest (CLI, v0.4.7):

Publisher informationSoftware details and release files are provided by the publisher.