| Crates.io | wwwhat-core |
| lib.rs | wwwhat-core |
| version | 0.2.0 |
| created_at | 2026-01-18 00:53:45.32554+00 |
| updated_at | 2026-01-19 00:01:56.22225+00 |
| description | Core framework for What - an HTML-first web framework powered by Rust |
| homepage | |
| repository | https://github.com/tedigo/what |
| max_upload_size | |
| id | 2051527 |
| size | 320,725 |
A Rust-based HTML framework for building server-rendered web applications with automatic interactivity.
No JavaScript frameworks. No build steps. Just HTML.
/pages/admin/users.html becomes /admin/users#user.name#, #session.count#w-get, w-post for AJAX without JavaScript<w-*> tags# Install from crates.io (recommended)
cargo install run-what
# Or build from source
git clone https://github.com/tedigo/what.git
cd what
cargo build --release
# Create a new project
run-what new my-site
cd my-site
# Start the development server
run-what dev --path .
# Open http://127.0.0.1:8085
Create pages in the pages/ directory:
<!-- pages/index.html -->
<page title="Home">
<main>
<h1>Hello, #name#!</h1>
</main>
</page>
Routes are file-based:
pages/index.html → /pages/about.html → /aboutpages/blog/index.html → /blogSee the docs/ folder for detailed guides on:
w-get, w-post, modals, SPA navigationMIT