Introducing a new way to review your PRs.

Read the announcement

crmne / spotifast

Spotify, native and fast. One lightweight Rust app for your whole library, local playback, and Spotify Connect on Linux, macOS, and Windows.

View on GitHub

19 documents · Updated Nov 18, 2026

overview

Knowledge Base updated: 2026-11-17

Spotifast knowledge base

Spotifast is a Rust desktop Spotify client. Its runtime owns process startup, application state, native-window lifecycle, Spotify connectivity, and local configuration.

The app coordinates Spotify API and playback services with a stateful desktop UI. Player state, backend commands, settings, and UI views form the principal user-facing state boundary.

Appearance and media presentation are extensible through skins, Winamp-compatible UI components, and a separate Milkdrop visualization runtime.

flowchart TD
  Entry[Executable entrypoints] --> Runtime[Application runtime]
  Runtime --> AppState[App state and backend]
  AppState --> Settings[Settings and local state]
  AppState --> API[Spotify API client]
  API --> Spotify[Spotify services]
  AppState --> Player[Player and audio output]
  Player --> Devices[Local and network devices]
  AppState --> UI[Desktop UI]
  UI --> Library[Library and discovery views]
  UI --> Player
  UI --> Platform[Platform window controls]
  UI --> Skins[Skin and Winamp system]
  Skins --> Milkdrop[Milkdrop runtime]

Glossary

  • Spotifast: the desktop application and Rust workspace documented here.
  • Backend: the application-facing layer that coordinates service work and user-visible state.
  • Player: the playback subsystem that tracks playback state and drives audio output.
  • Skin: a configurable themed UI package, including Winamp-compatible assets and layouts.
  • Milkdrop: the visualization engine and its host/child-process rendering runtime.

Codebase-wide invariants

  • Application lifecycle ownership remains centralized at the crate runtime boundary (src/lib.rs), including startup and shutdown coordination.
  • User-facing application state is coordinated through the app, backend, and settings layers (src/app.rs, src/backend.rs, src/settings.rs) rather than isolated UI state alone.
  • Spotify service transport remains behind the API client boundary (src/…/client.rs and src/api/**).
  • Playback commands and output state flow through the player subsystem (src/player.rs) and are surfaced by UI controls rather than directly by arbitrary views.
  • Shared UI behavior belongs in the UI module and reusable widget/navigation patterns (src/ui/**, especially src/…/widgets.rs).

Routing table