[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-71295":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},71295,"atproto","bluesky-social\u002Fatproto","bluesky-social","Social networking technology created by Bluesky","",null,"TypeScript",9445,868,111,531,0,3,13,49,9,39.82,"Other",false,"main",true,[],"2026-06-12 02:02:50","# AT Protocol Reference Implementation (TypeScript)\n\nWelcome friends!\n\nThis repository contains Bluesky's reference implementation of AT Protocol, and of the `app.bsky` microblogging application service backend.\n\n## What is in here?\n\n**TypeScript Packages:**\n\n| Package                                                                       | Docs                                       | NPM                                                                                                             |\n| ----------------------------------------------------------------------------- | ------------------------------------------ | --------------------------------------------------------------------------------------------------------------- |\n| `@atproto\u002Fapi`: client library                                                | [README](.\u002Fpackages\u002Fapi\u002FREADME.md)         | [![NPM](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@atproto\u002Fapi)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@atproto\u002Fapi)                 |\n| `@atproto\u002Fcommon-web`: shared code and helpers which can run in web browsers  | [README](.\u002Fpackages\u002Fcommon-web\u002FREADME.md)  | [![NPM](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@atproto\u002Fcommon-web)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@atproto\u002Fcommon-web)   |\n| `@atproto\u002Fcommon`: shared code and helpers which doesn't work in web browsers | [README](.\u002Fpackages\u002Fcommon\u002FREADME.md)      | [![NPM](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@atproto\u002Fcommon)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@atproto\u002Fcommon)           |\n| `@atproto\u002Fcrypto`: cryptographic signing and key serialization                | [README](.\u002Fpackages\u002Fcrypto\u002FREADME.md)      | [![NPM](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@atproto\u002Fcrypto)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@atproto\u002Fcrypto)           |\n| `@atproto\u002Fidentity`: DID and handle resolution                                | [README](.\u002Fpackages\u002Fidentity\u002FREADME.md)    | [![NPM](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@atproto\u002Fidentity)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@atproto\u002Fidentity)       |\n| `@atproto\u002Flexicon`: schema definition language                                | [README](.\u002Fpackages\u002Flexicon\u002FREADME.md)     | [![NPM](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@atproto\u002Flexicon)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@atproto\u002Flexicon)         |\n| `@atproto\u002Frepo`: data storage structure, including MST                        | [README](.\u002Fpackages\u002Frepo\u002FREADME.md)        | [![NPM](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@atproto\u002Frepo)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@atproto\u002Frepo)               |\n| `@atproto\u002Fsyntax`: string parsers for identifiers                             | [README](.\u002Fpackages\u002Fsyntax\u002FREADME.md)      | [![NPM](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@atproto\u002Fsyntax)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@atproto\u002Fsyntax)           |\n| `@atproto\u002Fxrpc`: client-side HTTP API helpers                                 | [README](.\u002Fpackages\u002Fxrpc\u002FREADME.md)        | [![NPM](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@atproto\u002Fxrpc)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@atproto\u002Fxrpc)               |\n| `@atproto\u002Fxrpc-server`: server-side HTTP API helpers                          | [README](.\u002Fpackages\u002Fxrpc-server\u002FREADME.md) | [![NPM](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@atproto\u002Fxrpc-server)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@atproto\u002Fxrpc-server) |\n\n**TypeScript Services:**\n\n- `pds`: \"Personal Data Server\", hosting repo content for atproto accounts. Most implementation code in `packages\u002Fpds`, with runtime wrapper in `services\u002Fpds`. See [bluesky-social\u002Fpds](https:\u002F\u002Fgithub.com\u002Fbluesky-social\u002Fpds) for directions on self-hosting.\n- `bsky`: AppView implementation of the `app.bsky.*` API endpoints. Running on main network at `api.bsky.app`. Most implementation code in `packages\u002Fbsky`, with runtime wrapper in `services\u002Fbsky`.\n\n**Lexicons:** for both the `com.atproto.*` and `app.bsky.*` are canonically versioned in this repo, for now, under `.\u002Flexicons\u002F`. These are JSON files in the [Lexicon schema definition language](https:\u002F\u002Fatproto.com\u002Fspecs\u002Flexicon), similar to JSON Schema or OpenAPI.\n\n**Interoperability Test Data:** the language-neutral test files in `.\u002Finterop-test-files\u002F` may be useful for other protocol implementations to ensure that they follow the specification correctly\n\nThe source code for the Bluesky Social client app (for web and mobile) can be found at [bluesky-social\u002Fsocial-app](https:\u002F\u002Fgithub.com\u002Fbluesky-social\u002Fsocial-app).\n\nGo programming language source code is in [bluesky-social\u002Findigo](https:\u002F\u002Fgithub.com\u002Fbluesky-social\u002Findigo), including the BGS implementation.\n\n## Developer Quickstart\n\nWe recommend [`nvm`](https:\u002F\u002Fgithub.com\u002Fnvm-sh\u002Fnvm) for managing Node.js installs. This project requires Node.js version 18. `pnpm` is used to manage the workspace of multiple packages. You can install it with `npm install --global pnpm`.\n\nThere is a Makefile which can help with basic development tasks:\n\n```shell\n# use existing nvm to install node 18 and pnpm\nmake nvm-setup\n\n# pull dependencies and build all local packages\nmake deps\nmake build\n\n# run the tests, using Docker services as needed\nmake test\n\n# run a local PDS and AppView with fake test accounts and data\n# (this requires a global installation of `jq` and `docker`)\nmake run-dev-env\n\n# show all other commands\nmake help\n```\n\n## About AT Protocol\n\nThe Authenticated Transfer Protocol (\"ATP\" or \"atproto\") is a decentralized social media protocol, developed by [Bluesky Social PBC](https:\u002F\u002Fbsky.social). Learn more at:\n\n- [Overview and Guides](https:\u002F\u002Fatproto.com\u002Fguides\u002Foverview) 👈 Best starting point\n- [Github Discussions](https:\u002F\u002Fgithub.com\u002Fbluesky-social\u002Fatproto\u002Fdiscussions) 👈 Great place to ask questions\n- [Protocol Specifications](https:\u002F\u002Fatproto.com\u002Fspecs\u002Fatp)\n- [Blogpost on self-authenticating data structures](https:\u002F\u002Fbsky.social\u002Fabout\u002Fblog\u002F3-6-2022-a-self-authenticating-social-protocol)\n\nThe 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.*`.\n\n## Contributions\n\n> While we do accept contributions, we prioritize high quality issues and pull requests. Adhering to the below guidelines will ensure a more timely review.\n\n**Rules:**\n\n- We may not respond to your issue or PR.\n- We may close an issue or PR without much feedback.\n- We may lock discussions or contributions if our attention is getting DDOSed.\n- We do not provide support for build issues.\n\n**Guidelines:**\n\n- Check for existing issues before filing a new one, please.\n- Open an issue and give some time for discussion before submitting a PR.\n- If submitting a PR that includes a lexicon change, please get sign off on the lexicon change _before_ doing the implementation.\n- Issues are for bugs & feature requests related to the TypeScript implementation of atproto and related services.\n  - For high-level discussions, please use the [Discussion Forum](https:\u002F\u002Fgithub.com\u002Fbluesky-social\u002Fatproto\u002Fdiscussions).\n  - For client issues, please use the relevant [social-app](https:\u002F\u002Fgithub.com\u002Fbluesky-social\u002Fsocial-app) repo.\n- Stay away from PRs that:\n  - Refactor large parts of the codebase\n  - Add entirely new features without prior discussion\n  - Change the tooling or frameworks used without prior discussion\n  - Introduce new unnecessary dependencies\n\nRemember, 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.\n\n## Are you a developer interested in building on atproto?\n\nBluesky 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.\n\n## Security disclosures\n\nIf you discover any security issues, please send an email to security@bsky.app. The email is automatically CCed to the entire team, and we'll respond promptly. See [SECURITY.md](https:\u002F\u002Fgithub.com\u002Fbluesky-social\u002Fatproto\u002Fblob\u002Fmain\u002FSECURITY.md) for more info.\n\n## License\n\nThis project is dual-licensed under MIT and Apache 2.0 terms:\n\n- MIT license ([LICENSE-MIT.txt](https:\u002F\u002Fgithub.com\u002Fbluesky-social\u002Fatproto\u002Fblob\u002Fmain\u002FLICENSE-MIT.txt) or http:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT)\n- Apache License, Version 2.0, ([LICENSE-APACHE.txt](https:\u002F\u002Fgithub.com\u002Fbluesky-social\u002Fatproto\u002Fblob\u002Fmain\u002FLICENSE-APACHE.txt) or http:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0)\n\nDownstream 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.\n\nBluesky Social PBC has committed to a software patent non-aggression pledge. For details see [the original announcement](https:\u002F\u002Fbsky.social\u002Fabout\u002Fblog\u002F10-01-2025-patent-pledge).\n","该项目是Bluesky开发的一种社交网络技术的参考实现，主要用于支持`app.bsky`微型博客应用程序服务后端。它基于TypeScript构建，提供了一系列NPM包，涵盖了从API客户端库、通用代码和浏览器兼容性工具到数据存储结构等多方面的功能。核心功能包括加密签名与密钥序列化、身份解析、模式定义语言以及HTTP API的客户端和服务端辅助工具。这些组件共同构成了一个灵活且强大的基础架构，适合用于需要高度可定制性和安全性的社交平台或去中心化应用开发场景。",2,"2026-06-11 03:37:02","high_star"]