Skip to main content
rocksky is a command-line interface for the Rocksky API. Use it to scrobble plays, inspect listening stats, manage API keys, and run the MCP / local scrobble servers.

Install

Common workflow

Commands

Remote control

Whenever the CLI player is running (the interactive TUI, or the mpd daemon), it connects to Rocksky over a WebSocket and appears as a controllable device in the Rocksky web and mobile miniplayers — just like the Rockbox companion. What you play on the CLI shows up there in real time, and play / pause / next / previous / seek from the miniplayer drive the CLI, with elapsed time kept in sync both ways. It authenticates with the same session token from rocksky login, so no extra setup is needed. The name shown in the miniplayer’s source selector is configurable in ~/.rocksky/settings.toml:
Set ROCKSKY_NO_REMOTE=1 to disable the connection entirely.