馃悁 ATproto library for gleam
atproto library gleam
35

Configure Feed

Select the types of activity you want to include in your feed.

27 1 13

Clone this repository

https://tangled.org/kacaii.dev/possum https://tangled.org/did:plc:f2s2nd3tnw75so75ndrns6s2
git@tangled.org:kacaii.dev/possum git@tangled.org:did:plc:f2s2nd3tnw75so75ndrns6s2

For self-hosted knots, clone URLs may differ based on your setup.



README.md

Possum#

HTTP request helpers for querying data from your Personal Data Server. The user is responsible for deciding how to send the request and decode the response.

Example#

gleam add gleam_http
possum = { git = "https://tangled.org/kacaii.dev/possum", ref = "commit-hash" }
import gleam/http/request
import possum

/// This builds a request to:
/// https://bsky.social/xrpc/com.atproto.identity.resolveHandle?handle=kacaii.dev
pub fn build_request() -> request.Request(_) {
  request.new()
  |> request.set_host("bsky.social") // or eurosky.social
  |> possum.resolve_handle("kacaii.dev") // use your handle
}