Build TUI like sites, ship the web.
mkpage is a static site generator that compiles Markdown and declarative layouts into semantic, accessible HTML and CSS with optional keyboard-first enhancement.
v0.1 is under active development. See the product contract for scope and non-goals.
mkpage requires stable Rust. Run the quality gate locally:
cargo fmt --check
cargo clippy --all-targets --all-features -- -D warnings
cargo test --all-targets --all-features
cargo build --releaseThe command surface currently reserves init, build, dev, and serve.
Optional keyboard-first behavior is documented in docs/enhancements.md and is
enabled with the generated runtime asset.
See configuration for mkpage.toml, path safety, and
command precedence.
Quick start:
mkpage init .
mkpage dev .
mkpage build --root .
mkpage serve --port 3000mkpage dev builds once, serves public on 127.0.0.1:3000 by default, and
watches content, layouts, data, static, and mkpage.toml for rebuilds.
mkpage serve serves an existing output directory; pass --host / --port to
adjust the preview endpoint.
See docs/init.md for starter behavior and next-step guidance. See docs/dev.md for command details.