Skip to content

Private previewMost of the architecture is written. First public release in 2027.

BunZero dependenciesSix UI libraries

A full-stack web framework for Bun.

File-based pages, layouts, loaders, a server/ folder for APIs, deploy presets and modules. ESM only, with zero runtime dependencies, and one core under React, Vue, Preact, Svelte, Solid and plain HTML.

Server code is a handler

A typed function in server/ that pages call and, with a route, a URL too. This one answers GET /api/hello with {"message":"Hello"}.

ts
import { defineHandler } from "hamur/server";

export const hello = defineHandler({
  route: "/api/hello",
  method: "GET",
  handler: () => ({ message: "Hello" }),
});

Add a handler in Getting started

One core, six adapters

Routing, loaders, head, state and the server are the same everywhere. An adapter renders pages and layouts with its library and hands you the hooks; the library and its compiler are peers your app installs.

What differs between them

Deploy anywhere

A preset shapes .output/ for one platform. Choose it with --preset; hamur generate prerenders every route it reaches from / for a static host.

Every preset in Deploy

Principles

Zero dependencies
Every published package has an empty dependencies field. What Bun or the Web platform provides is used; what they do not is written here.
ESM and Web standards
Request, Response, ReadableStream, URL and crypto.subtle everywhere. Node- or Bun-only APIs appear only in presets and storage drivers.
Neutral core
The core knows routes, data, head, state and the server, and never imports a UI library. Every adapter passes the same conformance suite.
Bun builds, everything runs
hamur dev and hamur build need Bun. The built output runs on Bun, Node 24 or newer, Cloudflare Workers and static hosts.
Nuxt's ergonomics
A Nuxt user recognises the folders and the names. Where Nuxt is Vue-specific, the form that works the same in every library is picked.

Sponsors

Support the journey. Sponsoring keeps it built in the open, and sponsors are listed here. They fund the work on GitHub. Thank you.