Stati
TypeScript-first static site generator with zero-config setup, fast esbuild bundling, and file-based routing.
Why Choose Stati?
Modern web development made simple with essential features that just work.
TypeScript First
Type-safe config and built-in esbuild compilation for your client-side code.
Fast Development
Development server with live reload and incremental rebuilding.
ISG Support
Incremental Static Generation with intelligent caching and flexible invalidation.
Markdown & Templates
Powerful Markdown processing with Eta templating and hierarchical layouts.
Simple Configuration
Sensible defaults that work out of the box, with powerful customization when you need it.
Modern Tooling
CLI tools, project scaffolding, and development workflows built for efficiency.
Powerful Features
Modern static site generation with features that make development fast, intuitive, and type-safe
Full TypeScript Support
Built with TypeScript from the ground up. Type-safe configuration with IntelliSense, plus built-in esbuild compilation for your client-side TypeScript code.
-
Full type inference with
defineConfig()instati.config.ts - Built-in esbuild compilation with automatic script injection
- Dev mode: source maps & hot reload. Prod mode: minification & hashing
- Multiple bundles with per-page targeting via include/exclude patterns
import { defineConfig } from '@stati/core';
export default defineConfig({
site: {
title: 'My Stati Site',
baseUrl: 'https://example.com',
},
typescript: {
enabled: true,
bundles: [
{
// Included on all pages by default
entryPoint: 'main.ts',
},
{
// Only included on docs pages
entryPoint: 'docs.ts',
include: ['/docs/**'],
},
],
},
});
Get Started in Minutes
Create a new Stati site with a single command.