Kicksdk (Elixir)
Kick (kick.com) without the I/O: requests, response parsers, the realtime chat protocol and webhook verification, as a NIF over the kicksdk Rust core.
def deps, do: [{:kicksdk, "~> 0.1"}]
Kicksdk never sends a request or opens a socket: it builds requests for your
HTTP client (Req, Finch, Mint…), parses what comes back, and runs Kick's
realtime protocol as a state machine (Kicksdk.Realtime.Session) that your
socket process drives. Send Origin: https://kick.com on the WebSocket
handshake: Kick's realtime server refuses anything else.
Values come back the way JSON decodes: maps with string keys.
The NIF comes precompiled for Linux (glibc and musl; x86_64, aarch64, arm,
riscv64), macOS and Windows, downloaded from the GitHub release and checked
against the checksums published with the package. On any other target, or
with KICKSDK_BUILD=1, it is built from the Rust sources shipped in the
package, which needs a Rust toolchain and adding {:rustler, "~> 0.38", optional: true} to your deps. KICKSDK_BASE_URL points the download at a
mirror.
MIT OR Apache-2.0. Not affiliated with Kick.