Download What Framework

Installation

Using Cargo

cargo install wwwhat

Requires Rust 1.70 or later. Install Rust from rustup.rs.

Quick Start

1. Create a new project

what new myproject
cd myproject

2. Start development server

what dev

3. Build for production

what build --output dist

Project Structure

myproject/ pages/ # HTML templates (routes) application.what # Directory-level config admin/ # Nested routes (/admin/*) application.what # Inherits from parent tags/ # Custom components sections/ # Reusable includes & layouts static/ # CSS, JS, images data/ # JSON data files wwwhat.toml # Server configuration sessions.db # Session storage (auto-created)

Source Code

What Framework is open source. View the code, report issues, or contribute on GitHub.

View on GitHub