AD
Boost Your Brand on BlueSky—Exclusive banner space to amplify your reach within the BlueSky community.
BSkyInfo LogoBskyInfo
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryArticlesGuidesGlossaryBluesky SDKsSponsor
Submit
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryGuidesGlossaryArticlesBluesky SDKsSponsorSubmit
  1. SDKs
  2. /Go
  3. /indigo
bluesky-social

indigo

A Go SDK for Bluesky and AT Protocol by bluesky-social

Go source code for Bluesky's atproto services.

GitHub Stats

1123stars
179forks
49contributors
164open issues

Dates

Created:January 19, 2023
Last updated:May 16, 2025

README

The following content is from indigo's GitHub repository. All rights reserved by the original author.

photo

indigo: atproto libraries and services in golang

Some Bluesky software is developed in Typescript, and lives in the bluesky-social/atproto repository. Some is developed in Go, and lives here.

What is in here?

Go Services:

  • relay (README): relay reference implementation
  • rainbow (README): firehose "splitter" or "fan-out" service
  • palomar (README): fulltext search service for https://bsky.app
  • hepa (README): auto-moderation bot for Ozone

Developer Tools:

goat (README): CLI for interacting with network: CAR files, firehose, APIs, etc

Go Packages:

⚠️ All the packages in this repository are under active development. Features and software interfaces have not stabilized and may break or be removed.

PackageDocs
api/atproto: generated types for com.atproto.* LexiconsPkgGoDev
api/bsky: generated types for app.bsky.* LexiconsPkgGoDev
atproto/crypto: crytographic signing and key serializationPkgGoDev
atproto/identity: DID and handle resolutionPkgGoDev
atproto/syntax: string types and parsers for identifiersPkgGoDev
atproto/lexicon: schema validation of dataPkgGoDev
mst: Merkle Search Tree implementationPkgGoDev
repo: account data storagePkgGoDev
xrpc: HTTP API clientPkgGoDev

The TypeScript reference implementation, including PDS and bsky AppView services, is at bluesky-social/atproto. Source code for the Bluesky Social client app (for web and mobile) can be found at bluesky-social/social-app.

Development Quickstart

First, you will need the Go toolchain installed. We develop using the latest stable version of the language.

The Makefile provides wrapper commands for basic development:

make build
make test
make fmt
make lint

Individual commands can be run like:

go run ./cmd/relay

The HACKING file has a list of commands and packages in this repository and some other development tips.

What is atproto?

not to be confused with the AT command set or Adenosine triphosphate

The Authenticated Transfer Protocol ("ATP" or "atproto") is a decentralized social media protocol, developed by Bluesky Social PBC. Learn more at:

  • Overview and Guides 👈 Best starting point
  • Github Discussions 👈 Great place to ask questions
  • Protocol Specifications
  • Blogpost on self-authenticating data structures

The Bluesky Social application encompasses a set of schemas and APIs built in the overall AT Protocol framework. The namespace for these "Lexicons" is app.bsky.*.

Contributions

While we do accept contributions, we prioritize high quality issues and pull requests. Adhering to the below guidelines will ensure a more timely review.

Rules:

  • We may not respond to your issue or PR.
  • We may close an issue or PR without much feedback.
  • We may lock discussions or contributions if our attention is getting DDOSed.
  • We do not provide support for build issues.

Guidelines:

  • Check for existing issues before filing a new one, please.
  • Open an issue and give some time for discussion before submitting a PR.
  • Issues are for bugs & feature requests related to the golang implementation of atproto and related services.
    • For high-level discussions, please use the Discussion Forum.
    • For client issues, please use the relevant social-app repo.
  • Stay away from PRs that:
    • Refactor large parts of the codebase
    • Add entirely new features without prior discussion
    • Change the tooling or libraries used without prior discussion
    • Introduce new unnecessary dependencies

Remember, we serve a wide community of users. Our day-to-day involves us constantly asking "which top priority is our top priority." If you submit well-written PRs that solve problems concisely, that's an awesome contribution. Otherwise, as much as we'd love to accept your ideas and contributions, we really don't have the bandwidth.

Are you a developer interested in building on atproto?

Bluesky is an open social network built on the AT Protocol, a flexible technology that will never lock developers out of the ecosystems that they help build. With atproto, third-party can be as seamless as first-party through custom feeds, federated services, clients, and more.

License

This project is dual-licensed under MIT and Apache 2.0 terms:

  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
  • Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)

Downstream projects and end users may chose either license individually, or both together, at their discretion. The motivation for this dual-licensing is the additional software patent assurance provided by Apache 2.0.

Topics

atprotoblueskydwebgogolangsocial-media

Related SDKs

bluesky-socialjetstream

A simplified JSON event stream for AT Proto

385•Go
uabluerailindexer

ATproto PDS indexer

21•Go
CharlesDardamanblueskyfirehose

Simple golang firehose for Bluesky.

62•Go
danruseigobot-bsky

Bluesky Bot library in Go

18•Go
ericvolp12go-bsky-feed-generator

A minimal implementation of a BlueSky Feed Generator in Go

32•Go
ericvolp12bsky-experiments

A handful of Go-based tools for poking around with BlueSky using the AT Protocol

275•Go

Resources

GitHub RepositoryProject Website

License

Apache-2.0

Author

bluesky-social
bluesky-social

Activity

Last commit: May 16, 2025
Commit frequency: Unknown

Our Sponsors

Your Brand Here!

50K+ engaged viewers every month

Limited spots available!

📧 Contact us via email🦋 Contact us on Bluesky
BSkyInfo LogoBskyInfo

The Most Comprehensive Bluesky Tools Directory

Stay updated with the latest Bluesky tools and ecosystem news 🦋

Bluesky butterfly logo
Quick LinksSubmit a ToolSponsorAboutLegal Information
ToolsFeed DirectoryLabeler DirectorySchedulingAnalyticsAll ToolsCategoriesCollectionsTags
ResourcesArticlesBluesky GuidesBluesky GlossaryBluesky SDKsBluesky ResourcesSkyRaffleMeida Coverage
Our ProductsRaffleBlueAiTeach ToolsLaiewAI affiliate listFirsto

This website may contain affiliate links

© 2025 BskyInfo. All rights reserved.