Every SDK targets the GraphQL endpoint on port 6062 and exposes the same domain-namespaced API:Documentation Index
Fetch the complete documentation index at: https://rockboxzig.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Pick a language
TypeScript
bun add @rockbox-zig/sdkPython
uv add rockbox-sdk — async-firstRuby
gem install rockboxElixir
{:rockbox_ex, "~> 0.1"}Clojure
org.clojars.tsiry/rockbox-cljGleam
gleam add rockboxWhy not just use the GraphQL transport directly?
You can —client.query() on every SDK is an escape hatch, and the
GraphiQL explorer at
http://localhost:6062/graphiql lets you
test queries without writing any client code. The SDKs add value when you
want:
- Typed responses — Pydantic models in Python,
Structs in Ruby, TypeScript types, Gleam tagged unions. - Real-time events —
track:changed/status:changed/playlist:changedover WebSocket with auto-reconnect and exponential backoff. - A plugin system — Jellyfin-style install/uninstall lifecycle for cross-cutting features (scrobbling, notifications, sleep timer).
- Smart-playlist rule builders — type-safe rule DSLs (Gleam, Elixir, Clojure).
- Idiomatic ergonomics — pipe-friendly in functional languages, builder DSLs in OOP languages.