Official Elixir SDK for Rocksky.
A thin wrapper over the :rocksky_erl Rustler NIF (the shared Rust core,
rocksky-sdk): AppView reads, AT Protocol PDS writes (scrobble fan-out, like,
follow, shout) and the identity hashes — the same engine behind every Rocksky
SDK.
Reads/writes return {:ok, value} | {:error, message} with binary-keyed
maps (the wire shape). Records passed to the write verbs are maps with
camelCase binary keys — "title", "artist", "album", "albumArtist",
"durationMs", …
{:ok, stats} = Rocksky.global_stats()
Rocksky.song_hash("Chaser", "Calibro 35", "Jazzploitation")
Summary
Functions
Follow an account by DID.
Platform-wide totals.
Like a record by strong reference.
Log in with an app password, persisting the session at session_path.
Returns an opaque agent handle (a NIF resource freed by GC).
An actor's detailed profile.
Proactively refresh the session (keep-alive).
Scrobble a play (fans out to artist/album/song/scrobble). Returns the URIs.
An actor's scrobbles, newest first.
Post a shout on a subject.
Identity hash of a song — identical across every Rocksky SDK.
Platform-wide top tracks chart.
Functions
Follow an account by DID.
Platform-wide totals.
Like a record by strong reference.
Log in with an app password, persisting the session at session_path.
Returns an opaque agent handle (a NIF resource freed by GC).
An actor's detailed profile.
Proactively refresh the session (keep-alive).
Scrobble a play (fans out to artist/album/song/scrobble). Returns the URIs.
An actor's scrobbles, newest first.
Post a shout on a subject.
Identity hash of a song — identical across every Rocksky SDK.
Platform-wide top tracks chart.