Now with Tailwind CSS v4 support

Pack light, Pitch fast,
and build with ease.

The cozy new static site generator, for adventurous developers.

campsite build
{ } Source Files

.njk templates

.md content

.liquid pages

CampsiteJS

Renders templates

Compiles Tailwind

Optimizes assets

Static Output

HTML / CSS / JS

Ready to deploy

public/ folder

Zero to deployed

Two commands.
That's the whole setup.

No config files to wrestle. No plugins to hunt down. Just scaffold and go.

1 Create your project

$ npm create campsitejs@latest

Interactively picks your template engine, CSS framework, and JS integrations.

2 Build and ship

$ cd my-site

$ npm run build

Outputs plain HTML, CSS, and JS to public/ — ready to deploy anywhere.

No lock-in. No runtime dependencies. Just files.

Ship it

Deploy anywhere you want.

CampsiteJS outputs plain HTML, CSS, and JS — host it on any platform that serves static files.

Everything you need, nothing you don't

CampsiteJS ships with a carefully chosen set of integrations so you can focus on building, not configuring.

Multiple Template Engines

Write in Nunjucks, Liquid, Markdown, or Mustache — or mix them across your project. CampsiteJS handles rendering automatically with zero configuration.

Nunjucks Liquid Markdown Mustache

Lightning Fast Builds

Optimized build pipeline with automatic asset handling, photo compression, and cache-busting baked right in.

✓ Built in 0.8s → public/

CSS Framework Ready

First-class support for Tailwind CSS v4, Bootstrap, Bulma, and Foundation.

View CSS docs

JS Framework Integrations

Add reactivity with Alpine.js for lightweight interactivity, or go full component-driven with Vue.js — both configurable in a single line in campsite.config.js.

Up and running in seconds

One command scaffolds your project with your chosen template engine and CSS framework. No boilerplate wrangling required.

Interactive project scaffolding

Pick your template engine, CSS, and JS integrations at setup.

Hot-reload dev server

Changes in src/ rebuild and refresh the browser instantly.

Deploy anywhere

Output is plain HTML/CSS/JS — host on Netlify, Vercel, S3, or your own server.

terminal

$ npm create campsitejs@latest

◆ Project name: my-site

◆ Template engine: Nunjucks

◆ CSS framework: Tailwind CSS

◆ JS framework: Alpine.js

✓ Project created!

$ cd my-site && npm run dev

✓ Ready at http://localhost:8080

Simple enough to start.
Powerful enough to ship.

Join developers building fast, modern static sites with the tools they already love.