netFetch JSON, text or bytes from a URL with get, post, put and del; a call that is not 2xx fails.
dbIndexedDB as keys to values: get, set, del, keys and all, kept in the browser between visits.
sqlSQLite itself in a worker: open a database, run statements with parameters, batch them, export the file.
fsPrivate files of the site: read text or bytes, write, list a folder, pick a file, save a download.
storeSmall values in localStorage, and persist on a state to keep it for the next visit.
cryptoSHA-256 hashes, random bytes, and argon2id for turning a password into a key.
zipCompress with gzip and deflate, pack files into a zip archive and unpack one.
imgDecode a PNG or JPEG picture, resize, crop, rotate, blur, adjust its colours and encode it again.
paintSheets to draw on with strokes, shapes, gradients and text; layers flattened into one picture.
scanRead a barcode or QR code out of a picture: EAN-13, EAN-8, Code 128, Code 39 and ITF.
cameraThe camera of the device on the page, handing each barcode it sees to an action; a shot is a picture.
notifyAsk to show notifications and show one with a title and a line.
pushSubscribe this device to Web Push with a server's public key, so a notification arrives while the app is closed.
vidOpen an MP4 or MOV video, take a frame at any second, draw a film strip, export clips with layers as a new film.
audOpen a sound such as music or a voice, draw its wave, lay it under a film.
reelA canvas that plays a film made of clips, layers and sounds, keeping time with the audio.
searchFull-text search: build an index from documents and find the best matches for a query, ranked by BM25.
syntaxParse code or markdown into a tree; tokens for colouring, and an outline of what a file declares.
reRegular expressions written as text: test, find, replace and split with a pattern.
timeThe clock and the date as the reader's own place writes them.
authSign up, sign in and sign out against the back end; a session cookie says who is calling.
server fnA function that runs on the server and is called from the page by its name, with checked parameters.
liveA value kept current over one WebSocket: sent again whenever the server says it changed.
speechListen to a voice and turn it into words, or say a text aloud.
boxesBoxes in space drawn with WebGL: orbit with a drag, zoom with the wheel, a traced picture with sun and shadows.
surfaceA canvas the page draws on with a pen: rectangles, circles, lines, paths and text, again on every change.
surface glShaders on a canvas: one call is a drawing with attributes, uniforms and textures.
editorA code editor: a textarea under coloured lines, with indenting, bracket pairs, find and replace.
terminalA terminal that understands escape sequences and colours, for a shell written in Mote.
flowA canvas of nodes joined by edges that pans and zooms, for diagrams and pipelines.
highlightCode coloured by the syntax battery, with line numbers and marked lines.
markdownA markdown document laid out as headings, lists, tables and code, whole or while it streams.
popoverA panel beside an element, opened by a press and closed by a press outside or Escape.
toastA short note in the corner of the window that leaves after four seconds.
iconOne of Lucide's icons by name, drawn in the colour of the text around it.
glassAn element that shows what is behind it, blurred, with a lit rim that bends the light.
routeParts of the page shown while the address matches a path, with names for its pieces.
resourceA value loaded in the background and loaded again when the state it reads changes.
workerA function that loops and uses only its parameters runs off the main thread, so the page stays quick.
kitButtons, dialogs, sliders, tabs, menus and the other components that come with Mote.