Draftmark is an open-source markdown sharing and collaboration platform that lets users create, share, and collect feedback on documents via a clean UI, REST API, or CLI.
What is Draftmark?
Draftmark is a markdown document sharing tool with built-in feedback collection. It takes markdown input (written in the web editor, uploaded as a file, or submitted via API or CLI) and produces a shareable URL with a beautifully rendered document. Documents can be public or private (with magic links). The platform runs on the web at draftmark.app and is maintained as an open-source project on GitHub under the MIT license.
Key Features
- Rendered markdown with GFM and Mermaid – Supports full GitHub Flavored Markdown including syntax highlighting, tables, and Mermaid diagrams. Preview and source tabs with syntax highlighting and line numbers.
- Inline comments anchored to lines – Click a line or select text to leave feedback that tracks which document version it was made on, so stale comments are identifiable.
- Agent-ready REST API – Every UI action is available via API endpoints for creating, reading, commenting, and reviews, allowing AI agents to interact programmatically.
- CLI (dm) – Install via npm and publish markdown from the terminal, poll for comments, push updates, and close reviews without leaving the shell.
- Access control – Public or private documents; private docs use magic links without requiring an account to view or comment.
- Collections – Group related documents (e.g., architecture plan, API spec, migration guide) with cross-document references in comments.
- Open Knowledge Format (OKF) export – Export any document or collection as a portable, git-native OKF bundle consumable by AI agents.
Who is it for?
- Developers and technical writers – Publish technical docs, RFCs, and API proposals with version tracking and inline feedback.
- AI/ML engineers – Use the API or CLI to have coding agents publish planning documents, collect feedback, and iterate automatically.
- Content creators – Share drafts of articles or AI prompts, gather reactions and inline comments, and iterate before publishing.
- Teams doing async review – Use reviews, reactions, and comments on documents without requiring all participants to log in.
What can you do with Draftmark?
- Prompt Sharing – Share and iterate on AI prompts with inline comments on specific lines and version tracking.
- Agent Planning – Share planning sessions from coding agents; collect comments and feedback on the approach before code ships.
- RFCs & Proposals – Structured async review with deadlines, review tracking, and Mermaid diagrams for technical proposals.
- Docs & Runbooks – Publish technical docs and runbooks as clean shareable links that team members and agents can read and comment on.
How does Draftmark work?
- Write or upload a markdown document via the web UI, API, or CLI. A shareable URL is returned instantly.
- Share the link; reviewers see a clean rendered doc with no login required for public docs.
- Reviewers leave inline comments, reactions, or mark themselves "done" reviewing.
- The author (or an AI agent) fetches comments via API and iterates on the document. Old comments are marked with the version they were made on.
Pricing
Free tier at $0/month with unlimited public docs, private docs, comments, reactions, collections, and full API access. A coming "writer" tier at $6/month adds password-protected links, version history, webhooks, custom domain, and higher API rate limits. Self-hosted is free under MIT license with unlimited everything and community support.