0docs
What it is
0docs is an open-source documentation platform that teams can self-host to create, style, version, and publish documentation. Released under the MIT License, it organizes content into pages, sections, and blocks such as callouts, steps, code tabs, cards, accordions, and API endpoints. Users can customize colors, fonts, the sidebar, and block styles, then publish documentation snapshots using a custom domain. Its “Ask docs” feature answers questions based on published documentation and requires an OpenAI API key; an OpenAI-compatible base URL override is also documented. A built-in MCP endpoint lets AI clients read and edit documentation using per-project tokens or anonymous read-only access. 0docs requires PostgreSQL. Uploaded media is stored there by default, with S3-compatible storage available as an option. Local installation requires Node.js 20+ and pnpm, along with Docker Compose or PostgreSQL 14+. The default upload limit is 20 MB per upload. SMTP is optional, but without it password-reset and invitation links appear in server logs. The self-hosting guidance recommends HTTPS, PostgreSQL backups, and production configuration.
For and against
For
- MIT-licensed and free to self-host
- Supports documentation snapshots and custom domains
- Offers an MCP endpoint for AI clients
- Media can use S3-compatible storage
- Theme controls include colors, fonts, and sidebar
Against
- Requires PostgreSQL
- Local setup requires Node.js 20+ and pnpm
- Default upload maximum is 20 MB per upload
- Without SMTP, reset and invite links appear in server logs
The verdict
0docs brings publishing, versioning, theming, and AI-related tools into a self-hosted documentation platform. Account for its PostgreSQL and local installation requirements, and configure SMTP if reset and invitation links should not appear in server logs.
Who it suits
0docs may suit teams that want to self-host and customize a versioned documentation site. It also offers an MCP endpoint for AI clients that need to read or edit documentation.
Plans and prices
Self-hosted
Self-hosted documentation platform · MIT License
Read 5 Oct 2026 · 0docs.dev
On the record
- 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.github.com · read 5 Oct 2026
- AI
- Ask docs answers questions using the content of a published documentation version and requires an OpenAI API key to enable.github.com · read 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.github.com · read 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.github.com · read 5 Oct 2026
- Block editor
- The editor supports blocks including callouts, steps, code tabs, cards, accordions, and API endpoints.0docs.dev · read 4 Oct 2026
- Database
- A PostgreSQL database is required, and uploaded media is stored in PostgreSQL by default or can use S3-compatible storage.github.com · read 4 Oct 2026
- Deployment
- The project can be installed locally with Docker and pnpm, run in containers, or deployed on Railway.github.com · read 5 Oct 2026
- Editor
- The editor organizes documentation into pages, sections, and blocks, including code, callouts, tabs, cards, steps, and API endpoints.github.com · read 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.github.com · read 4 Oct 2026
- Email support
- SMTP is optional; without it, password-reset and invitation links are printed to server logs.github.com · read 5 Oct 2026
- License
- The repository states that 0docs is released under the MIT License.github.com · read 5 Oct 2026
- Product
- 0docs is an open-source documentation platform that can be self-hosted.0docs.dev · read 5 Oct 2026
- Publishing
- Users can publish versioned documentation to a free URL or their own domain.github.com · read 5 Oct 2026
- Requirements
- The local installation guide lists Node.js 20+ and pnpm, plus Docker Compose or a PostgreSQL 14+ instance.github.com · read 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.github.com · read 4 Oct 2026
- Security setup
- The self-hosting instructions recommend putting a reverse proxy in front of the container deployment for HTTPS.github.com · read 5 Oct 2026
- Storage
- Uploaded media is stored in PostgreSQL by default, with optional S3-compatible object storage.github.com · read 5 Oct 2026
- Theming
- Users can customize colors, fonts, the sidebar, and per-block styles.0docs.dev · read 5 Oct 2026
The review
Overview
0docs is an open-source platform for creating and publishing documentation on infrastructure you operate. It suits developers and teams who want structured editing, versioned releases, and AI integrations with control over deployment. Its capabilities make it a flexible documentation workspace, while the PostgreSQL requirement and self-hosting work make it a poor fit for teams seeking a managed service.
Key features
The block editor supports callouts, steps, code tabs, cards, accordions, and API endpoints, organized into pages and sections. That gives authors useful structure for guides and reference material without forcing every page into a plain-text format. Theming covers colors, fonts, the sidebar, and individual block styles, so teams can align the documentation site with their product.
Teams can snapshot and publish documentation versions, use a custom domain, and access documentation analytics. Version snapshots are useful when instructions need to correspond to particular product releases. The scope of the analytics is not established, so teams choosing 0docs for measurement should first confirm that it answers their reporting needs.
Ask docs answers questions using a published documentation version. It requires an OpenAI API key, and an OpenAI-compatible base URL can be configured. The built-in MCP endpoint lets AI clients read and edit documentation through per-project tokens; anonymous access is read-only. These tools extend access to documentation for AI clients, but Ask docs depends on an API key and teams must manage token access carefully.
Pricing
The Self-hosted plan costs nothing, billed Free to self-host, and includes the MIT-licensed documentation platform. The free plan avoids a software fee, but hosting and operation remain with the team. There are no seat, page, or quota limits stated for this plan, so the practical cost depends on the infrastructure and maintenance the team provides.
0docs is a strong fit for teams comfortable running open-source software. The local setup requires Node.js 20+, pnpm, and Docker Compose or a PostgreSQL 14+ instance. PostgreSQL is required, with uploaded media stored there by default or in S3-compatible storage. The documented default upload limit is 20 MB per file.
Platforms
0docs supports API, self-hosted, and web access. Deployment guidance covers Railway and local installation with Docker and pnpm. Production operation calls for HTTPS through a reverse proxy, PostgreSQL backups, and setting NODE_ENV=production to enable the Secure cookie flag. SMTP is optional, but without it password-reset and invitation links are printed to server logs. That setup gives operators control, while also making deployment and account-email configuration their responsibility.
Who it's for
Choose 0docs if your team wants a customizable documentation site, needs versioned publishing, or values an MCP endpoint for AI clients, and can maintain a PostgreSQL-backed deployment. It is less suitable for teams that want a hosted service with operations and email delivery handled for them.
Pros and cons
- Pros: MIT-licensed and free to self-host, with custom domains, published versions, theming, and a block editor suited to structured documentation.
- Pros: The MCP endpoint supports authenticated reading and editing, while anonymous clients can read without project tokens.
- Cons: A PostgreSQL database and local runtime requirements add setup and maintenance work.
- Cons: Ask docs requires an OpenAI API key, and reset and invite links go to server logs unless SMTP is configured.
Alternatives
Developer Documentation Software is a broader category directory for comparing documentation tools. GitBook is a better fit for individuals who want a web-based option with one free user, unlimited page views, and 10 GitBook Agent messages per week. DocPlatform suits teams seeking a self-hosted Community Edition with unlimited editors, workspaces, and pages.
Fern offers a free plan with 10 team members, 1,000 pages, 250 AI credits per month, 2,000 page generations per month, and one site. Mintlify is worth considering for a free Starter plan with five editor seats, a custom domain, web editor, authentication, MCP server, and API playground. Sphinx is a free, BSD 2-Clause-licensed option that can be installed locally or self-hosted.
Typemill offers a free Community plan with its core product, free plugins and themes, customization, and community support. Documentation.AI may suit teams that want a hosted Starter plan with five editor seats, one project, and 10,000 one-time AI credits. Docusaurus is another free option for teams looking for a self-hosted documentation tool.
Verdict
0docs is a good choice for developer teams that want free, open-source documentation software they can shape and operate themselves. Its structured editor, versioned publishing, theming, and AI-client access are meaningful strengths. Choose another tool if avoiding database administration, deployment work, or email setup matters more than control over the stack.