Production-ready out of the box — built-in security, performance, and reliability. File-based routing, streaming SSR, and a component registry included.
// 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" }; }
A complete framework with batteries included.
Instant dev server, fast builds, and a single runtime for everything.
+page.svelte, +layout.svelte, +server.ts — just like SvelteKit.
Render HTML as it streams with non-blocking metadata and layouts.
CSRF protection, XSS escaping, and security headers — zero config.
Add shadcn-style components with `bun x bosia@latest add button`.
Auto-generated PageData and LayoutData types for every route.
60+ accessible, themeable components you copy into your project — shadcn-style, owned by you, styled with Tailwind.
Create a new project
Start the dev server
Add a component
Bosia is a thin, opinionated layer on top of tools you already love.