I’m building Astra, a client for Bluesky, and I’d like to add stories. Three apps here already have them, each with a record of its own:
| App | Record | Accounts holding one |
|---|---|---|
| Flashes | blue.flashes.story.post (and the older app.flashes.story) |
773 (+230) |
| Spark | so.sprk.story.post |
261 |
| Grain | social.grain.story |
191 |
(Counted with com.atproto.sync.listReposByCollection on the bsky.network relay, 3 December 2026.)
A fourth record from me would help no one. I’d rather agree on one that all of us can write and read, so a story posted in any app shows up in every other, and the next app to add stories has one shape to learn instead of four.
Below is a draft. It takes most of its fields from the three records above. Nothing has shipped, so everything here can change, the name included.
The record
community.lexicon.story.post, key tid. Only media and createdAt are required.
| Field | What it is |
|---|---|
media |
Open union of #image (JPEG, PNG or WebP) and #video (MP4), 5 MB at most, each with optional alt. A video also carries an optional poster still. |
expiresInMinutes |
How long apps show the story, counted from createdAt: 1 to 10080, default 1440. The same field, default and range Flashes uses. |
link |
One web address with an optional title, offered as a button or a swipe on the story. It is something the author attaches, not a pointer to the story’s own copies elsewhere. |
location |
Union of community.lexicon.location.address, .geo and .hthree. |
labels |
com.atproto.label.defs#selfLabels. |
createdAt |
Datetime. |
The rules that go with it
A schema can’t carry these, so they are the part I’d most like agreement on.
- Time on show. A story is shown from
createdAtforexpiresInMinutes, never longer than 7 days, and not beforecreatedAt. - Archive. After that, apps show the story only to its author, who can delete it. The record stays public in the repository until then, so apps shouldn’t word an archive as private.
- One frame. Every story is made for a 9:16 portrait frame. Writers fit other shapes onto that canvas (1080 by 1920 for an image). Readers show a file of any other shape whole inside the frame, never cropped. That is why there is no
aspectRatio. - Media as uploaded. Apps fetch the blob from the author’s PDS and show it unconverted, so the formats are fixed and video should be H.264 with AAC. 5 MB is the reference PDS’s default blob limit (its installer sets 300 MB), so it is the size no server should refuse.
- Moderation as for posts. Self-labels, the reader’s blocks and mutes, and labels on the author or on the story record all apply. A story is reported like any record, with
com.atproto.moderation.createReportand the story as its subject.
Highlights
community.lexicon.story.highlight: name, stories (up to 100 entries, each { "story": <at-uri> }, in play order), optional cover and labels, createdAt.
- A story in a highlight stays on show to everyone, past its time included.
- A highlight counts only stories from its own repository. Apps ignore any other entry, so nobody can put someone else’s archived story back on show.
- A deleted story is skipped. Taking a story out of a highlight deletes nothing.
Against the existing records
| Draft | Flashes | Spark | Grain | |
|---|---|---|---|---|
| Media | image or video, 5 MB | image, 10 MB | image 5 MB, video 300 MB | image or video, 5 MB |
| Time on show | expiresInMinutes |
expiresInMinutes |
no field | no field |
| Shape | fixed 9:16 | no field | aspectRatio |
aspectRatio, required |
| Alt text | yes | no | yes | no |
| Self-labels | yes | no | yes | yes |
| Location | yes | no | no | yes |
| Link | yes | no | no | no |
| Text and facets | no | yes | no | no |
| Sound, placed embeds, captions | no | no | yes | no |
I read these from the published schemas, so please correct anything I got wrong about your own record.
Open questions
- Video size. 5 MB keeps every server and every connection in play, but it is small for a video-first app: Spark’s record allows 300 MB. Is 5 MB right, or should video be allowed larger, with the poster covering the wait?
- Fixed frame or declared shape. Grain and Spark declare an aspect ratio. A fixed frame means every app draws every story the same way. Is that too strict for photo apps?
- Text. Flashes carries text and facets. I left text out because most apps bake it into the image, which leaves mentions with nowhere to live. Should an optional
textwith facets be in the first version? - Sound and placed embeds. Spark has both. I’d leave them to later optional fields or sidecar records. Say if that’s wrong.
- Location. The place pin draft can already point at a story, since its
subjectis any record in the same repository. Should stories droplocationand use a pin once that is settled? I’d be happy to. - Reactions. No story-specific record: a reaction to a story would be the
community.lexicon.interaction.reactionunder discussion, with the story as its subject. - Name and home. Is
community.lexicon.story.*the right name, and is this namespace the right home? I understand additions here start with a working group, so tell me how to get one going if this belongs here.
What I’m asking
- Flashes, Spark, Grain: would you read this record, and would you consider writing it? What would it need first?
- Everyone: what would you change about the rules above?
Astra will write and read the record that comes out of this, and won’t ship stories before its name is settled.
The schemas
Both parse with @atproto/lexicon, and I’ve run sample records through them.
community.lexicon.story.post
{
"lexicon": 1,
"id": "community.lexicon.story.post",
"defs": {
"main": {
"type": "record",
"description": "A story: one image or short video that apps show for a limited time, counted from createdAt. Once that time is over the story is archived: apps show it only to its author, unless a highlight of the author's (community.lexicon.story.highlight) keeps it on show. The record itself stays in the repository, and stays public, until its author deletes it.",
"key": "tid",
"record": {
"type": "object",
"required": ["media", "createdAt"],
"properties": {
"media": {
"type": "union",
"description": "What the story shows, made for one frame: portrait, 9 wide by 16 tall. An app shows a file of any other shape whole inside that frame. An app that meets a type it does not know leaves the story out.",
"refs": ["#image", "#video"]
},
"expiresInMinutes": {
"type": "integer",
"description": "How long apps show the story, in minutes from createdAt. A story with no value is shown for 24 hours. The longest is 7 days.",
"minimum": 1,
"maximum": 10080,
"default": 1440
},
"link": {
"type": "ref",
"ref": "#link",
"description": "One web address that goes with the story, which apps offer as a button or a swipe on it."
},
"location": {
"type": "union",
"description": "Where the story was made. A named place or a coarse area is preferred to exact coordinates.",
"refs": [
"community.lexicon.location.address",
"community.lexicon.location.geo",
"community.lexicon.location.hthree"
]
},
"labels": {
"type": "union",
"description": "Self-label values for this story. Effectively content warnings.",
"refs": ["com.atproto.label.defs#selfLabels"]
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when the story was created. The time it is shown for is counted from here."
}
}
}
},
"image": {
"type": "object",
"description": "A still image.",
"required": ["image"],
"properties": {
"image": {
"type": "blob",
"description": "The image file, shown as uploaded. 1080 by 1920 pixels fills the frame.",
"accept": ["image/jpeg", "image/png", "image/webp"],
"maxSize": 5000000
},
"alt": {
"type": "string",
"description": "Alt text description of the image, for accessibility.",
"maxGraphemes": 2000,
"maxLength": 20000
}
}
},
"video": {
"type": "object",
"description": "A short video.",
"required": ["video"],
"properties": {
"video": {
"type": "blob",
"description": "The mp4 video file, played as uploaded: no service converts it. H.264 video with AAC audio plays everywhere. 720 by 1280 pixels or more, in the frame's shape.",
"accept": ["video/mp4"],
"maxSize": 5000000
},
"poster": {
"type": "blob",
"description": "A still of the video in the frame's shape: what an app shows while the video loads, and wherever a story is drawn small. Writers should always set it, since no service makes one.",
"accept": ["image/jpeg", "image/png", "image/webp"],
"maxSize": 1000000
},
"alt": {
"type": "string",
"description": "Alt text description of the video, for accessibility.",
"maxGraphemes": 2000,
"maxLength": 20000
}
}
},
"link": {
"type": "object",
"description": "A web address that goes with a story.",
"required": ["uri"],
"properties": {
"uri": {
"type": "string",
"format": "uri",
"description": "The address the story points to. Apps open only https and http addresses, and show where one leads before opening it."
},
"title": {
"type": "string",
"description": "What to call the link, such as the page's title. An app with no title shows the site's name.",
"maxGraphemes": 100,
"maxLength": 1000
}
}
}
}
}
community.lexicon.story.highlight
{
"lexicon": 1,
"id": "community.lexicon.story.highlight",
"defs": {
"main": {
"type": "record",
"description": "A named set of an account's own stories that stays on show. Apps list an account's highlights on its profile and show the stories in one to everyone, past their time included.",
"key": "tid",
"record": {
"type": "object",
"required": ["name", "stories", "createdAt"],
"properties": {
"name": {
"type": "string",
"description": "What the highlight is called.",
"minLength": 1,
"maxGraphemes": 50,
"maxLength": 500
},
"stories": {
"type": "array",
"description": "The stories in the highlight, in the order they play. Only stories in the same repository as the highlight count: an app ignores any other entry.",
"items": { "type": "ref", "ref": "#item" },
"maxLength": 100
},
"cover": {
"type": "blob",
"description": "A square picture the highlight is drawn with. With none, an app uses the first story's image or poster.",
"accept": ["image/jpeg", "image/png", "image/webp"],
"maxSize": 1000000
},
"labels": {
"type": "union",
"description": "Self-label values for the highlight's name and cover. Each story in it keeps its own.",
"refs": ["com.atproto.label.defs#selfLabels"]
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when the highlight was created."
}
}
}
},
"item": {
"type": "object",
"description": "One story in a highlight.",
"required": ["story"],
"properties": {
"story": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of a community.lexicon.story.post record in the same repository as the highlight."
}
}
}
}
}