Something went wrong. Try again.
Rocksky SDK demos across 10 languages — a tour of the AppView read-query API. docs.rocksky.app/sdks/overview
lastfm scrobbling atproto
Something went wrong. Try again.
README.md
Rocksky TypeScript SDK — demo #
bun install # or: npm install
bun run index.ts
Installs @rocksky/sdk from npm.
Remote player + controller #
Two authenticated examples that talk to the remote-control WebSocket. Both need a
Rocksky access token in ROCKSKY_TOKEN.
# A controllable device that advertises a now-playing track and prints commands.
ROCKSKY_TOKEN=<jwt> bun run remote-player.ts
# A remote UI that prints device/now-playing/status events, then makes the first
# device it sees primary and pauses it.
ROCKSKY_TOKEN=<jwt> bun run remote-controller.ts
Run the player in one terminal and the controller in another to watch commands
flow between them. The remote classes come from the browser-safe
@rocksky/sdk/remote subpath (also works in Node/Bun).