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
Kindrecord
Record keyany
Authorityhud.place
Commit rev3n3kx77n2xdju
Indexed

Showing version bafyreigod6eh5zev6pyf3rmcsm443akq7dhbg5h4nf7pu4lrxv4qol7poe. Show the latest

Record

record · key any

Properties

createdAt

requiredstring · datetime

html

requiredblob

Its document, UTF-8, everything it loads inline: framed sandboxed, allowed scripts and nothing else.

  • maxSize: 2000000
  • accept: text/html

icon

blob

Its icon, square.

  • maxSize: 256000
  • accept: image/png, image/webp

kinds

requiredarray

The kinds of entry it saves, each checked against its def before it is written.

  • minLength: 1
  • maxLength: 16
itemsref
Reference

name

requiredstring

What the app is called.

  • maxLength: 640
  • maxGraphemes: 64

origins

array

The 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
itemsref
Reference

reads

array

Public 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
itemsref
Reference

summary

string

What it is, in a sentence or two, as its page and its link's preview say.

  • maxLength: 3000
  • maxGraphemes: 300

words

blob

Its words, as a JSON object by language (en among them): each language's words by key, as the app reads them.

  • maxSize: 512000
  • accept: application/json

writers

array

Who 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
itemsref
Reference

writes

array

Collections 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
itemsref
Reference

#collection

object

A collection an app reads or writes beyond its entries.

Properties

collection

requiredstring · nsid

#kind

object

A kind of entry an app saves (place.hud.app.entry).

Properties

def

requiredunknown

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.

name

requiredstring

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

object

An origin an app loads media from.

Properties

url

requiredstring · uri

https://host, or https://host:port: no path.

  • maxLength: 256

#writer

object

An account an app lets write its entries.

Properties

did

requiredstring · did

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.