MiaoYan

tw93MIT活跃维护

一款用 Swift 写的轻量原生 Markdown 笔记应用,覆盖 Mac、iPhone 和 iPad,支持 LaTeX、Mermaid 图表,数据本地优先,适合想要 Obsidian 替代方案的人。

⛷ A light, native Markdown notebook for Mac, iPhone and iPad.

V4.8.0发布于 2026-11-06 13:18 UTC8,765star +15 / 7 天524fork同步于 2026-11-10 17:31 UTC

怎么上手

由 README 提炼,执行前请确认
brew install --cask miaoyan
硬件要求按 README 说明

macOS 12.0+;iPhone 与 iPad 版在 App Store 提供,与 Mac 版共用同一 iCloud Drive 文件夹。README 未提及 CPU/GPU 或显存要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

Mac 上的原生本地 Markdown 笔记应用,笔记就是你选定文件夹里的纯 md 文件

一款用 Swift 写的轻量原生 Markdown 笔记应用,覆盖 Mac、iPhone 和 iPad,支持 LaTeX、Mermaid 图表,数据本地优先,适合想要 Obsidian 替代方案的人。

核心能力

  • 笔记以 Markdown 文件存于自选文件夹,不做数据采集
  • 三栏布局加暗色模式,无插件系统保持专注
  • Swift 6 原生实现,分栏预览滚动同步达 60fps
  • 内置 Wikilink、LaTeX、Mermaid、版本历史与 PPT 演示
  • 提供 miao CLI,可在终端新建、搜索、查看笔记

容易踩的坑

开源版仅覆盖 Mac,想在 iPhone/iPad 上写需购买 App Store 版;应用不登录 WebDAV 或网盘账号,跨设备同步要自己用 iCloud Drive、坚果云等客户端同步文件夹;安装后需在偏好设置(⌘,)里手动指定 Markdown 存储路径。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本V4.8.0
  1. V4.8.0V4.8.0 Brachydios 💥最新正式版2026-11-06 · 2026-11-06 13:18 UTC
  2. V4.7.1V4.7.1 Rathalos 🔥2026-11-06 · 2026-11-06 03:31 UTC
    查看更新说明
  3. V4.7.0V4.7.0 Gore Magala 🌑2026-11-04 · 2026-11-04 23:12 UTC
    查看更新说明
  4. V4.6.1V4.6.1 Glavenus 🔥2026-11-03 · 2026-11-03 09:00 UTC
    查看更新说明
  5. V4.6.0V4.6.0 Lagiacrus ⚡2026-10-26 · 2026-10-26 12:22 UTC
    查看更新说明

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Features

    • Local-first: Notes are Markdown files in a folder you choose, with no data collection, and iCloud Drive or Nutstore can sync them across devices
    • Focused: Folders, notes, and editor in three columns, with dark mode and no plugin system to maintain
    • Native: Built with Swift 6, lighter than web wrappers, with 60fps scroll sync in split preview
    • Capable: Wikilinks, LaTeX, Mermaid, version history, auto-formatting, and PPT presentations built in
    • Portable: The iPhone and iPad apps are on the App Store, one purchase covers them and the Mac, and they open the same iCloud Drive folder, so you can keep writing on your phone and tablet

    Installation

    1. App Store (recommended, one purchase for iPhone, iPad and Mac, automatic updates):

    2. Homebrew:

      brew install --cask miaoyan
      
    3. GitHub Releases: download the latest DMG from GitHub Releases (macOS 12.0+)

    Homebrew and GitHub Releases install the same free, open-source Mac app, which keeps being developed. If you only write on a Mac, the open-source version is enough; to keep writing on iPhone and iPad, get the App Store version.

    Sync with Nutstore or Other Cloud Drives

    MiaoYan does not sign in to WebDAV or cloud-drive accounts and only reads and writes the Markdown folder you choose. After installing, create a MiaoYan folder in iCloud Drive, the local folder synced by the Nutstore desktop client, or any other location, then open Preferences (⌘,) and set it as the storage path. iCloud Drive, Nutstore, Dropbox, or another cloud-drive client handles cross-device sync.

    • iPhone: Pick the same cloud-drive folder in the system Files app, and if a provider does not offer a writable folder there, use iCloud Drive or make the folder available offline in that provider app first
    • Folder check: MiaoYan verifies read and write access before switching folders and keeps the current storage path if the folder is unavailable, without reporting the problem as a MiaoYan sync failure

    CLI

    # Install
    curl -fsSL https://raw.githubusercontent.com/tw93/MiaoYan/main/scripts/install.sh | bash
    
    # Usage
    miao open <title|path>    # Open note or folder
    miao new <title> [text]   # Create new note
    miao search <query>       # Search notes in terminal
    miao list [folder]        # List top-level folders, or the Markdown files in a folder
    miao cat <title|path>     # Print note content
    miao update               # Update CLI
    

    Split Editor & Preview Mode

    Edit and preview sit side by side. Press ⌘\ to toggle split mode, or open Preferences, go to Editor, and set Default Mode to Split. Why not WYSIWYG like Typora? Pure Markdown editing is the whole point. Native WYSIWYG in Swift is heavy and fragile; split mode keeps writing focused while giving you instant, synchronized visual feedback.

    Documentation

    Install the official skill with npx skills add tw93/MiaoYan/skills/miaoyan -g.

    Support

    • The most direct way to support me is getting Mole for Mac, my paid Mac cleanup app
    • If MiaoYan helped you, give it a star, share it, or open an issue or PR
    • I have two cats, TangYuan and Coke. If MiaoYan brings you joy, you can feed them canned food 🥩

    These lovely people already did 🐱

    Acknowledgments

    License

    MIT License