pkg.soopen package index

brew / 排名 4761

使用 Homebrew, apk, Nix, pacman 安装 librespot

查看 librespot 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install librespot

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add librespot

Alpine Linux edge package indexes · librespot · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#librespot

nixpkgs package indexes · pkgs/by-name/li/librespot/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S librespot

Arch Linux sync databases · librespot · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Open Source Spotify client library

命令和别名

  • librespot

历史

项目历史与用法

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.

时间线

  • 2017-11-15: GitHub repository created.
  • 2019-11-06: v0.1.0 initial release tag dated.
  • 2021-05-04: v0.2.0 release published.
  • 2022-05-22: v0.4.0 release published.
  • 2024-10-15: v0.5.0 release published.
  • 2025-08-31: v0.7.1 release published.

Related projects

  • Related projects include Spotify Connect clients, Mopidy integrations, pyspotify/libspotify-era applications, librespot-java, audio backends such as ALSA and PulseAudio, and service wrappers used by headless media appliances.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
librespot可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.8.0
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:librespot
版本0.8.0
软件包管理器Homebrew
主页https://github.com/librespot-org/librespot
仓库https://github.com/librespot-org/librespot
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

librespot

nix profile install nixpkgs#librespot
  • normalized package name match
  • 匹配方式:Librespot
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/librespot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

librespot 0.8.0-r0

Open Source Spotify client library

https://github.com/librespot-org/librespot

sudo apk add librespot
  • License: MIT
  • Architecture: x86_64
  • Source Package: librespot
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Librespot
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: librespot from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

librespot-openrc 0.8.0-r0

Open Source Spotify client library (OpenRC init scripts)

https://github.com/librespot-org/librespot

sudo apk add librespot-openrc
  • License: MIT
  • Architecture: x86_64
  • Source Package: librespot
  • normalized package name match
  • 匹配方式:Librespot
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: librespot-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

librespot 0.8.0-5

Open source client library for Spotify

https://github.com/librespot-org/librespot

sudo pacman -S librespot
  • License: MIT
  • Architecture: x86_64
  • 8 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Librespot
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: librespot from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation