Kiln is a file-based server-rendering framework for React and Vite. You write components in a folder, and Kiln serves each file at the URL its path describes. This page gets you from nothing to a running page in about five minutes.
Create a project. The scaffolder asks a few questions and writes the files.bash
bunx @kiln-js/clicreatemy-app
Run the development server. It renders pages on the server and reloads the browser when you save.bash
cdmy-appbunrundev
Open http://localhost:3000.
Add a page. Create app/pages/hello.tsx. The URL /hello exists as soon as you save the file, with no route table to update. Quick start walks through this with a loader and an API route.
Build for production. This writes the client and server bundles, and bun run start serves them.bash