macOS
brew install librespotlocal Homebrew formula metadata
安装
brew install librespotlocal Homebrew formula metadata
sudo apk add librespotAlpine Linux edge package indexes · librespot · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#librespotnixpkgs package indexes · pkgs/by-name/li/librespot/package.nix · 来源: api.github.com
sudo pacman -S librespotArch Linux sync databases · librespot · 来源: geo.mirror.pkgbuild.com
概览
Open Source Spotify client library
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
librespot | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/librespot-org/librespot
安装元数据
| 软件包键 | brew:librespot |
|---|---|
| 版本 | 0.8.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/librespot |
| 主页 | https://github.com/librespot-org/librespot |
| 仓库 | https://github.com/librespot-org/librespot |
| 上游文档 | https://github.com/librespot-org/librespot#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/librespot-org/librespot/archive/refs/tags/v0.8.0.tar.gz |
| 构建依赖 | pkgconf, rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 librespot来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.