Skip to main content

Bluesky

Overview

Bluesky is a decentralized social network built on ATProto. Posts are stored as app.bsky.feed.post records in user PDSes.

Integration Pattern

An expression record sets sourceRef to the AT-URI of a Bluesky post. Annotation layers created over that expression become linguistic analyses of the post's text.

{
"$type": "pub.layers.expression",
"sourceRef": "at://did:plc:alice/app.bsky.feed.post/3k2a5b",
"text": "the full post text",
"kind": "social-media"
}

Annotation layers (POS tagging, NER, sentiment, discourse analysis, etc.) reference the expression and its segmentation as usual.

Layers Types Involved

TypeRole
pub.layers.expressionsourceRef points to app.bsky.feed.post AT-URI
pub.layers.segmentationTokenization of the post text
pub.layers.annotation#annotationLayerLinguistic annotation layers over the post

Discovery

The appview indexes expression.sourceRef values. A query for all linguistic annotations of a Bluesky post resolves by looking up the post's AT-URI across indexed expressions.