Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Slabs
v0.5.0 slabs-framework MIT License Rust 1.85+ Zero Node

Everything you need to build and ship web apps in Rust.

Every HTTP endpoint in Slabs is one self-contained file with raw SQL, explicit transactions, and compile-time discovery. Humans and parallel AI agents can ship twenty endpoints at once with zero merge conflicts.

Get started

Install the CLI, generate a standalone application, and run the health check before writing your first endpoint:

cargo install slabs-cli
slabs new app my_app
cd my_app
slabs doctor
slabs dev

slabs new app creates a working project with slabs-framework 0.5, compile-time slab discovery, Tailwind CSS v4, a cargo-chef and Litestream Dockerfile, bundled .claude/skills/, and a GitHub Actions CI workflow. In Rust code, slabs-framework exposes the slabs crate name (use slabs::prelude::*;).

Follow a tutorial

Start here if you want to build something real and see every piece run together.

Read the guides

Jump straight to a task when you know what you need to build, lock down, or deploy.

Study reference apps

Real applications teach faster than isolated snippets. Three full-stack apps rebuilt from Ruby on Rails live in sogamoso/slabs-examples.

Read the doctrine and dive deeper

Understand why Slabs rejects MVC layers, hidden callbacks, and Node build chains, or look up exact APIs and system tables.

For AI agents

Point your coding agent directly at the plain-text index, the single-file Markdown handbook, or any page’s raw Markdown source under raw/.

Static Markdown exports are generated on every build for direct context loading.