[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-80282":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":8,"language":10,"languages":8,"totalLinesOfCode":8,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":14,"forks30d":14,"starsTrendScore":18,"compositeScore":19,"rankGlobal":8,"rankLanguage":8,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":8,"pushedAt":8,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":14,"starSnapshotCount":14,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},80282,"domd","do-md\u002Fdomd","do-md",null,"https:\u002F\u002Fwww.domd.app","TypeScript",336,11,81,0,1,25,113,8,64.74,"Other",false,"main",true,[],"2026-06-12 04:01:27","\u003Cimg width=\"928\" height=\"720\" alt=\"cf0de0fa6d1db4ab27f3f992bf8c81bb_WC-EditVideo_1_30fps\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fede74d56-f5a8-4e3a-9b6b-6c71bc4cdd22\" \u002F>\n\n# DOMD\n\n**DOMD is a WYSIWYG editor built on a from-scratch, Markdown-native rendering engine.**\n\n- 20 KB gzipped kernel (zero runtime dependencies beyond React)\n- Input and rendering happen in lockstep — cursor stays steady, no lag, no flicker\n\n[**Try on Web**](https:\u002F\u002Fwww.domd.app\u002Feditor)\n\nDownload for Mac: [Apple Silicon](https:\u002F\u002Fgithub.com\u002Fdo-md\u002Fdomd\u002Freleases\u002Flatest\u002Fdownload\u002FDOMD_aarch64.dmg) · [Intel](https:\u002F\u002Fgithub.com\u002Fdo-md\u002Fdomd\u002Freleases\u002Flatest\u002Fdownload\u002FDOMD_x86_64.dmg)\n\n\u003Csub>English · [简体中文](.\u002FREADME.zh-CN.md) · [日本語](.\u002FREADME.ja.md)\u003C\u002Fsub>\n\n> [!WARNING]\n> **v0.1.4 fixes a critical bug** in v0.1.3 and earlier affecting the Enter\u002FDelete keys and Markdown saving. Please [update to the latest release](https:\u002F\u002Fgithub.com\u002Fdo-md\u002Fdomd\u002Freleases\u002Flatest).\n\n---\n\n## Markdown-native\n\nDOMD's WYSIWYG happens directly on Markdown.\n\nParsing, rendering, editing — engineered for Markdown WYSIWYG from the first line of code.\n\nIt is not built on top of ProseMirror, Slate, Lexical, or any general-purpose rich-text framework.\n\nDOMD's edit model serves Markdown directly.\n\n---\n\n## Kernel\n\nDOMD's kernel is a from-scratch Markdown WYSIWYG editor engine.\n\nIt is driven by a single source of truth — data — with immutable state. Typing, undo\u002Fredo, incremental streaming AI injection, and chunked file loading are all modeled as the same kind of state change inside the kernel.\n\nThis makes editing behavior deterministic, state always traceable, and rendering happens only where changes occur.\n\nThe entire editing stack fits in 20 KB gzipped.\n\n---\n\n## Instant 1 MB open\n\nhttps:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fd4cb6d94-6efe-4d5d-8a67-846be7f3cd45\n\nA 5 KB note and a 1 MB document open at virtually the same perceptual speed.\n\nIn Finder, press space — DOMD's own Quick Look extension takes over rendering.\n\n---\n\n## macOS\n\nThe Mac experience is built to the bar of system apps. Loading a rendered `.md` feels close to the system opening a `.txt`.\n\nThe purest Markdown preview and editing — no project tree, no sidebar, no tabs, no sync, no account. Files stay on your device.\n\nDownload for macOS: [**Apple Silicon**](https:\u002F\u002Fgithub.com\u002Fdo-md\u002Fdomd\u002Freleases\u002Flatest\u002Fdownload\u002FDOMD_aarch64.dmg) · [**Intel**](https:\u002F\u002Fgithub.com\u002Fdo-md\u002Fdomd\u002Freleases\u002Flatest\u002Fdownload\u002FDOMD_x86_64.dmg)\n\n## Web\n\nOpen the editor and start writing WYSIWYG in the browser — or drag a `.md` straight onto the page to edit it in place. Everything runs locally; files never leave your device.\n\nhttps:\u002F\u002Fwww.domd.app\n\n---\n\n## CLI\n\nThe macOS build ships with a command-line tool `domd-cli` that lets agents drive the window directly.\n\nIt supports opening new windows, streaming writes, and rewriting selections. A model's streaming response can be piped straight into `domd-cli insert` — tokens land in the document as they arrive and render as rich text in real time.\n\nThe demo at the top of the page was recorded from an Alfred workflow that calls the GPT API and streams the response incrementally into the document.\n\n---\n\n## Build\n\n### Web app (Windows)\n\n**Prerequisites**\n- Windows 10\u002F11\n- Node.js (LTS) with npm\n- Git (optional, for cloning)\n\n**Steps**\n1. Open PowerShell or Windows Terminal in the repo root.\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n3. Start the dev server:\n   ```bash\n   npm run dev\n   ```\n   Then open http:\u002F\u002Flocalhost:3000.\n4. Build and run production:\n   ```bash\n   npm run build\n   npm run start\n   ```\n5. Optional lint:\n   ```bash\n   npm run lint\n   ```\n\n### Native (macOS only)\n\n```bash\nnpm run tauri dev\n```\n\nWindows native builds are not currently supported.\n\n---\n\n## License\n\nDOMD is dual-licensed.\n\n**Application layer & helper libraries** — All source in this repository, including `@do-md\u002Futils` and `@do-md\u002Fzenith`, is MIT licensed; see [LICENSE](LICENSE). Free to read, modify, and self-host.\n\n**Core rendering engine** — `@do-md\u002Fdist` is distributed as a build artifact only, under [PolyForm Noncommercial 1.0.0](.packages\u002F@do-md\u002Fdist\u002FLICENSE). **Any commercial use requires prior written authorization.**\n\n---\n\n## Feedback\n\n- [GitHub Issues](https:\u002F\u002Fgithub.com\u002Fdo-md\u002Fdomd\u002Fissues)\n- [GitHub Discussions](https:\u002F\u002Fgithub.com\u002Fdo-md\u002Fdomd\u002Fdiscussions)","DOMD 是一个基于原生 Markdown 渲染引擎构建的所见即所得编辑器。它具有20 KB压缩内核，无额外运行时依赖（除了React），输入与渲染同步进行，确保光标稳定、无延迟和闪烁。该编辑器直接在Markdown上实现WYSIWYG功能，从代码的第一行开始就针对Markdown WYSIWYG进行了优化设计，并非基于ProseMirror、Slate等通用富文本框架。其核心是一个从零开始构建的Markdown WYSIWYG编辑引擎，采用单一数据源驱动，状态不可变，使得编辑行为确定性高且可追溯。DOMD适用于需要快速打开大文件（如1MB文档）并保持流畅编辑体验的场景，尤其适合macOS用户追求系统级应用体验的需求，同时提供Web版本以满足跨平台使用。",2,"2026-06-11 04:00:08","CREATED_QUERY"]