Your documents. Your knowledge. Your workspace.
Open-source document management, a knowledge base, and real-time collaborative editing
for individuals and small teams. Self-hosted, with a personal AI assistant.
Documentation → · Live demo · Plugin marketplace · Website (Chinese) · Self-host Doca
English · 简体中文 · 繁體中文 · 日本語 · Français · 한국어 · Español · Русский
中文简介: Doca 是面向个人和小团队的开源文档管理与知识库系统,支持多人协同编辑、在线文档、Markdown、在线表格、幻灯片、无限画布和 AI 助手,可通过 Docker 私有化部署。
Doca puts online documents, Markdown, spreadsheets, slides, infinite canvas, knowledge management, and team collaboration in one place. Capture personal notes, build team knowledge, and connect your own AI models to help with the work.
Pick up where you left off. Documents, team knowledge, and your AI assistant in one workspace.
Note
The live demo is for exploration. Use the language menu on the sign-in screen or in the workspace header. Demo data is cleared from time to time; please do not store important data there.
| Write and collaborate | Build a shared memory | Make it your own |
|---|---|---|
| Draft a proposal, track a budget, or sketch a plan. Invite collaborators and discuss details in comments. | Organize documents into knowledge libraries. Build knowledge books with source evidence, workflows, and human review. | Deploy on your own server. Connect your AI models and extend the workspace with business plugins. |
Rich text for plans and meeting notes, with a library tree, formatting tools, permissions, and document history close at hand.
Markdown — notes, code, and structured writing. |
Spreadsheets — budgets, data, and project tracking. |
Slides — present ideas and project updates. |
Canvas — map out a process on an infinite board. |
Editor screenshots captured from Doca 0.3.0 in English with sample content in an isolated local deployment.
| Capability | What it brings to your workspace |
|---|---|
| Online documents and collaboration | Rich text, Markdown, spreadsheets, slides, and canvas; realtime collaboration, comments, and history. |
| Knowledge management | Knowledge libraries with document trees, plus shared knowledge books with workflows, source evidence, and human review. |
| Personal AI assistant | Work with authorized documents and files, read PDF/Office attachments, generate or edit images, and analyze webpage material. Requires configured models and services. |
| Browser extension | Capture pages or selections in Chrome / Edge with text, source links, and images; choose create/append destinations and organize webpages with Doca AI in the sidebar. |
| Desktop client | Windows and macOS desktop apps for your own Doca service: a multi-tab workspace, multiple backends, system-browser sign-in and per-backend page restoration. Plugins keep running on your server. |
| MCP services | Connect external AI clients such as Codex to authorized Doca tools and SKILLs, using personal services or company integrations acting as a named user. |
| Files and sharing | Personal files, shared folders, invitations, permission controls, share links, search, notifications, and trash. Local or S3-compatible file storage. |
| Accounts and languages | Password, phone verification code, OIDC, Google, GitHub, WeChat QR, and QQ sign-in; Chinese and English interfaces. External login and SMS require service configuration. |
| Self-hosting and extensions | Docker deployment; SQLite for one server, or shared PostgreSQL, Redis, and file storage for multiple replicas. Business plugins use the public @smartdoca/plugin-sdk. |
One deployment has one account system. The default image installs no quick-notes, mail, calendar, membership, or moderation plugins. Templates and materials need a separately installed provider. See capabilities and limits.
Configure a capture profile under Browser assistant in personal settings, download the site-configured extension, and load its unpacked folder in Chrome / Edge. It follows your Doca website sign-in and saves a page or selection to personal documents, a library destination, or an existing document. Installation currently uses the download package; no browser-store release is provided.
The webpage toolbar provides capture, Doca assistant, and settings. Its sidebar summarizes and organizes the active page using the site's models, metering, and approvals, with conversations available in Doca too. Source webpages appear in operated resources, and page-first conversation titles make them easier to find. See browser assistant setup and usage.
Doca exposes Streamable HTTP MCP so compatible clients can discover authorized tools, read SKILL manuals, and work with documents and files. Personal services act as their owner; company services support integrations with an explicit target user on every operation. Service grants and resource permissions both apply. Tokens can be reset, disabled, or revoked independently.
Enable MCP in personal settings, create a service, and copy its generated client configuration. Administrators manage company services in the administration area. Tokens are displayed only when created or reset and can be supplied through the client's environment. See MCP services and client setup.
The Doca desktop client (Windows, macOS) connects to your own Doca service: workspace windows with independent tabs, several backends at once — signing out or removing one backend closes only its own pages. Sign-in uses system-browser authorization and desktop credentials stay in a local encrypted file. Windows, tabs, and routes are saved per backend and restored on relaunch. Plugins remain installed and executed on your server and load through the authenticated proxy.
Installers are available from GitHub Releases. Current builds are unsigned and not notarized: on macOS, right-click the app and choose Open the first time; Windows may show a SmartScreen prompt. Your server must run 0.2.37 or newer. See the desktop client guide.
| Destination | Address |
|---|---|
| Website | i.smartdoca.cc |
| Live demo | d.smartdoca.cc |
| Documentation | workhold.github.io/doca |
| Plugin marketplace | store.smartdoca.cc |
| Source code | github.com/workhold/doca |
| Releases | Download and release notes |
| Community | Ask questions and propose features |
| Issues | Report a bug |
Requires Docker Engine, Docker Compose, and an HTTP(S) origin served by a reverse proxy. A fresh SQLite/local-storage installation needs only one YAML file: no Git, no source checkout, no seccomp JSON, and no external initialization scripts. Existing installations must read the release requirements and retain their project name, volumes, databases, attachments and master key.
# 1. Download the standalone configuration into a permanent deployment directory
mkdir doca && cd doca
curl -fL https://github.com/workhold/doca/releases/download/v0.3.1/doca-compose-v0.3.1.yaml -o compose.yaml
# 2. Generate the master key with openssl rand -hex 32
# Edit compose.yaml: fill in DOCA_ORIGIN and DOCA_CREDENTIAL_MASTER_KEY
chmod 600 compose.yaml
# 3. Pull, start and wait for healthy
docker compose pull
docker compose up -d
docker compose ps
# 4. Enter the administrator login and password at the terminal prompt
docker compose exec doca bash docker/admin.sh bootstrapThe password must be at least 12 characters. There is no default account. Compose binds to 127.0.0.1:39120; configure an HTTP(S) reverse proxy before browser access. SQLite, files, plugins, and the AI database persist in doca_data.
The complete quick start includes .env, the reverse proxy, health checks, administrator recovery, and data preservation.
For servers without GitHub access, transfer deployment files without Git or source code. The supplier runs node scripts/pack-deployment.mjs to generate the bundle; the guide also includes copyable Compose, .env, and initialization steps. If registries are unreachable too, deliver the matching image with docker save / docker load.
Node.js 22.12 or newer and pnpm 11.25.0:
pnpm install --frozen-lockfile
cp .env.example .env
# Set a writable absolute storage root; replace the public master-key sample for a fresh install.
pnpm devOpen http://127.0.0.1:39130. Initialize the administrator with bash scripts/bootstrap-admin-local.sh. pnpm check runs TypeScript, tests, and the Web build. See development.
- User guide
- Browser assistant · MCP services · Desktop client
- Deployment and configuration
- Plugin development
- HTTP API; the running application also provides
/api/openapi.json. - Release notes
- Documentation source
For a documentation preview, run pnpm docs:dev and open http://127.0.0.1:39140/#/en/. pnpm docs:check verifies bilingual coverage and local links. GitHub Pages setup is in documentation maintenance.
- Email: smartdoca@163.com
- WeChat:
smartdoca
MIT. The separately published rich text, spreadsheet, Markdown, canvas, and slides editors use the same license.