Docmost — Open Source Collaborative Wiki & Documentation
Docmost is an open-source Confluence and Notion alternative for team wikis and documentation, featuring real-time collaboration, rich editor, and permission management.
What it is
Docmost is an open-source collaborative wiki and documentation platform. It serves as a self-hosted alternative to Confluence and Notion, providing real-time collaboration, a rich block-based editor, permission management, and organized workspaces for team knowledge. Teams write, share, and maintain documentation without relying on SaaS platforms.
Docmost targets organizations that want team documentation under their own control. It provides the collaborative editing experience of modern doc tools with the data ownership of self-hosting.
Why it saves time or tokens
Team knowledge scattered across Slack messages, Google Docs, and personal notes is impossible to search effectively. Docmost centralizes documentation in a structured, searchable format. For AI-assisted development, having documentation in a self-hosted system with an API means AI agents can read and update docs programmatically, keeping documentation in sync with code changes.
How to use
- Deploy Docmost with Docker Compose using the official configuration
- Create a workspace and invite team members
- Start writing documentation with the rich block editor
Example
# docker-compose.yml
version: '3'
services:
docmost:
image: docmost/docmost:latest
ports:
- '3000:3000'
environment:
DATABASE_URL: postgres://docmost:password@postgres:5432/docmost
REDIS_URL: redis://redis:6379
APP_SECRET: your-secret-key
depends_on:
- postgres
- redis
postgres:
image: postgres:16
environment:
POSTGRES_DB: docmost
POSTGRES_USER: docmost
POSTGRES_PASSWORD: password
redis:
image: redis:7
| Feature | Description |
|---|---|
| Real-time collab | Multiple editors simultaneously |
| Block editor | Headings, code, tables, embeds |
| Permissions | Page and space-level access control |
| Search | Full-text search across all docs |
| Workspaces | Organize docs by team or project |
Related on TokRepo
- AI tools for documentation — documentation tools on TokRepo
- AI tools for self-hosted — self-hosted team tools
Common pitfalls
- Docmost requires PostgreSQL and Redis; ensure proper backup procedures for the database as it contains all documentation
- Real-time collaboration needs WebSocket support; reverse proxy configurations must enable WebSocket passthrough
- Migrating from Confluence or Notion requires export/import work; there is no automated one-click migration tool
Frequently Asked Questions
Docmost provides a similar block editor and workspace organization as Notion but is fully self-hosted and open source. Notion is a SaaS product with more advanced features like databases, automations, and integrations. Choose Docmost for data ownership and self-hosting; Notion for the richest feature set.
Yes. Multiple users can edit the same document simultaneously with real-time cursor tracking and conflict resolution. Changes appear instantly for all editors. This is powered by WebSocket connections and a CRDT-based collaboration engine.
Docmost supports importing content from various formats. For Confluence, you would export pages as HTML or Markdown and import them into Docmost. The process is manual for now; check the documentation for the latest import capabilities and supported formats.
The block editor lets you compose documents from different content blocks: headings, paragraphs, code blocks, tables, images, embeds, and more. Each block is independently editable and reorderable. This is the same editing paradigm used by Notion and modern documentation tools.
Yes. Docmost provides workspace-level and page-level permissions. You can control who can view, edit, and manage each space and page. Role-based access control lets you define admin, editor, and viewer roles for different team members.
Citations (3)
- Docmost GitHub— Docmost is an open-source collaborative wiki
- Docmost Docs— Docmost provides real-time collaboration and rich editing
- Docmost Website— Self-hosted documentation alternatives
Related on TokRepo
Source & Thanks
- GitHub: docmost/docmost — 19.7K+ ⭐ | AGPL-3.0
- Website: docmost.com
Discussion
Related Assets
doctest — The Fastest Feature-Rich C++ Testing Framework
doctest is a single-header C++ testing framework designed for minimal compile-time overhead and maximum speed.
Chai — BDD/TDD Assertion Library for Node.js
Chai is a flexible assertion library for Node.js and browsers that supports expect, should, and assert styles.
Supertest — HTTP Assertion Library for Node.js APIs
Supertest provides a high-level API for testing HTTP servers in Node.js with fluent assertion chaining.