A beautiful, local-first Markdown editor for notes, docs, and ideas.
Bao is a desktop Markdown editor that keeps everything on your machine — no accounts, no cloud, no subscriptions. Open it and start writing. Your notes are plain Markdown files you can access anywhere.
- Live rich-text Markdown with raw source mode
- Floating formatting toolbar
- Slash commands (
/) for blocks and elements - Tables, images, code blocks, and nested lists
- Syntax highlighting and inline image resizing
- Local vault folder (plain
.mdfiles) - Sidebar file tree with drag & drop
- Create, rename, duplicate, delete files and folders
- Auto-rename file from first
# heading - Reveal in Finder / open in default app
- Multi-tab editing
- Drag tabs between windows
- Unsaved changes indicator
- Full-text vault search
- Live results with context
- In-editor highlighting
- Per-note tags with filtering
- Inline annotations and notes panel
- Resolve/reopen workflow
- Built-in chat panel (backend integration planned)
- Node.js 18+
npm installnpm run devStarts Vite and launches Electron with hot reload.
npm run build
npm startnpm test
npm run test:watchBao uses electron-builder.
npm run distOutput:
release/Bao-1.0.0.dmg
release/mac-arm64/Bao.app
npm run distOutput:
release/Bao Setup 1.0.0.exe
release/win-unpacked/
| Command | Description |
|---|---|
| npm run dev | Run app in development |
| npm run build | Build renderer |
| npm start | Run built app |
| npm test | Run tests |
| npm run pack | Package app |
| npm run dist | Build installers |

