Liking cljdoc? Tell your friends :D

rocksky.core

Native core bindings for Rocksky.

JVM Panama (java.lang.foreign) bindings to the shared Rust core's C ABI (crates/rocksky-uniffi). AT Protocol PDS writes (scrobble fan-out, like, follow, shout), AppView reads, and the identity hashes shared across every Rocksky SDK. This is the write + dedup side; rocksky.client is the read/HTTP side. Requires JDK 22+ (run with --enable-native-access=ALL-UNNAMED).

Native core bindings for Rocksky.

JVM Panama (java.lang.foreign) bindings to the shared Rust core's C ABI
(crates/rocksky-uniffi). AT Protocol PDS writes (scrobble fan-out, like,
follow, shout), AppView reads, and the identity hashes shared across every
Rocksky SDK. This is the write + dedup side; `rocksky.client` is the read/HTTP
side. Requires JDK 22+ (run with --enable-native-access=ALL-UNNAMED).
raw docstring

agent-closeclj

(agent-close agent)

Release an agent's native handle.

Release an agent's native handle.
sourceraw docstring

followclj

(follow agent did)
source

global-statsclj

(global-stats)
(global-stats base)

Platform-wide totals.

Platform-wide totals.
sourceraw docstring

hydrate-from-jetstreamclj

(hydrate-from-jetstream agent)

Keep the local dedup index hydrated from Jetstream in the background.

Keep the local dedup index hydrated from Jetstream in the background.
sourceraw docstring

likeclj

(like agent uri cid)
source

loginclj

(login session-path identifier password & {:keys [appview dedup-path]})

Log in with an app password, persisting the session at session-path.

Log in with an app password, persisting the session at `session-path`.
sourceraw docstring

match-songclj

(match-song title artist)
(match-song title artist mb-id isrc base)

Resolve full canonical metadata for a bare title + artist (matchSong).

Resolve full canonical metadata for a bare title + artist (matchSong).
sourceraw docstring

profileclj

(profile actor)
(profile actor base)

An actor's detailed profile.

An actor's detailed profile.
sourceraw docstring

queryclj

(query nsid params)
(query nsid params base)
(query nsid params base token)

Universal read escape hatch — call any app.rocksky.* query by nsid. params is a map of string params; the whole read-query catalog is reachable here.

(query "app.rocksky.album.getAlbum" {:uri uri}) (query "app.rocksky.charts.getScrobblesChart" {:did did})

Universal read escape hatch — call any app.rocksky.* query by nsid. `params`
is a map of string params; the whole read-query catalog is reachable here.

  (query "app.rocksky.album.getAlbum" {:uri uri})
  (query "app.rocksky.charts.getScrobblesChart" {:did did})
sourceraw docstring

refresh-sessionclj

(refresh-session agent)
source

scrobbleclj

(scrobble agent track)

Scrobble a play (fans out to artist/album/song/scrobble). Returns the URIs.

Scrobble a play (fans out to artist/album/song/scrobble). Returns the URIs.
sourceraw docstring

scrobble-matchclj

(scrobble-match agent title artist)
(scrobble-match agent title artist album)
(scrobble-match agent title artist album mb-id isrc)

Scrobble from just a title + artist (album optional, plus optional mb-id / isrc anchors): resolve full metadata via matchSong, then fan out.

Scrobble from just a title + artist (album optional, plus optional mb-id /
isrc anchors): resolve full metadata via matchSong, then fan out.
sourceraw docstring

scrobblesclj

(scrobbles actor limit)
(scrobbles actor limit offset base)

An actor's scrobbles, newest first.

An actor's scrobbles, newest first.
sourceraw docstring

shoutclj

(shout agent subject-uri subject-cid message)
source

song-hashclj

(song-hash title artist album)

Identity hash of a song — identical across every Rocksky SDK.

Identity hash of a song — identical across every Rocksky SDK.
sourceraw docstring

sync-repoclj

(sync-repo agent)

Download the caller's repo and (re)build the local dedup index (needs a :dedup-path at login). Returns the per-collection counts.

Download the caller's repo and (re)build the local dedup index (needs a
:dedup-path at login). Returns the per-collection counts.
sourceraw docstring

top-artists-intervalclj

(top-artists-interval limit offset interval)
(top-artists-interval limit offset interval base)

Top artists chart over a typed date window (see top-tracks-interval).

Top artists chart over a typed date window (see `top-tracks-interval`).
sourceraw docstring

top-tracksclj

(top-tracks limit)
(top-tracks limit offset)
(top-tracks limit offset base)

Platform-wide top tracks chart. base overrides the AppView URL.

Platform-wide top tracks chart. `base` overrides the AppView URL.
sourceraw docstring

top-tracks-intervalclj

(top-tracks-interval limit offset interval)
(top-tracks-interval limit offset interval base)

Top tracks chart over a typed date window (see interval-parts for the shape).

Top tracks chart over a typed date window (see `interval-parts` for the shape).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close