macOS
brew install librespotlocal Homebrew formula metadata
brew
Open Source Spotify client library. Version 0.8.0 via Homebrew; verified from local package data.
install
brew install librespotlocal Homebrew formula metadata
sudo apk add librespotAlpine Linux edge package indexes · librespot · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#librespotnixpkgs package indexes · pkgs/by-name/li/librespot/package.nix · source: api.github.com
sudo pacman -S librespotArch Linux sync databases · librespot · source: geo.mirror.pkgbuild.com
overview
Open Source Spotify client library
history
librespot is an open source Rust client library and CLI for Spotify playback and Spotify Connect receiver use. It occupies the unofficial-client space left by Spotify's deprecated closed-source libspotify, with the important limitation documented by the project that it only supports Spotify Premium accounts.
The GitHub repository was created on November 15, 2017. Its README describes the project as an open source client library that enables applications to use Spotify's service through multiple audio backends and act as a Spotify Connect receiver.
The annotated v0.1.0 tag, dated November 6, 2019, is marked as the initial release. Subsequent releases through the 0.2, 0.3, 0.4, 0.5, 0.6, and 0.7 lines show the project evolving from a library experiment into a regularly packaged Rust command-line service used by headless speakers, embedded systems, and desktop integrations.
librespot gained package-manager adoption because it solved a specific problem: make a machine appear as a Spotify Connect speaker without running Spotify's full proprietary desktop client. Its Rust implementation, CLI packaging, multiple audio backends, and availability on crates.io made it attractive for small servers, single-board computers, appliance images, and music-player projects.
The project remains sensitive to Spotify protocol changes because it interoperates with a proprietary service rather than a public stable protocol. That makes its release history interesting to maintainers: breakage often lands as authentication, API, metadata, or playback fixes rather than ordinary library feature work.
The README documents cargo install librespot and a CLI invocation such as creating a named speaker with a bitrate setting. In packaged deployments it is commonly run as a background service with explicit backend, device name, bitrate, cache, and authentication options.
librespot is package-nerd significant because it is both useful and inherently awkward: an open client for a proprietary streaming ecosystem, written in Rust, shipped as a CLI daemon, and dependent on reverse-engineered behavior. It is the sort of package that turns old speakers, Raspberry Pi boxes, NAS machines, and desktops into network audio endpoints.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
librespot | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/librespot-org/librespot
install metadata
| Package key | brew:librespot |
|---|---|
| Version | 0.8.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/librespot |
| Homepage | https://github.com/librespot-org/librespot |
| Repository | https://github.com/librespot-org/librespot |
| Upstream docs | https://github.com/librespot-org/librespot#readme |
| License | MIT |
| Source archive | https://github.com/librespot-org/librespot/archive/refs/tags/v0.8.0.tar.gz |
| Build dependencies | pkgconf, rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | librespot |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
librespot
nix profile install nixpkgs#librespotlibrespot 0.8.0-r0
Open Source Spotify client library
https://github.com/librespot-org/librespot
sudo apk add librespotlibrespot-openrc 0.8.0-r0
Open Source Spotify client library (OpenRC init scripts)
https://github.com/librespot-org/librespot
sudo apk add librespot-openrclibrespot 0.8.0-5
Open source client library for Spotify
https://github.com/librespot-org/librespot
sudo pacman -S librespotsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.