solomd README

项目的 README,来自 github.com/zhitongblog/solomd。合并为一个 markdown 文件:README.md。

SoloMD

All the calm of Typora. Plus 5-platform vault sync, 9-format export & local AI — free.

Latest release License: MIT Downloads GitHub stars AtomGit Website

🌐 中文 · 日本語 · 한국어 · Deutsch · Français · Español · Português · Italiano · Polski · Nederlands · Türkçe · Svenska · Українська · 🪞 AtomGit mirror → · Gitee mirror → (faster downloads from China)

Download v5.2.0 · AtomGit Releases · What's new in v5.2 · Compare vs Obsidian & Typora · Website · Security

⭐ If SoloMD earns a place on your machine, star it on GitHub — it's free, made by one developer, and stars are how other people find it.

SoloMD editor

🤖 Built and maintained by Claude

SoloMD is written, tested and released almost entirely by Claude Code, Anthropic's coding agent, working under a human maintainer who sets the direction and decides what ships. Issues and pull requests are triaged and answered by Claude as well — the replies you get here are written by an AI, not typed by a person.

We are telling you this for two reasons. You should know what you are trusting with your notes: read the code, it is MIT and all of it is public. And when a reply is confidently wrong — it happens — say so in the thread. That correction is the mechanism.

💼 For Teams & Founders (100% Async Contracts): Using this exact human-architect + Claude Code pipeline, the maintainer also built Unterm — a self-developed Rust + wgpu terminal kernel exposing 152 MCP methods with an Action Gateway. Available for 100% asynchronous remote contracts (custom MCP servers, Rust/Tauri agentic desktop apps, and AI workflows — written specs, Loom demos & clean PRs, zero meetings). Work with the architect →

Your notes live in a plain folder. SoloMD gives you Typora’s quiet, centered writing feel, Obsidian’s local-first vault links, free encrypted sync across all 5 platforms, built-in 9-format export, and zero-config local AI + a 16-tool MCP server.

Built on Tauri 2 + Vue 3 + CodeMirror 6 + Rust. ~14 MB on Windows, ~16 MB on Linux (.deb/.rpm), ~21 MB on Android (arm64), and ~30 MB for the dual-arch macOS Universal .dmg. Free, MIT-licensed, no account, no subscription, no plugin tax, no SoloMD-hosted servers. Your notes, AI keys, embeddings index, and git history stay on your device.

What's new in v5.0 – v5.2

Three pillars in one lightweight native app

  1. Calm writing & publishing. Pure WYSIWYG + Live Preview + Split view, floating selection formatting bar, Focus & Typewriter modes, fullscreen Slideshow (⌘⌥P), Vim mode, KaTeX math + Mermaid diagrams, image paste to _assets/, built-in 9-format export, and .docx / .pdf / .xlsx / .pptx drag-and-drop import to Markdown. First-class CJK encoding detection (UTF-8 / GBK / Big5 / Shift-JIS), character counts, and Simplified ↔ Traditional conversion.
  2. Connected local vault across 5 platforms. Native apps for macOS, Windows (x64 + ARM64), Linux (x64 + ARM64), iOS/iPadOS, and Android with cross-device session restore. [[Wikilinks]], backlinks, YAML frontmatter properties, 100% offline semantic RAG search (⌘⇧F), AutoGit snapshot on every ⌘S (libgit2 built in), and free vault-scoped encrypted sync.
  3. Local AI & MCP endpoint. Inline AI rewrite (⌘J), right-side Agent Panel (streamed chat-with-vault, [[wikilink]] citations, inline tool cards), OPR local model auto-discovery + 20+ BYOK providers, and the bundled solomd-mcp binary exposing 16 tools to Claude Desktop, Cursor, Windsurf, and Claude Code.
