0.0.14 • Published 1 year agoCLI
kuty
Licence
—
Version
0.0.14
Deps
3
Size
23 kB
Vulns
0
Weekly
0
kuty
A lightweight React static site generator
Features
- File-based routing using a Pages directory
- Static site generation
- React 19 support
- TypeScript support out of the box
- Built with Bun for optimal performance
Installation
bun add kuty
Project Structure
my-kuty-app/
├── src/
│ ├── pages/ # Route components
│ │ ├── index.tsx # Home page (/)
│ │ └── about.tsx # About page (/about)
│ └── styles/ # CSS styles
├── public/ # Static assets
└── package.json
Commands
Build: Generates a static production build
kutyServe: After building, you can serve your static site with any static file server
bun x serve dist
Example
// src/pages/index.tsx
export default function Index() {
return (
<div>
<h1>Welcome to Kuty!</h1>
<p>A minimalist React static site generator</p>
</div>
);
}
Documentation
See the demo directory for a complete example project.