Build interactive terminal applications with explicit state, pure reducers, Kida templates, keyboard input, and effect boundaries.
State and Reducers
Model app state and deterministic updates
Templates
Render state with Kida terminal templates
Forms and Flows
Collect input and navigate multi-screen workflows
Commands and Sagas
Run effects outside reducers
State Management
Redux-style Store with dispatch, listeners, middleware, and saga scheduling.
Sagas
Generator-based side effects with Call, Put, Select, Fork, Delay, Race, All, Take, and more.
Commands
Lightweight Cmd thunks, Batch, Sequence, TickCmd, and ViewState for simple side effects.
Multi-Screen Flows
Declarative multi-screen state machines with the >> operator.
Interactive Forms
Text, select, confirm, and password fields with validation and TTY fallback.
Input Handling
Cross-platform key reader with VT100/xterm escape sequence support.
Templates
Kida-powered terminal rendering with built-in form, field, help, and progress templates.
Live Rendering
In-place terminal updates via milo.live for scripts and one-shot commands.
Dev Server
Hot-reload dev server with filesystem polling and @@HOT_RELOAD dispatch.
Plugins & Hooks
Hook registry with named extension points, listeners, and Store middleware.
In This Section
Commands
Lightweight Cmd thunks, Batch, Sequence, TickCmd, and ViewState for simple side effects.
Dev Server
Hot-reload dev server with filesystem polling and @@HOT_RELOAD dispatch.
Input Handling
Cross-platform key reader with VT100/xterm escape sequence support.
Interactive Forms
Text, select, confirm, and password fields with validation and TTY fallback.
Live Rendering
In-place terminal updates via milo.live for scripts and one-shot commands.
Multi-Screen Flows
Declarative multi-screen state machines with the >> operator.
Plugins & Hooks
Hook registry with named extension points, listeners, and Store middleware.
Sagas
Generator-based side effects with Call, Put, Select, Fork, Delay, Race, All, Take, and more.
State Management
Redux-style Store with dispatch, listeners, middleware, and saga scheduling.
Templates
Kida-powered terminal rendering with built-in form, field, help, and progress templates.