Fuzor API overview
The Fuzor API is the framework underneath every Fuzor app: Fuzor Studio projects, apps built with Claude or Codex, and apps written by hand all use it. It is an HTML-first framework built on Vite. Write pages as HTML or Markdown folders, use Precompiled Resumable UI for native interaction, and embed third-party runtimes through Framework Islands. The compiler prepares static structure ahead of time; dynamic server work runs when needed.
The mental model
Three independent choices describe every Fuzor app:
| Choice | Options | Decided by |
|---|---|---|
| Navigation | Document links by default, or client navigation inside an SPA subtree. Explicit SPA/MPA comparison builds remain available. | HTML route directives; optional --target |
| Delivery | Static files, or a Node/Cloudflare runtime | Automatic for backend/request-rendered routes; --server forces it |
| Interactivity | Managed native state/handlers, imperative scripts or Framework Islands | HTML module scripts and optional <fuzor-island> integrations |
Pages are static by default. A server can serve those same prerendered documents alongside API endpoints
and server data. Explicit request-rendering policies also run backend work
against compiled templates before sending complete HTML. A component’s <script server>
automatically generates request seeds, lazy actions and keyed/conditional updates;
the single-file model needs no separate view registry.
Where to go next
- New to Fuzor: Getting started, then the examples, which run all four delivery modes side by side.
- Building UI: Fuzor UI, live components, styling and restoration.
- Writing an app: Project structure, pages and routing, lists, islands, Markdown.
- Adding server behavior: Automatic server components and resumability, server data and API endpoints.
- Shipping: build profiles and deployment.
- Looking something up: CLI, configuration, runtime API, server API.
- Integrating a product: Advanced and UI brands.
Frequently Asked Questions
--target flag.
fuzor/ui, which provides design-system agnostic components driven by Zag.js state machines.
Status
Fuzor is early software and these docs follow the current repository, including unreleased changes. The API can change between minor versions; the upgrade guide lists breaking changes. Node and Cloudflare delivery and Electron/Capacitor integrations have repository verification; they have distinct limits described in deployment and embedded apps. Automatic ISR storage and Vercel/Netlify adapters are not implemented.