View Live Demo β’ Read Documentation β’ Live Editor β’ Report Bug

docmd noStyle page preview in dark mode
- Zero Config: Works out of the box with sensible defaults. Just
initand go. - Blazing Fast: Generates pure, static HTML. No React hydration lag, no heavy bundles.
- Smart Search: Built-in, offline-capable full-text search with fuzzy matching. No API keys required.
- Isomorphic Core: Runs anywhereβNode.js CLI, CI/CD pipelines, or directly in the browser via WASM.
- Rich Content: Built-in support for Callouts, Cards, Tabs, Steps, Changelogs, and Mermaid diagrams.
- Theming: Beautiful light/dark modes and multiple pre-built themes (
sky,ruby,retro).
Installation:
npm install -g @mgks/docmdRun:
docmd init my-docs # Initialize a new project
cd my-docs # Enter directory
docmd dev # Start live-reloading server
docmd build # Generate static site for deployment
docmd live # Launch live editor to preview and design pagesDev Server:
_ _
_| |___ ___ _____ _| |
| . | . | _| | . |
|___|___|___|_|_|_|___|
v0.x.x
π Performing initial build...
π Watching for changes in:
- Source: ./docs
- Config: ./config.js
- Assets: ./assets
ββββββββββββββββββββββββββββββββββββββββ
SERVER RUNNING (v0.3.5)
Local: http://127.0.0.1:3000
Network: http://192.1.1.1:3000
Serving: ./site
ββββββββββββββββββββββββββββββββββββββββdocmd keeps it simple. Your content lives in docs/, your config in docmd.config.js.
my-docs/
βββ docs/ # Your Markdown files
β βββ index.md # Homepage
β βββ guide.md # Content page
βββ assets/ # Images and custom CSS
βββ docmd.config.js # ConfigurationCustomize your site in seconds via docmd.config.js:
module.exports = {
siteTitle: 'My Project',
srcDir: 'docs',
outputDir: 'site',
theme: {
name: 'sky', // 'default', 'sky', 'ruby', 'retro'
defaultMode: 'dark', // 'light' or 'dark'
enableModeToggle: true
},
navigation: [
{ title: 'Home', path: '/', icon: 'home' },
{ title: 'Guide', path: '/guide', icon: 'book' }
]
}docmd comes with a modular architecture that allows the core engine to run client-side.
Launch locally:
docmd liveThis builds and serves a local editor where you can write Markdown and see the preview instantly without any server-side processing.
Embed in your app:
You can also use the dist/docmd-live.js bundle to add Markdown compilation capabilities to your own web applications.
| Feature | docmd | Docusaurus | MkDocs | Mintlify |
|---|---|---|---|---|
| Language | Node.js | React.js | Python | Proprietary |
| Output | Static HTML | React SPA | Static HTML | Hosted |
| JS Payload | Tiny (< 15kb) | Heavy | Minimal | Medium |
| Search | Built-in (Offline) | Algolia (Ext) | Built-in | Built-in |
| Setup | ~1 min | ~15 mins | ~10 mins | Instant |
| Cost | Free OSS | Free OSS | Free OSS | Freemium |
- Contributing: We welcome PRs! See CONTRIBUTING.md.
- Support: If you find
docmduseful, please consider sponsoring the project or giving it a star β.
Distributed under the MIT License. See LICENSE for more information.
{ github.com/mgks }