Quickstarts
A native Worker with static assets
Create a standard Worker and static asset binding.
For agents: Read the complete native guide and current
context.getcapabilities. Use only implemented operations and preserve exact Account, app and environment authority.
Start with the current Account and capabilities from context.get. Put HTML, CSS and browser JavaScript in a static asset directory, and use a normal Worker entry module. There is no custom app manifest.
{"name":"static-app","main":"worker.js","compatibility_date":"2026-10-17","assets":{"directory":"public","binding":"ASSETS"}}
export default { fetch(request, env) { return env.ASSETS.fetch(request); } };
Apply the folder to a private preview with an exact idempotency key, poll the returned operation, and test the page and assets. Publish publicly only when that audience is authorized. Inspect actual deployment state before reporting a working link. See the native guide.
Userland docsYours, live.