← All projects
Vendor-Agnostic Tooling active

Document Canvas

A CLI client-agnostic WYSIWYG editor and review engine for Markdown, HTML, and raster images, connecting browser edits and passage-anchored comments directly to Claude Code, Codex, or Antigravity.

Reviewing a report in a terminal diff is awkward. I want to read the page, change a sentence, or point at a passage and ask an agent to fix it.

Document Canvas does that with local files and whichever coding agent I’m using. It opens Markdown, HTML, and images in a browser, with an optional terminal drawer for Claude Code, Codex, or Antigravity.

How it works

Local source file Markdown, HTML, or image served with SHA-256 block hashes WORKSPACE Edit in place Rewrite prose or annotate image Autosaves changed block text with its original block hash EDIT MODE Leave a comment Select passage and queue batch Anchors exact quote, block hash, and reviewed file revision READ MODE Claim & edit Claude, Codex, or Antigravity claims batch, reads current blocks, applies edit, replies addressed CLI AGENT direct block save Reconcile block hashes Compare target block hash against current file on disk Save recoverable snapshot in .document-canvas/history/ WRITER LOCK Target unchanged → Rebase Writes cleanly to source file; browser view updates in place Target changed → Conflict Rejects stale overwrite; keeps draft open in browser to resolve

Keep competing edits visible in WYSIWYG

Each prose edit includes the revision of the passage I changed. If an agent changed a different passage, the save can be rebased. If we changed the same passage, Canvas preserves the draft and shows a conflict.

That makes shared editing practical while keeping disagreements visible. Recoverable snapshots and image history let me inspect earlier versions.

Point, comment, revise in lazy mode

Select a passage and leave feedback. Canvas keeps the reviewed text and revision with the comment, then queues it for an agent to claim and address. The agent replies with what changed; I decide whether to resolve the thread.

Shared engine

Reports Pipeline uses the review engine for its human checkpoints.

Niu Prototyper uses the shared terminal engine for reviewing live interfaces.

Stack

PartTool
Review server and block reconcilerPython 3.10+ (standard library HTTP server and parser)
Comments, batches, and write journalSQLite and .document-canvas/history/ snapshots
Browser editorVanilla JavaScript and CSS (WYSIWYG prose, source blocks, passage highlights)
Raster image editingPintura
Terminal drawerNode.js, tmux, node-pty, ws, and xterm.js