The Single-File
Web Framework

Get Started →

Powered by

hono logobun logokysely logozod logo

Fullstack as in Rails or Laravel

Start with a single file, with the features you need

🗄️

Database

Migrations, CRUD helpers and fully typed queries

🖥️

JSX Templates

Type-safe JSX layouts, pages, and components

🏞️

Client Components

Render JSX to client components and mount them in the DOM

📝

Forms

Zod-based form validation

🕒

Jobs

Built-in cron jobs and recurring jobs

const { database, migrate } = bunSqlite<DB>();

await migrate(({ schema }) => {
  return schema
    .createTable("items")
    .addColumn("id", "text", (col) => col.primaryKey().notNull())
    .addColumn("content", "text", (col) => col.notNull())
    .addColumn("created_at", "integer", (col) => col.notNull())
    .execute();
});

const entities = await store(database);

const items = await entities("items").all({ limit: 10 });

Join Our Discord to Hang Out ✌️