Documentation

Start with a page. Add what you need.

Get started

Install Cow and make your first page.

Language

Write JavaScript, TypeScript, and HTML in a Cow file.

Pages & routing

How files and folders become URLs.

Modules & includes

Reuse code and share markup between pages.

Forms & uploads

Read form fields and uploaded files.

Cookies & sessions

Store preferences and manage signed-in sessions.

SQLite

Open a database, run queries, and save data.

Responses & files

Send HTML, JSON, downloads, and streams.

Runtimes

Run Cow with Node.js, Bun, Nub, or Deno.

Compatibility

Supported module formats, packages, and APIs.

Errors & debugging

Check your code and handle errors.

Editor support

Syntax highlighting, snippets, and API types.

API reference

Core request, response, and page APIs.