MCPcopy
hub / github.com/bluesky-social/social-app

github.com/bluesky-social/social-app @1.126.0 sqlite

repository ↗ · DeepWiki ↗ · release 1.126.0 ↗
5,039 symbols 18,544 edges 1,770 files 162 documented · 3%
README

Bluesky Social App

Welcome friends! This is the codebase for the Bluesky Social app.

Get the app itself:

Development Resources

This is a React Native application, written in the TypeScript programming language. It builds on the atproto TypeScript packages (like @atproto/api), which are also open source, but in a different git repository.

There is a small amount of Go language source code (in ./bskyweb/), for a web service that returns the React Native Web application.

The Build Instructions are a good place to get started with the app itself.

The Authenticated Transfer Protocol ("AT Protocol" or "atproto") is a decentralized social media protocol. You don't need to understand AT Protocol to work with this application, but it can help. 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.*.

Contributions

[!NOTE] 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're not going to 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.
  • Stay away from PRs like...
  • Changing "Post" to "Skeet."
  • Refactoring the codebase, e.g., to replace React Query with Redux Toolkit or something.
  • Adding entirely new features without prior discussion.

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. That's what forking is for!

Forking guidelines

You have our blessing 🪄✨ to fork this application! However, it's very important to be clear to users when you're giving them a fork.

Please be sure to:

  • Change all branding in the repository and UI to clearly differentiate from Bluesky.
  • Change any support links (feedback, email, terms of service, etc) to your own systems.
  • Replace any analytics or error-collection systems with your own so we don't get super confused.

Security disclosures

If you discover any security issues, please send an email to security@bsky.app. The email is automatically CC'd to the entire team and we'll respond promptly.

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 integration can be as seamless as first-party through custom feeds, federated services, clients, and more.

License (MIT)

See ./LICENSE for the full license.

Bluesky Social PBC has committed to a software patent non-aggression pledge. For details see the original announcement.

P.S.

We ❤️ you and all of the ways you support us. Thank you for making Bluesky a great place!

Extension points exported contracts — how you extend this code

FeedAPI (Interface)
(no doc) [18 implementers]
src/lib/api/feed/types.ts
SortableListProps (Interface)
* Web implementation of SortableList using pointer events. * See SortableList.tsx for the native version using gesture-
src/components/DraggableList/index.web.tsx
BaseProgressGuide (Interface)
* Progress Guides that extend this interface must specify their name in the `guide` field, so it can be used as a discri
src/state/shell/progress-guide.tsx
TextLinkOnWebOnlyProps (Interface)
* Only acts as a link on desktop web
src/view/com/util/Link.tsx
BackgroundNotificationPreferencesContext (Interface)
(no doc)
modules/expo-background-notification-handler/src/BackgroundNotificationHandlerProvider.tsx
VisibilityViewProps (Interface)
(no doc)
modules/expo-bluesky-swiss-army/src/VisibilityView/types.ts
GifViewStateChangeEvent (Interface)
(no doc)
modules/expo-bluesky-gif-view/src/GifView.types.ts
ExpoScrollForwarderViewProps (Interface)
(no doc)
modules/expo-scroll-forwarder/src/ExpoScrollForwarder.types.ts

Core symbols most depended-on inside this repo

useTheme
called by 756
src/alf/index.tsx
get
called by 456
src/storage/index.ts
error
called by 348
src/logger/index.tsx
set
called by 271
src/storage/index.ts
createSinglePathSVG
called by 268
src/components/icons/TEMPLATE.tsx
useAgent
called by 243
src/state/session/index.tsx
useSession
called by 235
src/state/session/index.tsx
useAnalytics
called by 223
src/analytics/index.tsx

Shape

Function 4,366
Method 331
Interface 158
Class 124
Enum 35
Struct 25

Languages

TypeScript96%
Go4%

Modules by API surface

bskyweb/cmd/bskyweb/jsonld_test.go76 symbols
src/state/messages/convo/agent.ts54 symbols
dev-env/test-pds.ts35 symbols
src/lib/strings/url-helpers.ts34 symbols
bskyweb/cmd/bskyweb/jsonld.go32 symbols
src/state/queries/messages/list-conversations.tsx28 symbols
src/ageAssurance/data.tsx28 symbols
src/lib/api/feed-manip.ts27 symbols
bskyweb/cmd/bskyweb/server.go27 symbols
src/lib/api/feed/merge.ts23 symbols
src/view/com/composer/Composer.tsx22 symbols
src/components/ProfileCard.tsx21 symbols

Dependencies from manifests, versioned

github.com/beorn7/perksv1.0.1 · 1×
github.com/bluesky-social/indigov0.0.0-2026060521060 · 1×
github.com/cespare/xxhash/v2v2.3.0 · 1×
github.com/cpuguy83/go-md2man/v2v2.0.3 · 1×
github.com/decred/dcrd/dcrec/secp256k1/v4v4.2.0 · 1×
github.com/earthboundkid/versioninfo/v2v2.24.1 · 1×
github.com/felixge/httpsnoopv1.0.4 · 1×
github.com/go-logr/logrv1.4.1 · 1×
github.com/go-logr/stdrv1.2.2 · 1×

Datastores touched

postgresDatabase · 1 repos

For agents

$ claude mcp add social-app \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact