# librespot-org/librespot

Open Source Spotify client library

Repository: https://github.com/librespot-org/librespot
Canonical: https://ross.abutalabs.com/products/librespot
Language: Rust
License: MIT
License Family: permissive
Topics: spotify, librespot, rust, spotify-connect
Last push: 2026-08-22T21:05:17+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 44, longevity 100
- inputs: {"age_days": 3214, "days_push": 11, "days_rel": 296, "gap_med": 42.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6973, forks 865 (observed 2026-08-28T04:09:51.822470+00:00)

## What it is
Librespot is an open-source Spotify client library written in Rust that lets applications control and play music via Spotify's service and act as a Spotify Connect receiver. It serves as a replacement for the deprecated closed-source libspotify and requires a Spotify Premium account.

## Use cases
- build a Spotify Connect receiver on a Raspberry Pi
- stream Spotify audio to a custom speaker
- integrate Spotify playback into my own app
- control Spotify playback programmatically
- replace deprecated libspotify in my project
- run a headless Spotify client from the command line

## When to choose
- you need programmatic Spotify playback or a Spotify Connect receiver in Rust or another language
- you want an open-source alternative to the deprecated libspotify
- you're building custom audio hardware or headless music players with a Premium account

## When to avoid
- you only use a free Spotify account, since Premium is required
- you need a polished end-user Spotify app rather than a library
- you need official API support or guaranteed compatibility with Spotify's service

## Facets
- artifact type: library
- maturity: active
- function: audio-processing, http-client, cli
- domain: media, developer-tools
- platform: rust, cross-platform, cli
- tags: spotify, spotify-connect, music-streaming, audio-streaming, client-library, audio

## Member repositories
- librespot-org/librespot (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:51.822470+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:41:10.133711+00:00, confidence not recorded.
  - readme: https://github.com/librespot-org/librespot (fetched 2026-08-28T04:09:51.822470+00:00, sha ce2ad5ae1820)
  - registry_crates: https://crates.io/api/v1/crates/librespot (fetched 2026-08-29T08:36:52.277813+00:00, sha a306bf3c226f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
