place.hud.app
Kept in the account that published it, keyed by a name it picks (1 to 64 of a-z, 0-9 and -), its address /a/<handle>/<key>. HUD reads it, and its blobs by CID, from that account's PDS (place.hud.getFrameApp), and runs its document with no network, no cookies and nothing of the page's. Republishing replaces it: entries name the version that wrote them.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | hud.place |
| Commit rev | 3n3kx77n2xdju |
| Indexed |
Record
record · key anyProperties
Its document, UTF-8, everything it loads inline: framed sandboxed, allowed scripts and nothing else.
maxSize: 2000000accept: text/html
icon
blobIts icon, square.
maxSize: 256000accept: image/png, image/webp
The kinds of entry it saves, each checked against its def before it is written.
minLength: 1maxLength: 16
What the app is called.
maxLength: 640maxGraphemes: 64
origins
arrayThe https origins its document may load pictures, audio and video from, each one a view HUD trusts names: its frame's policy lets them in img-src and media-src alone, never to fetch, script or frame. None, where it is left out.
maxLength: 8
reads
arrayPublic collections it reads beyond its entries (place.hud.listAppRecords, place.hud.getAppRecords): anyone's records of them, from HUD's index and their PDSes. Not place.hud.* collections.
maxLength: 16
summary
stringWhat it is, in a sentence or two, as its page and its link's preview say.
maxLength: 3000maxGraphemes: 300
words
blobIts words, as a JSON object by language (en among them): each language's words by key, as the app reads them.
maxSize: 512000accept: application/json
writers
arrayWho may write its entries, when given: place.hud.createAppEntry refuses anyone else, and place.hud.listAppEntries leaves out others' entries. Anyone, where it is left out.
maxLength: 200
writes
arrayCollections it writes in the person's own repository beyond its entries (place.hud.createAppRecord, place.hud.deleteAppRecord), once they allow it: each one whose record lexicon HUD bundles, never HUD's own, com.atproto.* or app.bsky.actor.profile.
maxLength: 8
#collection
objectA collection an app reads or writes beyond its entries.
Properties
#kind
objectA kind of entry an app saves (place.hud.app.entry).
Properties
A lexicon object def (type object, its properties and which are required) each entry's data is checked against. A bytes field names its maxLength, and a kind's bytes fields hold at most 700000 bytes together.
Its name, a def's in the app's lexicon: 1 to 64 letters and digits in lowerCamelCase, as lap or bestLap.
maxLength: 64
#origin
objectAn origin an app loads media from.
Properties
https://host, or https://host:port: no path.
maxLength: 256
#writer
objectAn account an app lets write its entries.
Properties
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
place.hud.getFrameApp
queryA frame app HUD serves.
-
place.hud.publishApp
procedurePublish a frame app.
-
place.hud.previewApp
procedurePreview a frame app before publishing it.
-
Something a frame app on HUD saved for the person: a lap, a trophy, a score.
-
place.hud.getAppPreview
queryA frame app's preview.