Design Dawn — Lay it out freely. Write it with AI.
English | 日本語 · Website

Design Dawn is a free, open-source desktop app (Tauri 2, Rust + TypeScript) for design
documents. Place notes (Markdown), Mermaid diagrams and images anywhere on a free-form
canvas, and write them together with AI tools such as Claude, Codex, GitHub Copilot and Cursor through
a local MCP server — only where you allow. Everything is saved as plain text files, so you can
track changes with Git and review designs in pull requests just like code (“docs as code”).
A document is a set of sheets; each sheet holds freely placed blocks of Markdown, Mermaid
diagrams and images. Everything is stored as ordinary files and folders, so the same project
can be read and edited by people, reviewed with Git, and changed safely by AI tools.

Features
- Free-form canvas — pan, zoom (wheel, or the zoom control in the corner: - / + or a typed
percentage), select, move, resize, align, z-order, copy/paste, and undo/redo (creating and deleting
sheets, and deleting documents and folders, are confirmed instead and cannot be undone).
- Project → Document → Sheet → Block — a project tree with folders (drag rows to reorder or
move them, and undo a reorder, move, creation or folder rename with Ctrl+Z / Ctrl+Y in the tree
or the notice’s Undo button; a folder name with
/ or \ makes nested folders), document tabs and sheet tabs that
scroll sideways when there are many; several documents (and windows) open at once. The
sidebar can be folded away.
- Markdown blocks — rendered view on the canvas; a split source/preview editor while editing
(the divider moves, and the preview can be hidden; the same for Mermaid source).
- Mermaid blocks — the diagrams Mermaid 12 can draw, rendered locally and sanitised (no network, no
scripts).
- Mermaid GUI editor — edit flowcharts, sequence, class, state and ER diagrams, Gantt and pie
charts with lists and property fields instead of syntax; right-click a shape in the diagram to edit or
delete it, and add elements in a dialog with a preview. The Mermaid source stays the single
source of truth: each GUI edit changes only the bytes it must, is checked by re-reading the
result and rendering it, and is one undo step (Ctrl+Z / Ctrl+Y step through them while
the GUI is still open). Anything the editor does not fully understand
stays read-only rather than being rewritten.
- Display size — the text or diagram of a Markdown or Mermaid block can be zoomed (− / + or a
percentage, when the block is hovered) or fitted to the block; the size is kept in the sheet.
- Image blocks — PNG, JPEG, WebP, SVG and GIF, added by drag and drop or from a file dialog;
right-click to go back to the original size.
- Captions — diagrams and images can have a one-line caption above or below them.
- Git integration — status, stage/unstage, commit (amend, commit and push), undo of the last
commit, history, side-by-side diffs in tabs and a visual before/after of a sheet (with Open
Sheet to go to the changed block), discard, fetch/pull/push, branch display. Merge conflicts
are resolved in the app: text side by side,
sheet.json block by block, images by looking at
both versions; an unfinished merge is shown and can be finished or aborted.
- External changes — edits made by another editor, Git or an AI tool are detected; documents
without unsaved work reload automatically, otherwise you choose to reload, keep your version or
compare.
- AI / MCP —
design-dawn-mcp, a local MCP server (stdio only) that lets AI tools such as
Claude, Codex, GitHub Copilot or Cursor read and edit the projects you offer to them. Every
project is read-only for AI until you allow editing, in the app or by approving the AI’s
request in your AI tool; every change by AI is listed in AI Change History.
- Templates, print and export — documents from built-in or your own templates, a table block
from a spreadsheet, project-wide search, printing, and export to PDF, HTML or Markdown.
- Load issue repair and format migration — inconsistencies found when a project is opened
(missing or unlisted items, duplicate IDs, orphan files, leftovers of an interrupted save) can be
repaired from the notification panel; files written by older versions are read and upgraded on
the next save.
- Light / dark theme and English / Japanese UI, with a compact File / View / Help menu bar
(version and license information under Help).
| Flowchart GUI editor |
Sequence diagram GUI editor |
 |
 |
| Markdown editing |
Git diff |
 |
 |
| Gantt and pie charts |
Light theme |
 |
 |
| AI integration (MCP) |
 |
