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, share a note as an image, or start one from a widget, Siri or Shortcuts
Installation
Get it on the App Store, one purchase for iPhone, iPad and Mac, with automatic updates:

The open-source Mac app is also available through Homebrew (brew install --cask miaoyan) or GitHub Releases (macOS 12.0+).
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 Settings (⌘,) 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 Settings, 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, or in Claude Code with /plugin install miaoyan --marketplace tw93/MiaoYan.
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
评论