Build browser-native interfaces with generators, compiled templates and the DOM.
A plain function describes a view. A generator can keep local state between events, yield a new view, and delegate a multi-step interaction to another generator. Start with the installation guide, or open a live example to see this model in action.
Moving an existing Aster project
Aster is now Blokd, and AsterUI is now Blokd UI. In your package manifest, replace @fierst/aster with @fierst/blokd (1.2.3) and @fierst/ui with @fierst/blokd-ui (1.1.0), keeping each dependency in its existing section. Run your package manager’s install command to update the lockfile.
Update imports in your application, owned UI components and build configuration. Subpaths carry over, so @fierst/aster/vite becomes @fierst/blokd/vite. Set TypeScript’s jsxImportSource to @fierst/blokd. In Astro, update the integration import and rename renderer-specific files such as Panel.aster.tsx to Panel.blokd.tsx.
Check custom CSS and tests for selectors tied to the former package name. Rebuild server markup and client assets together, then test the first interaction on a server-rendered page. For a fresh project, run npx blokd my-app --install.