Why Design Dawn
- Not a long scroll, not a whiteboard file — arrange notes, diagrams and screenshots side by
side like a whiteboard, but keep every block as a
.md or .mmd file you can diff and review in
a pull request.
- Write it with AI — AI tools work through a local MCP server, read-only until you allow
editing; a block’s text is changed only against what the AI read, so an edit made in the
meantime comes back as a conflict instead of being overwritten.
- Mermaid without memorising syntax — edit flowcharts, sequence diagrams and Gantt charts in a
GUI while the Mermaid source stays the source of truth.
- Offline and local — no account, no cloud, no network access for rendering.
Typical uses: architecture and system design docs, API and sequence flows, ADRs with diagrams,
project plans with Gantt charts, and design reviews in Git.
How a project is stored
my-project/
├── project.json # project name and document order
├── system-design.dawn # entry point that opens a document from the file manager
└── documents/
└── system-design/
├── document.json # sheet order
├── assets/ # images
└── sheets/
└── overview/
├── sheet.json # block positions, sizes and types
└── blocks/
├── markdown-1.md
└── mermaid-1.mmd
Layout lives in small JSON files and content lives in .md / .mmd files, so diffs stay readable
and a human or an AI can change one block without touching the rest. Every JSON file carries a
schemaVersion; IDs are stable UUIDs, and display names are independent of folder names.
A real example: the design description of Design Dawn itself is a Design Dawn project in
design/, written through the MCP server. Open design/design-dawn.dawn in the app, or
read its .md and .mmd files here on GitHub.
Building and running
Development happens entirely inside a dev container; nothing but Docker is needed on the host.
Prerequisites: Linux, or Windows 11 with WSL2 (WSLg enabled), and Docker (Docker Desktop with
the WSL2 backend on Windows). Clone the repository onto the Linux / WSL2 file system.
docker compose build # build the dev image
docker compose up -d # start the dev container
docker compose exec dev npm ci # install dependencies
docker compose exec dev npm run tauri dev # run the app; the window appears through WSLg / X11
Other commands:
docker compose exec dev npm run verify # typecheck, Biome, Vitest, license check, cargo fmt/clippy/test
docker compose exec dev npm run build # frontend production build
docker compose exec dev npm run tauri build -- --bundles deb # Linux package
docker compose exec dev npm run tauri:build:windows # Windows .exe (cross-built, no installer)
Notes:
node_modules and the Rust build output live on Docker named volumes, not in the source tree.
- The window is shown through WSLg X11 (
GDK_BACKEND=x11 in compose.yaml).
tauri:build:windows cross-builds design-dawn.exe and design-dawn-mcp.exe into
src-tauri/target/x86_64-pc-windows-msvc/release/ with
cargo-xwin. On first use it downloads the Microsoft
CRT and Windows SDK (about 1 GB, under Microsoft’s license) into a Docker volume. Copy the
.exe anywhere on Windows and run it; it needs the WebView2 runtime, which Windows 11 includes.
Tauri calls this way of building experimental, so build installers for distribution on Windows
(see Building a Windows installer).
- If the repository is bind-mounted from a Windows drive, set
DAWN_WATCH_POLLING=true, because
file change events may not arrive there.
Building a Windows installer
Installers are built on Windows itself (the dev container cross-builds only the .exe files).
They are not code-signed for now.
Prerequisites (on Windows):
- Microsoft C++ Build Tools with the
“Desktop development with C++” workload
- Rust with the MSVC toolchain (the version in
rust-toolchain.toml is
installed automatically on first build)
- Node.js 24 or later
- WebView2 runtime (included in Windows 11)
Build (PowerShell, in a clone of the repository):
npm ci
npm run tauri build # installers for the app
cargo build --release --manifest-path src-tauri/Cargo.toml --bin design-dawn-mcp # MCP server
Results:
src-tauri\target\release\bundle\nsis\Design Dawn_<version>_x64-setup.exe: NSIS installer
src-tauri\target\release\bundle\msi\Design Dawn_<version>_x64_en-US.msi: MSI installer
src-tauri\target\release\design-dawn-mcp.exe: the MCP server. The installers do not include it
yet; put it next to the installed design-dawn.exe (where the AI Integration screen looks for
it) and register that path with the AI tool (see below).
Tauri downloads NSIS and WiX on the first build. npm run tauri build -- --bundles nsis builds only
the NSIS installer.
Unsigned builds: Windows SmartScreen warns when an unsigned installer is started (“Windows
protected your PC”). Choose “More info”, then “Run anyway”. Only do this for installers you built
yourself or got from a source you trust.
Using it with AI (MCP)
design-dawn-mcp is a local MCP server that lets an AI tool (Claude, Codex, GitHub Copilot,
Cursor or any other MCP client) read and edit Design Dawn projects. It speaks MCP over
stdin/stdout only, opens no network port, and works whether or not the app is running.
Set-up (once per AI tool): in the app, open File → AI Integration (MCP). It shows the
command to register (the design-dawn-mcp next to the app) with a Copy button, and the same as
the common JSON form:
{
"mcpServers": {
"design-dawn": { "command": "C:\\path\\to\\design-dawn-mcp.exe" }
}
}
Register it the way your AI tool adds MCP servers (for Claude Code:
claude mcp add design-dawn -- <command>). No project is named in the registration.
Which projects the AI may use: only the ones in the AI Integration screen’s list. Add them
there (Add the Open Project, or Add a Folder… for any project folder), or let the AI add
one (addProject with the folder). By default the AI works on the project open in the app (the
window used last; the last one used when the app is closed), if it is in the list. The AI can
list them (listProjects) and choose one (selectProject), so “summarize the order-service
project” works without registering anything again. The app need not be running.
Permissions: a project in the list is read-only for AI until changes are allowed: tick
Allow editing by AI next to it, or let the AI call setWriteAccess. Like every other tool
call that is not read-only, addProject, setWriteAccess and each change are approved by you in
the AI tool (for example Claude Code’s permission prompt). The list is kept in the app’s settings
folder as ai-access.json (never inside a project) and is shared by the app and the MCP server;
what the AI changes there shows in the screen and in AI Change History. The screen also
removes a project from the list.
- Tools:
listProjects, selectProject, addProject, setWriteAccess, getProject,
getDocument, getSheet, getBlock, searchProject, exportMarkdown, listTemplates; for
writable projects also createDocument, createSheet, createBlock (Markdown or Mermaid),
createFromTemplate, updateDocument, updateSheet, updateBlock, moveBlock,
updateBlockDisplay (the display size of a Markdown or Mermaid block, or fitting it to the
block), updateBlockCaption (the caption of a Mermaid or Image block), deleteBlock, importImage
(an image file of this computer as an Image block).
- To change a block’s text, the AI reads it with
getBlock and passes its contentHash as
expectedContentHash; if the text changed in the meantime the call returns conflict.
- It cannot delete documents, sheets or projects, run commands, use Git or open network
connections. If the app has the project open, it shows the changes at once.
To build only the server: cargo build --release --manifest-path src-tauri/Cargo.toml --bin design-dawn-mcp.
License
Design Dawn is released under the MIT License. Third-party licenses of the bundled
dependencies are listed in THIRD_PARTY_NOTICES.md.
评论