What is Lito?
Lito is a modern static site generator specifically designed for documentation. It bridges the gap between simple zero-config tools and full-fledged frameworks like Astro or Next.js.
The Problem
Building a documentation site usually involves a trade-off:
- Option A: Use a hosted platform (easy, but expensive and locked-in).
- Option B: Use a general-purpose framework (flexible, but high setup effort).
- Option C: Use a simple markdown-to-html tool (easy, but ugly and limited).
The Solution
Lito provides:
- The “Mintlify” Experience: Defined via a simple config file.
- The “Astro” Power: Under the hood, it’s just an Astro build. You can “eject” or simply add Astro components to your pages.
- Self-Hosted Freedom: Output static HTML/CSS/JS that you can host anywhere (Vercel, Netlify, GitHub Pages, S3).
How it works
- You provide a folder of Markdown/MDX files.
- You provide a
docs-config.jsonfor global settings (navigation, branding). - Lito CLI compiles this into a full Astro project and builds it.
graph LR
A[Markdown Files] --> C(Lito CLI)
B[docs-config.json] --> C
C --> D[Astro Build]
D --> E[Static Site]Comparisons
| Feature | Lito | Docusaurus | Mintlify |
|---|---|---|---|
| Setup Time | < 1 min | 15 mins | < 1 min |
| Cost | Free | Free | $$$ |
| Customization | High (MDX + Astro) | High (React) | Medium |
| Engine | Astro | React | Closed source |
Ready to dive in?
Check out the Installation guide to get started.