Extensible Web Apps
A platform for malleable web apps: a small kernel, and everything else is a plugin. That includes the UI shell, storage, sync and the AI agents. Plugins run in their own workers, can only do what their manifest asks for, and draw their UI as plain HTML. An app needs no server, and can open in a space that a group of people share, where the same kernel runs on a server too, with plugins of its own.
Try it: https://extensibleweb.app/ explains the platform with a page made of plugins you can switch off and change (site/). The workbench, with every plugin, the trace and the benchmarks, is at /workbench/. The demo apps are in demos/: a reading list, spending, recipes, contacts, a calendar, habits, a survey and a feed reader with plugins on the server, a household app made for a space, a debugger, and more. The docs are at /docs/, from docs/.

Start here
What's in this repo
The top of the repo is the platform; everything else has a folder that says what it is.
| Folder | What it is |
|---|
| The platform | What every app is made of. An app loads it with two lines. |
src/ | The host (the page's side), the kernel, the plugin sandbox, the server and its seams, in TypeScript |
elements/ | The ui-* custom elements views are built from (ui-card, ui-table, ui-form…), one file each, served at /elements/ |
std/ | Standard plugins any app can link: the debug console, undo, import and export, sync, model providers, agents… |
sw/ and sw.js | The service worker, one file per job |
account/ | The sign-in and spaces app every deployment serves at /account/ |
vendor/ | Third-party code served as is (Mermaid, for ui-diagram) |
| Learning from it | |
demos/ | Apps written to show the programming model, one folder per app |
starter/ | The app npm run new-app copies to begin a new one |
docs/ | The guide and reference, drawn at /docs/ |
AGENTS.md | The short version, for AI agents and people building apps |
| This website | |
site/ | The site's own pages, served at its root: the front page and its chapters (site/home/), and the workbench with its demo plugins (site/workbench/). Not part of the platform. |
| Tooling | |
scripts/, tests/, public/ | Commands (check, new-app, deploy:app, create, and extensible-app, which a project of your own runs), the checks, and files copied to the site as they are (404.html, _headers, llms.txt) |
How it fits together
An app is a folder with an app.html: an ordinary page that lays out <slot name> elements and lists its plugins with <link rel="plugin" href="…">. Each plugin is one file. The page loads the platform with two lines (/platform/host.css and /platform/host.js); the host fetches the linked plugins, the kernel runs each in its own worker, and their views appear in the slots they name.
A person can extend any app, even one with no slots. Customize, on every app page, adds their own plugins, kept on their device. A plugin that has no slot names a place: a CSS selector on the page and what to do there (add before or after, replace, hide). The author can mark parts of the page review or locked. See places and the trip, menu and invoice demos.
How a view and its data move