bluesky-social/atproto

Public

Social networking technology created by Bluesky

  • Stars9.7k+6 tuần này
  • Forks944
  • Watchers105
  • Issues544
  • Ngày tạo18/12/2021
  • Cập nhật gần nhất01/12/2026
  • Ngôn ngữTypeScript
  • Giấy phép—
README.md12.3 KBRaw

AT Protocol Reference Implementation (TypeScript)

Welcome friends!

This repository contains Bluesky's reference implementation of AT Protocol.

About AT Protocol

The Authenticated Transfer Protocol ("ATP" or "atproto") is a decentralized social media protocol, developed by Bluesky Social PBC. Third-party software can be as seamless as first-party: custom feeds, federated services, and alternative clients are all built against the same APIs, so developers are never locked out of the ecosystems they help build. Learn more at:

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.*.

What is in here?

Lexicons: for the com.atproto.* and tools.ozone.* namespaces are currently maintained in this repo under the ./lexicons/ directory. These are JSON files in the Lexicon schema definition language, similar to JSON Schema or OpenAPI. Lexicons for the app.bsky.* and chat.bsky.* namespaces are now maintained in the bluesky-social/bsky git repository, and the copies here may be out of date.

TypeScript Packages: everything under ./packages/ is published to npm under the @atproto/* scope (except for the shared utilities in ./packages/internal/, which use the @atproto-labs/* scope). Each package has its own README; packages/README.md lists them all. The short version, if you're new here:

  • Building an app or bot? Start with @atproto/lex — the type-safe SDK that generates TypeScript from Lexicon schemas and gives you an HTTP (XRPC) client. The rest of ./packages/lex/ contains its building blocks (data model, JSON/CBOR encoding, schema validation, server routing), which you rarely need to install directly. The older @atproto/api client still exists and is still used in parts of this repo, but new code should prefer @atproto/lex.
  • Adding "Sign in with Atmosphere Account"?

Nội dung README thuộc về bluesky-social và cộng đồng đóng góp, giấy phép Không có giấy phép. Nguồn: github.com/bluesky-social/atproto