Feature What it does
3 Editing Modes (v5.2) Pure WYSIWYG (no syntax shift on active line), Live Preview, and synced Split / Source view.
Unified 9-Format Export (v5.2) Built-in live-preview export to PDF, DOCX, HTML, EPUB, LaTeX, ODT, RTF, TXT, and MD — no external Pandoc setup needed.
Vault-Scoped Cloud & Git Sync (v5.2) Per-workspace sync via iCloud, OneDrive, Nutstore, Baidu/Aliyun Drive, Syncthing, WebDAV, S3/R2, or GitHub/GitLab/Gitea with optional E2EE.
OPR Local AI + 20+ BYOK (v5.2) Auto-discover local Ollama / LM Studio / Jan / vLLM / llama.cpp, or use 20+ BYOK cloud providers. Keys live in your OS keychain.
Declarative JSON Extensions (v5.2) .solomd/plugins/*.json adds custom /slash templates, regex/template text transforms, and one-click Webhook publishing.
Agent Panel & AI Rewrite Streamed chat-with-vault ([[wikilink]] citations, Insert/Copy to note) and ⌘J inline selection rewrite/translate.
Bundled 16-Tool MCP Server solomd-mcp ships in the app. Supports --workspace path1 --workspace path2 multi-vault federation, stdio (default) and loopback Streamable HTTP.
AutoGit per note Every ⌘S commits a snapshot to a local .git inside your workspace. libgit2 vendored, no system git required. Visual diff & 1-click rollback.
Offline Semantic Search (RAG) ⌘⇧F ranks paragraphs by meaning across your vault using an on-device Rust embedder — zero model downloads, zero network calls.

Use it

1. Write, link, and export. Open any folder of .md files. Switch between Pure WYSIWYG, Live Preview, and Split view in the top header; press ⌘⇧E (or File → Export) to open the Unified 9-Format Export Center.

2. Chat with your vault or rewrite inline. Select text and press ⌘J for inline AI rewrite/translation, or open the right-side Agent Panel (⌘⇧P → View: Toggle Agent Panel) for multi-turn chat across your notes. Click Auto-detect Local Models in Settings → AI to connect local Ollama / LM Studio in one click.

3. Drive your vault from Claude Desktop, Cursor, or Claude Code:

# Print the MCP config snippet for your AI client…
solomd mcp-config
# …or register it automatically across AI clients on your machine:
solomd mcp install
{
  "mcpServers": {
    "solomd": {
      "command": "/Applications/SoloMD.app/Contents/MacOS/solomd-mcp",
      "args": ["--workspace", "/Users/me/Documents/SoloMD"]
    }
  }
}

For multi-vault federation, repeat --workspace:

"args": [
  "--workspace", "/Users/me/Documents/SoloMD",
  "--workspace", "/Users/me/Documents/work-notes"
]

4. Or hand a prompt to claude / codex CLI directly:

solomd agent "summarize this week's daily notes into a weekly review and commit it"

MCP tools (16 built in)

Kind Tools
Read (always on) list_notes, read_note, search, get_backlinks, get_outline, list_tags, list_tasks, autogit_log, autogit_diff, sync_status, share_url, read_agent_trace
Write (--allow-write) write_note, append_to_note, autogit_rollback, export_note

Transports: stdio (default, what Claude Desktop / Cursor / Cline / Codex use), or Streamable HTTP for local/hosted clients:

solomd-mcp --workspace ~/Documents/SoloMD --transport http --bind 127.0.0.1:8765 --auth-token "$TOKEN"

Command line (CLI v2)

curl -fsSL https://raw.githubusercontent.com/zhitongblog/solomd/main/scripts/install-cli.sh | bash
solomd help

Commands: open, new, daily, list, search, cat, export, agent, mcp list|install|uninstall|config, mcp-config, --version.

Install

Latest release (v5.2.0) and every download: GitHub Releases · AtomGit Mirror · Gitee Mirror.

System requirements: Windows 10+, macOS 10.15+, current mainstream Linux, iOS 15+, Android 7+ (API 24).

macOS — universal dmg (Apple Silicon + Intel, signed + notarized)

brew install --cask zhitongblog/solomd/solomd

Or one-line shell install:

curl -fsSL https://solomd.app/install.sh | bash

Or direct download: SoloMD_5.2.0_universal.dmg · Mac App Store

Windows — x64 & ARM64

irm https://solomd.app/install.ps1 | iex
winget install solomd

Linux — x86_64 + aarch64

iOS / iPadOS & Android

Compared

SoloMD v5.2 Obsidian Typora MarkText
License MIT (Open Source) Proprietary (free) Paid ($14.99) MIT (dormant since 2023)
Stack Tauri 2 (Rust + native WebView) Electron Electron Electron
Platforms macOS · Win · Linux · iOS · Android macOS · Win · Linux · iOS · Android macOS · Win · Linux macOS · Win · Linux
Installer ~14 MB (Win) / ~16 MB (Linux) / ~30 MB (Mac Universal) ~110 MB ~70 MB ~80 MB
Pure WYSIWYG + Live Preview + Split ✅ All 3 modes 🟡 Live Preview only ✅ ✅
Built-in 9-format export (no Pandoc install) ✅ v5.2 🟡 PDF only (plugins for others) 🟡 Requires external Pandoc ❌
Free vault-scoped cloud & Git sync ✅ iCloud / OneDrive / WebDAV / S3 / Git ❌ ($96/yr Obsidian Sync) ❌ ❌
End-to-end encryption ✅ On your own storage ✅ Paid Obsidian Sync only ❌ ❌
Zero-config local AI (OPR auto-detect) ✅ Ollama / LM Studio / Jan / vLLM 🟡 Community plugins ❌ ❌
BYOK AI providers built in ✅ 20+ providers (OS keychain) 🟡 1–2 per community plugin ❌ ❌
MCP server bundled ✅ 16 tools + multi-vault federation ❌ (community plugins) ❌ ❌
Declarative JSON extensions ✅ .solomd/plugins/*.json ✅ Heavy JS plugins ❌ ❌
Local semantic RAG search ✅ 100% offline in Rust 🟡 Community plugins ❌ ❌
Version history per note ✅ AutoGit (libgit2 built in) 🟡 Manual git plugin ❌ ❌
CJK encodings (GBK / Big5) + OpenCC ✅ Auto-detect ❌ ❌ ❌

Detailed breakdowns: vs Obsidian · vs Typora · vs Tolaria · vs MarkText.

Privacy & security

Pure client-side. Your .md files stay in the folder you chose. API keys live in the OS keychain (macOS Keychain / Windows Credential Manager / Linux libsecret), never in localStorage or any config file. AI requests go direct from your machine to the provider you picked — no SoloMD relay. RAG embeddings and the AutoGit repo are local-only. The MCP server speaks stdio by default; its optional HTTP transport binds to loopback unless you choose otherwise, and can require a bearer token. The whole codebase is MIT and auditable.

E2EE sync uses AES-256-GCM (.solomd-enc cloud drive sync) and Argon2id → XChaCha20-Poly1305 (Git/remote sync). Plaintext stays on your devices; the remote sees only ciphertext. Path-traversal guards reject .. segments and unauthorized paths across all Tauri and MCP endpoints.

Full writeup: https://solomd.app/security.

Build from source

Prereqs: Rust (stable), Node 18+, pnpm.

git clone https://github.com/zhitongblog/solomd.git
cd solomd/app
pnpm install
pnpm tauri dev      # dev with hot reload
pnpm tauri build    # release artifacts → src-tauri/target/release/bundle/

Linux additionally needs libdbus-1-dev for the keychain backend.

The MCP server is a separate crate at mcp-server/; the dev MCP harness used for end-to-end testing lives at dev-mcp/. End-to-end test entry point: scripts/v4-self-test.sh (run with --with-release --with-ollama --with-ui for full coverage).

Contributing

Issues and PRs welcome — open one. For a sense of direction, see docs/roadmap.md. The v4.0 build log is at solomd.app/blog/v4-0-0-how-we-built-it/ — start there if you want to understand the engineering principles before sending a PR.

Contact / 联系

One maintainer, two front doors. Async on GitHub Discussions. Real-time chat:

WeChat — 智通    Telegram @SOLOMDAPP

Sponsors

Thank you to everyone who sponsors SoloMD: tyysoft(太阳雨) · m*p · *和

(Note: This is a partial opt-in list — WeChat Pay, Alipay, and App Store / Google Play in-app tips are anonymous by default. If you supported SoloMD and would like your name listed, please open an issue or see solomd.app/thanks.)

✨ 100% Free Forever & Supporter Badge: Every feature in SoloMD is 100% free forever — no paywalls, no subscriptions, no ads. To support independent open-source development, you can sponsor via GitHub Sponsors / PayPal / Alipay / WeChat Pay, or use the 3 optional one-time in-app tip tiers on Mac App Store, iOS App Store, and Google Play (☕ Buy a Coffee $0.99 · 🍜 Buy a Lunch $2.99 · 🚀 Generous Support $9.99) to permanently unlock the exclusive ✨ Supporter badge in Settings and About.

Contributors

Thank you to everyone who helps make SoloMD better — sponsors 💵, testers 🐛🤔, code/theme/packaging contributors 💻🎨📦 and promoters 📣 (All Contributors spec). Full wall of thanks: solomd.app/thanks · Promote SoloMD: solomd.app/promote


tyysoft(太阳雨)

💵 🐛 🤔 📣 📣
m*p
💵
*和
💵
张工
🐛 🤔
冰瞬若风
🐛 🤔

lcfactorization

🐛 🤔 📣

ScienceZone

🐛 🤔

Limoncello-Zoey

🐛 🤔

davi-jorge-art

🐛 🤔

zhuhaisto

🐛 🤔

licryle

🐛 🤔

ed-edwin

🐛 🤔

xjfnet

🐛 🤔

Snowboy801

🐛 🤔

nickzengxl

🐛 🤔

Howard-Zhou-77

🐛 🤔 💻

FFS-GmbH

🐛 🤔

yamsjix

🐛 🤔

zhouchangsong

🐛 🤔

chenghaitao

💻

Lance.Wang (beihai23)

💻

JukeJeew (jukejeew)

💻

DarkModest

💻

SYMF (raopan2021)

🎨

LiRui (fengzhoujingshui)

💻

Octopus (octo-patch)

💻

guangtoutong

💻

SmartKeyerror (gregoreficint)

💻

sakura777 (xu-qian123)

🎨

Sherri Gutmann (lizhen789)

💻

Vishal Habib (vishalhabib99)

💻

Beyers Cronje (bcronje)

💻

Esing (Zxis233)

💻

Jing Chen (yzcj105)

💻

ZHTodd223

💻

JumpingY (zhangpingyang)

💻

gonwe

📦

jysz

📦
^9星守辰^
📦 📣

shobhitagnihotri69

💻

zx0r

📦

Thibaultjaigu

💻

aiapienthusiast

💻

heydryft

💻

Lee (encircles)

💻

ss9975591

💻

Garfield

📣
LinuxLinks
📣
ToBeFree
📣
极客范 (JikeFan)
📣
BYOKList
📣

Jörg Kantel

📣
码客徐的小栈 (MakeXu)
📣
doaipm
📣
Tool Makers
📣
MCP Market
📣
AlternativeTo
📣
效率火箭 (xlrocket)
📣
MEFCL
📣
Argusic
📣
TolsAI
📣

License & credits

MIT © 2026 xiangdong li. SoloMD stands on Tauri 2, Vue 3, CodeMirror 6, markdown-it, KaTeX, Mermaid, libgit2, Pandoc, Hunspell, keyring-rs, and rmcp. Sponsor on GitHub Sponsors or via solomd.app/#sponsor.

Open-source hosting & G-Star Program

AtomGit

Special thanks to AtomGit (G-Star Program) for hosting SoloMD's official mirror and release packages in mainland China.

solomd (zhitongblog/solomd)

正在搜索数据库…

这是什么?SoloMD 是一个本地优先的笔记 markdown 编辑器,同时也是通向 LLM 的桥梁:内置的 MCP 服务器让 Claude Code、Codex 或 Cursor 等智能体可以在编辑器之外直接读取和编辑你的知识库(vault)。
它是打算取代 Obsidian 或 Typora 吗?是的,它的定位是两者的替代品:一个像 Typora 那样的 markdown 库编辑器,具备 Obsidian 风格的结构(wikilink、带类型的关系、关系图谱),外加 tldraw 风格的白板,用 Tauri 2、Vue 3 和 CodeMirror 6 构建为原生桌面应用。
怎么安装 SoloMD?在 macOS 上运行「brew install --cask zhitongblog/solomd/solomd」,或下载 release 的 dmg(约 32 MB);在 Windows 上使用「winget install solomd」。也可以从源码构建:「git clone」+「pnpm install」+「pnpm tauri build」。
AI 功能需要我自己的 API 密钥吗?需要——SoloMD 采用自带密钥(BYOK)模式,支持 14 家 AI 提供商,你要插入自己的提供商密钥,而不是向 SoloMD 付费换取访问。
在 Linux 上它还需要什么额外的东西吗?Linux 安装需要单独安装 libdbus-1-dev,供存储 API 密钥的系统密钥链后端使用。
SoloMD 会把我的笔记发送到它自己的服务器吗?不会——没有 SoloMD 托管的服务器。你的笔记、AI 提供商密钥、嵌入索引和 git 历史都留在你的机器上。
SoloMD 的代码实际上是谁写的?几乎所有代码都由 Anthropic 的编程智能体 Claude Code 编写、测试并发布,由一位把握方向的人类维护者监督;issue 和 PR 的回复同样来自 AI,而不是真人。
4.6 版本有什么新东西?4.6 版本在纯 markdown 库之上增加了知识图谱层:YAML 属性检查器、按类型驱动的侧边栏分区、带类型的双向关系、每条笔记的关系图谱、可保存的筛选视图、收件箱清零(inbox-zero)工作流,以及 tldraw 风格、以 markdown 为基础的白板。
智能体能自动化我知识库里的重复性任务吗?可以——通过内置的 MCP 服务器,你可以运行像「solomd agent "rewrite this week of dailies into a weekly review and commit it"」这样的一次性命令,也可以安排 recipe 在你离开键盘时自动运行。
底层技术栈是什么?SoloMD 基于 Tauri 2、Vue 3 和 CodeMirror 6 构建,由 libgit2、Pandoc、KaTeX、Mermaid 和 Hunspell 分别负责 git 集成、文档转换、数学公式、图表和拼写检查。
大小
96.3 MB
星标
1.7K
时长
7个月
提交 · 90 天