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

rocksky.library

Ergonomic wrappers for the authenticated app.rocksky.library.* API (uploaded music). Build a client once with client and pass it to every call — the access token is bound in the client, not repeated:

(def lib (library/client token)) (library/get-genres lib) (library/get-song lib song-id)

Optional params are keyword args merged into the request (camelCase keyword keys become the wire keys). Returns the parsed JSON payload.

Ergonomic wrappers for the authenticated app.rocksky.library.* API (uploaded
music). Build a client once with `client` and pass it to every call — the
access token is bound in the client, not repeated:

  (def lib (library/client token))
  (library/get-genres lib)
  (library/get-song lib song-id)

Optional params are keyword args merged into the request (camelCase keyword
keys become the wire keys). Returns the parsed JSON payload.
raw docstring

rocksky.native

Resolves the native rocksky-uniffi library, downloading a prebuilt from the GitHub release on first use when it isn't already present locally.

Order of preference:

  1. $ROCKSKY_NATIVE_LIB, if set.
  2. librocksky_uniffi.<ext> on the classpath (resources/) — a local ./build-core.sh dev build.
  3. A checksum-verified copy in the user cache, downloaded on first load (the published-jar path: the native lib is not bundled in the jar).

The jar ships resources/rocksky/manifest.json (repo, release tag, one sha256 per target triple) — filled from the release artifacts by sdk/scripts/gen-uniffi-manifest.sh.

Resolves the native rocksky-uniffi library, downloading a prebuilt from the
GitHub release on first use when it isn't already present locally.

Order of preference:
  1. $ROCKSKY_NATIVE_LIB, if set.
  2. librocksky_uniffi.<ext> on the classpath (resources/) — a local
     ./build-core.sh dev build.
  3. A checksum-verified copy in the user cache, downloaded on first load (the
     published-jar path: the native lib is not bundled in the jar).

The jar ships resources/rocksky/manifest.json (repo, release tag, one sha256
per target triple) — filled from the release artifacts by
sdk/scripts/gen-uniffi-manifest.sh.
raw 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