Skip to content
Strata is pre-1.0. APIs, protocol, and storage format may change.

Reference

Strata contains eight Gleam packages. Each page describes a package and its public functions and types. We will add HexDocs links after package publication.

PackageTargetPurpose
strata_protocolErlang + JavaScriptVersioned message types and JSON conversion
strata_documentErlang + JavaScriptTyped LWW-register fields and record schemas
strata_serverErlangServer, storage, and HTTP/WebSocket handling
strata_clientErlang + JavaScriptConnection and document sync logic
strata_componentErlang + JavaScriptTyped headless components, ports, and bindings
strata_transportJavaScriptBrowser WebSocket input and output
strata_transport_gunErlangGun WebSocket input and output
strata_adminJavaScriptRead-only admin page

These pages summarize the public API and link to guides. Use the Generated API for all public types, constants, and functions.

Run just site-reference from the repository root after you change a public API or its documentation.