
0docs
0docs is an open-source, self-hosted documentation platform released under the MIT License.
What 0docs is
0docs is an open-source, self-hosted documentation platform released under the MIT License. Its editor organizes documentation into pages, sections, and blocks, with options such as callouts, steps, code tabs, cards, accordions, and API endpoints. Users can customize colors, fonts, the sidebar, and block styles, then snapshot documentation as versions, publish it, and use a custom domain. An “Ask docs” feature answers questions using published documentation and requires an OpenAI API key; a compatible base URL override is also documented. AI clients can use its built-in MCP endpoint to read and edit documentation, with per-project tokens or anonymous read-only access. 0docs requires PostgreSQL, with uploaded media stored there by default or in S3-compatible storage. Local installation requires Node.js 20+ and pnpm, plus Docker Compose or PostgreSQL 14+. SMTP is optional, but without it password-reset and invitation links are printed to server logs. The default upload maximum is 20 MB per upload. The self-hosting guide recommends HTTPS, database backups, and production configuration.
Good
- MIT-licensed and free to self-host
- Supports versioning and custom domains
- Includes a block-based editor and theming
- Built-in MCP endpoint for AI clients
Watch out
- Requires a PostgreSQL database
- AI answers require an OpenAI API key
- Default upload maximum is 20 MB per upload
- Without SMTP, email links appear in server logs
Who it suits
0docs suits teams or individuals who want to host and customize their own documentation platform. It is relevant for users comfortable managing PostgreSQL and the listed installation requirements.
Verdict
0docs offers a self-hosted documentation platform with editing, versioning, and AI-related features. Consider its database, installation, and email setup requirements before adopting it.
Plans and prices
From 0docs's own pricing page, checked 5 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Self-hosted | Free | Self-hosted documentation platform · MIT License · Free to self-host |
The facts
Each one read from 0docs's own pages, with the date it was checked.
What it does
- Agent integration
- A built-in MCP endpoint lets AI agents read and edit documentation using a per-project token, or run in anonymous read-only mode.checked 5 Oct 2026
- AI
- Ask docs answers questions using the content of a published documentation version and requires an OpenAI API key to enable.checked 5 Oct 2026
- AI feature
- The “Ask docs” feature is enabled by setting an OpenAI API key, and the repository also documents an OpenAI-compatible base URL override.checked 4 Oct 2026
- Authentication
- The platform includes email-and-password authentication with server-side sessions, and signup can be disabled after team accounts are created.checked 5 Oct 2026
- Block editor
- The editor supports blocks including callouts, steps, code tabs, cards, accordions, and API endpoints.checked 4 Oct 2026
- Database
- A PostgreSQL database is required, and uploaded media is stored in PostgreSQL by default or can use S3-compatible storage.checked 4 Oct 2026
- Deployment
- The project can be installed locally with Docker and pnpm, run in containers, or deployed on Railway.checked 5 Oct 2026
- Editor
- The editor organizes documentation into pages, sections, and blocks, including code, callouts, tabs, cards, steps, and API endpoints.checked 5 Oct 2026
- Email setup
- SMTP is optional for password-reset and invite emails; without SMTP, reset and invite links are printed to server logs.checked 4 Oct 2026
- Email support
- SMTP is optional; without it, password-reset and invitation links are printed to server logs.checked 5 Oct 2026
- License
- The repository states that 0docs is released under the MIT License.checked 5 Oct 2026
- Product
- 0docs is an open-source documentation platform that can be self-hosted.checked 5 Oct 2026
- Publishing
- Users can publish versioned documentation to a free URL or their own domain.checked 5 Oct 2026
- Requirements
- The local installation guide lists Node.js 20+ and pnpm, plus Docker Compose or a PostgreSQL 14+ instance.checked 5 Oct 2026
- Security operations
- The self-hosting guide recommends production HTTPS, PostgreSQL backups, and setting NODE_ENV=production to enable the Secure cookie flag.checked 4 Oct 2026
- Security setup
- The self-hosting instructions recommend putting a reverse proxy in front of the container deployment for HTTPS.checked 5 Oct 2026
- Storage
- Uploaded media is stored in PostgreSQL by default, with optional S3-compatible object storage.checked 5 Oct 2026
- Theming
- Users can customize colors, fonts, the sidebar, and per-block styles.checked 5 Oct 2026
- Upload limit
- The documented default maximum upload size is 20 MB per upload.checked 5 Oct 2026
Alternatives to 0docs
- 1

Mintlify
Free planWebAPILinuxmacOS8.0From $450 a month - 2
Fern
Free planOpen sourceWebAPILinuxmacOS7.8Free plan - 3

DocPlatform
Free planWebAPILinuxmacOS7.7From $29 a month - 4

VitePress
Free planOpen sourceWebAPILinuxmacOS7.7Free plan - 5

GitBook
Free planWebAPI7.6From $65 a month - 6

Documentation.AI
Free planWebAPI7.4From $55 a month
