go-atproto

Pure-Go read client for Bluesky and the AT Protocol (XRPC).

CGO_ENABLED=0 zero third-party deps standard library only public Bluesky AppView BSD-3-Clause
Documentation GitHub

A pure-Go, dependency-free read client for Bluesky and the AT Protocol, talking to the XRPC HTTP API. It targets the public Bluesky AppView at public.api.bsky.app, which serves read methods without authentication. An optional Login unlocks authenticated methods such as the home timeline.

Usage

Pure Go, standard library only. go get github.com/go-atproto/atproto

c := atproto.New() // defaults to https://public.api.bsky.app

feed, err := c.AuthorFeed(context.Background(), "bsky.app", 25, "")
if err != nil {
	panic(err)
}
for _, p := range feed.Posts {
	fmt.Printf("@%s (%d likes): %s\n", p.Author.Handle, p.LikeCount, p.Text)
}

Repositories

Everything that actually exists in the org today.

atproto client

Pure-Go read client for Bluesky / the AT Protocol over the XRPC HTTP API.

CI Go Reference

brand brand

Logos, icons and social images for go-atproto.