About this project
Raspotify is a Debian package and repository that wraps the librespot library as a systemd daemon, providing a Spotify Connect client for headless Linux systems. It targets Debian Stable (currently Debian 13 "Trixie") and Debian-compatible distributions, with the README noting that compatibility on other systems may vary.
Because it is built for headless environments, the project points desktop users toward spotifyd instead, and recommends moOde audio player for a turnkey Raspberry Pi audio setup. Librespot, and therefore Raspotify, requires a Spotify premium account.
Installation is offered through a shell one-liner that installs curl and runs the project's install script, or by manually downloading the latest .deb package. Prebuilt packages are published for armhf, arm64, amd64 and riscv64. ARMv6 devices such as the original Pi and Pi Zero v1.x are explicitly not supported.
Packages are built inside Docker, cross-compiling librespot for Linux; this is documented as working on macOS with Docker Desktop or Colima. After initializing submodules, builds are invoked with make targets for arm64, armhf, amd64, riscv64 or all, and the resulting .deb files are written to the repository root. The librespot commit hash in the package filename reflects the commit checked out in the librespot submodule at build time; the README describes bumping the submodule pointer to build against a different revision. The riscv64 target uses a separate Docker image. Clean and distclean targets remove build artifacts and Docker images respectively.
Configuration guidance lives in the project wiki, with a Basic Setup Guide suggested as a starting point. For bug reports, questions and feature requests, the README asks users to first read the Troubleshooting and Basic Setup guides and search existing open and closed issues and discussions.
A disclaimer notes that connecting librespot to Spotify's API is, per librespot's own disclaimer, probably forbidden by Spotify, and that use is at the user's own risk. Raspotify and librespot are stated to be intended for personal private use only, with commercial or public use described as a violation of Spotify's terms of service that could lead to blocking of all users of these tools.
The project is licensed under the MIT License. It credits Paul Lietar, the librespot organization and its contributors for the underlying library, and notes that the original author has moved on to radio work while Kim Tore Jensen maintains the project, with thanks also to a former maintainer.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.