Appearance
Getting Started
Prerequisites
- Node.js
>=20 pnpm >=10
Install
bash
pnpm installRun the platform
The fastest way to get everything running:
bash
pnpm run favnThis interactive command walks you through local development and publishing with keyboard-friendly prompts.
Or run directly:
bash
# Local development (full host + all features)
pnpm run dev
# Standalone feature HMR
pnpm run dev -- --feature dashboard
# Publish a feature to CDN
pnpm run publish -- --feature feature-dashboardEquivalent explicit forms via favn:
bash
pnpm run favn -- --action dev
pnpm run favn -- --action dev --feature dashboard
pnpm run favn -- --action publish --feature feature-dashboardpnpm run flow remains available as a compatibility alias.
Operator channel moves and rollback are handled in the Admin UI (/_admin). Use CLI channel commands only as an explicit fallback:
bash
pnpm run channel:fallback -- --feature feature-dashboard --version 1.0.1 --to stableWhat you'll see
After starting, open these URLs:
| URL | What it shows |
|---|---|
http://localhost:3000/_admin | Admin dashboard — loaded features, versions, signatures, routes |
http://localhost:3000/_examples | Source-to-route mapping for all example features |
http://localhost:3000/dashboard | Example feature: Dashboard |
http://localhost:3000/reference | Example feature: SDK reference (event bus, store, server functions) |
Create your first feature
bash
pnpm run create-feature my-featureThis scaffolds a complete feature project in examples/feature-my-feature/ with manifest, Vite config, server functions, and publish script.
Then develop with hot-reload:
bash
pnpm run dev:feature examples/feature-my-featureHow features reach the host
examples/* are source projects. The host never serves source directly.
pnpm run buildproduces client + server bundles.pnpm run publish:localsigns and copies artifacts intoartifacts/feature-*/<version>/.- Host discovers artifacts, route-mounts
featureType: domainfeatures, and exposesfeatureType: facetfeatures through the SDK module registry.
Next steps
- Building Features — project structure, bootstrapping, development workflow
- Reuse and Data Flow — how to structure reusable modules and data ownership
- Manifest Contract — the full manifest specification
- Architecture Overview — how the system works