hermet hermet SSR. Islands. Rust.

Shared HTML.
Personal islands.
Rust end to end. Built for AI-assisted development.

A Rust web framework for Cloudflare Workers.

Cache what's shared. Isolate what's personal. By design, not by discipline. No Node.js. No npm. No Wrangler. Architecture enforced by types, builds, and CI.

Cache by design.

One page, one HTTP response. The shared HTML comes from Workers Cache. Each Server Island is rendered for the visitor and streamed after it.

View as
/products/1 Shared HTML: HIT
Shared HTML
Hermet Coffee
Server Island
Hi, mika
Shared HTML

Ethiopia, light roast

This month's roast. The same HTML for everyone.

Server Island
mika's cartIn your cart: 2 items
Shared HTML0 ms
Island: header400 ms
Island: cart900 ms

A reproduction in your browser, delayed on purpose so you can watch the islands arrive. The shop sample streams real ones.

Rust end to end.

One CLI takes a site from a new folder to a deployed Worker. The configuration is Rust too: cloudflare.rs.

No Node.js.No npm.No Wrangler.

my-site

Give AI guardrails.

Don't just instruct AI. A mistake that crosses one of Hermet's boundaries does not build, whoever wrote it.

  1. Humandesigns.
  2. AIimplements.
  3. Compiler & CIcheck.
src/components/welcome.rs
pub fn app() -> App {    App::new(hermet::generated!())        // Every page must choose how long it stays in Workers Cache        .page(Page::at("/", home::load).until_deploy())}
pub async fn load(session: Option<Session>) -> Result<HomeView> {    let message = match session {        Some(s) => format!("Welcome back, {}.", s.user.id),        None => "Running on Hermet.".to_string(),    };    Ok(HomeView { message })}
pub async fn render(_deps: GetDeps, session: Option<Session>, _params: RouteParams) -> Result<Welcome> {    let message = match session {        Some(s) => format!("Welcome back, {}.", s.user.id),        None => "Running on Hermet.".to_string(),    };    Ok(Welcome { message })}
hermet check --full
error[E0277]: `fn(Option<Session>) -> impl Future<Output = Result<_, Error>> {load}` cannot be registered as a page with `Page::at`
…
= note: a page's `load` cannot take the request, the session or `Deps`: its HTML is shared. Render what is per user in a Server Island
No problems. Warnings: 0

Less to manage.
More to build.

No hydration. No client state store. No configuration language. No Node.js.

Rust. HTML. Web standards.

rustup target add wasm32-unknown-unknown
cargo install --git https://github.com/toshi-kuji/hermet --tag v0.2.0 hermet-cli --locked
hermet new my-site
cd my-site
hermet dev