Lithair Documentation

Welcome to the official Lithair documentation. Lithair is a progressive Rust web framework built around the philosophy: "In Memory We Trust, In Data We Believe".

Quick Start

cargo install lithair-cli
lithair new my-app
cd my-app && cargo run

Core Concepts

  • Architecture — Progressive layers, SCC2 engine, memory-first design
  • Features — Declarative models, event sourcing, Raft consensus
  • Modules — HTTP, auth, data engine, clustering
  • Guides — Step-by-step tutorials for common tasks
  • Examples — Real-world application examples
  • Reference — Complete API reference

Philosophy

Pick what you need, leave what you don't. Add complexity only when proven necessary.

Lithair follows an à la carte architecture: start with a simple static file server, add REST APIs when needed, enable authentication, event sourcing, and distributed clustering — all without changing your code.