Skip to content

Apps

Apps are untrusted, installable WebAssembly modules that run on the server, in the client, or both. They are sandboxed via Wasm so the admins and users don’t need to trust them as much. They are triggered via specific events and to create an user interface, they need to use the design system. User feedback is given back to them as events and they can provide patches. What they can’t do is running JavaScript on the main thread to protect the sandbox.

  • Package is a ZIP archive with the .wasmapp, containing a manifest.json, Wasm files and other files.
  • Manifest describes package identity, modules, capabilities, kinds, and event handlers; its exact schema is still TBD.
  • App interfaces describes the Wasm contracts with the Host and Shell, with the concrete WIT and bridge schemas still TBD.
  • Repositories distribute the packages and provide updates.
  • Install, update, and uninstall describes admin approval, migration processes, and their effects to Datasets.