Skip to content
المشاريع

حول

Doca منصة مفتوحة المصدر لإدارة المستندات وقاعدة المعرفة، تدعم التحرير التعاوني بين عدة مستخدمين، والمستندات عبر الإنترنت، وMarkdown، والجداول، والعروض التقديمية، ولوحات الرسم، ومساعد الذكاء الاصطناعي. يمكن استضافتها ذاتيًا، وتوفر إدارة المستندات وقاعدة المعرفة والتحرير التعاوني الفوري للأفراد والفرق الصغيرة.

الإنتاجية والأتمتة

كيف تُقاس هذه الأرقام

716 نجمة7 التفرعات +1 خلال 24 ساعة

ما يمكنك فعله

  • 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 and Edge with text, source links, and images. Save to a new or existing document and organize webpages with Doca AI in the sidebar.

النمو المقاس للنجوم

خلال 24 ساعة
+١
خلال 7 أيام
+٣
خلال 15 يومًا
+٥٢
خلال شهر
+٢٠٥

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Doca

Doca

An open-source, self-hosted document and knowledge workspace for individuals and small teams.
Co-edit rich text, Markdown, spreadsheets, slides, and canvas, with a personal AI assistant.

Self-host with Docker · Download apps · Live demo · Documentation

Latest release MIT license

English · 简体中文 · 繁體中文 · 日本語 · Français · 한국어 · Español · Русский

Doca workspace with recent documents, a team knowledge library, and the AI assistant entry

Quick start with Docker

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.9/doca-compose-v0.3.9.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 bootstrap

The 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.

Offline deployment

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.

Deploy on RepoCloud

Mobile and desktop apps

Download the Android APK, macOS DMG, or Windows installer · Desktop client guide

Doca mobile workspace with recent documents, their locations, and access labels Doca mobile AI assistant with an input box and conversation controls

Doca 0.3.8 mobile workspace and AI assistant with a Simplified Chinese interface

Doca desktop workspace with multiple tabs and a backend switcher

Doca 0.3.0 desktop workspace

Desktop setup and sign-in

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.

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.

What you can do

  • 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 and Edge with text, source links, and images. Save to a new or existing document and organize webpages with Doca AI in the sidebar.
  • 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. Use Doca in several languages. Sign in with a password, phone verification code, OIDC, Google, GitHub, WeChat QR, or QQ. External login and SMS require service configuration.
  • Self-hosting and extensions. Docker deployment. Use 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.

Bring web sources into your own knowledge library

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.

Connect external AI clients to Doca tools and SKILLs

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.

Editor previews

Rich text

Rich text for plans and meeting notes, with a library tree, formatting tools, permissions, and document history close at hand.

Doca rich text editor displaying a team collaboration guide beside the knowledge library tree

Markdown

Take notes, paste code, and organize structured writing.

Doca Markdown editor with a development note in source and preview split view

Spreadsheets

Manage budgets, data, and project progress.

Doca spreadsheet editor with a formatted project budget

Slides

Present ideas and project updates.

Doca presentation editor displaying a product introduction

Canvas

Map out a process on an infinite board.

Doca canvas editor showing a project flowchart, mind map, and action table

Editor screenshots captured from Doca 0.3.0 in English with sample content in an isolated local deployment.

Documentation

English · 简体中文 · 繁體中文 · 日本語 · Français · 한국어 · Español · Русский

For a documentation preview, run pnpm docs:dev and open http://127.0.0.1:39140/#/en/. pnpm docs:check verifies language editions and local links. See the GitHub Pages setup in documentation maintenance.

Development

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 dev

Open 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.

Useful links

Website (Chinese) · Plugin marketplace · Releases

Ask questions and propose features · Report a bug

[!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.

Contact the author

License

MIT. The separately published rich text, spreadsheet, Markdown, canvas, and slides editors use the same license.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…