lemmy
client
Pure-Go read client for the Lemmy REST API (/api/v3).
LICENSE=BSD-3-ClauseCGO_ENABLED=0Pure-Go read client for the Lemmy REST API (/api/v3).
$ go get github.com/go-lemmy/lemmy@latest
A pure-Go (CGO=0), dependency-free read client for the Lemmy REST API (/api/v3). Point it at any Lemmy instance and read its communities and posts. An optional Login stores a JWT for authenticated reads. Standard library only; builds for all 64-bit targets.
Pure Go, standard library only. go get github.com/go-lemmy/lemmy
c := lemmy.New("https://lemmy.world")
list, err := c.Posts(context.Background(), lemmy.PostsOptions{
Community: "technology", Sort: "Hot", Limit: 20,
})
if err != nil {
panic(err)
}
for _, p := range list.Posts {
fmt.Printf("%s โ %s (score %d)\n", p.Title, p.Community, p.Score)
}Everything that actually exists in the org today.
lemmy
clientPure-Go read client for the Lemmy REST API (/api/v3).
brand
brandLogos, icons and social images for go-lemmy.