v0.8.3 — Production Ready

The fullstack framework
for Bun + Svelte

Production-ready out of the box — built-in security, performance, and reliability. File-based routing, streaming SSR, and a component registry included.

$ bun x bosia@latest create my-app
// runs on the server — data is typed on the page
import type { LoadEvent } from "bosia";
import { getPosts } from "$lib/posts";

export async function load({ params }: LoadEvent) {
  const posts = await getPosts();
  return { posts };
}

export function metadata() {
  return { title: "My Blog" };
}

Everything you need

A complete framework with batteries included.

Bun-powered

Instant dev server, fast builds, and a single runtime for everything.

File-based routing

+page.svelte, +layout.svelte, +server.ts — just like SvelteKit.

Streaming SSR

Render HTML as it streams with non-blocking metadata and layouts.

Secure by default

CSRF protection, XSS escaping, and security headers — zero config.

Component registry

Add shadcn-style components with `bun x bosia@latest add button`.

TypeScript first

Auto-generated PageData and LayoutData types for every route.

A component registry, built in

60+ accessible, themeable components you copy into your project — shadcn-style, owned by you, styled with Tailwind.

$ bun x bosia@latest add button
Live preview 60+ components
Badge
Secondary
Outline

Get started in seconds

1

Create a new project

$bun x bosia@latest create my-app
2

Start the dev server

$cd my-app && bun run dev
3

Add a component

$bun x bosia@latest add button

Built on proven foundations

Bosia is a thin, opinionated layer on top of tools you already love.

Ready to build?

Start your first Bosia project today.