Skip to content

dividez/DocMind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DocMind

DocMind is an AI-native document workspace designed for contracts, long-form documents, and professional document workflows.

Instead of being a traditional Word editor, DocMind combines semantic document understanding, AI agents, patch-based editing, diff review, and lightweight editing into a unified desktop experience.

Users can interact with documents through natural language, just like using Cursor or Codex for code — but for DOCX and professional documents.

DocMind supports local-first workspaces, semantic AST parsing, AI review workflows, patch operations, and multi-model agent integration.

Scaffold follows vite-electron-builder.

Workspace

packages/
  entry-point.cjs       Runtime entry (wires renderer + preload)
  dev-mode.js           Development launcher
  electron-versions/    Electron Node/Chrome version helpers
  main/                 Electron main process
  preload/              Preload + contextBridge
  renderer/             React UI
  shared/               Shared types
  contract-schema/      Semantic AST, patch ops
  semantic-editor/      Lexical editor
  agent-runtime/        Agent runtime
  workspace-core/       Local workspace FS orchestration
  docx-parser/          DOCX → Semantic AST

Commands

pnpm install
pnpm start
pnpm typecheck
pnpm build
pnpm compile

pnpm start runs packages/dev-mode.js: build preload, start renderer dev server, watch-build preload/main (main spawns Electron).

Renderer imports preload APIs directly:

import { exportWorkspaceDocument } from '@docmind/preload'

Electron install issues

If postinstall fails to download the binary, .npmrc includes npmmirror for China. Retry:

node node_modules/electron/install.js

Docs

About

DocMind is an AI-native document workspace designed for contracts, long-form documents, and professional document workflows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors