Skip to content

tw93/MiaoYan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,431 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

English | 简体中文

MiaoYan

Lightweight Markdown note-taking app for macOS

Features

  • Fantastic: Local-first, no data collection, split editor & preview, LaTeX, Mermaid
  • Beautiful: Minimalist design, three-column layout, dark mode, distraction-free
  • Fast: Swift 6 native, better performance than Electron-based apps
  • Simple: Lightweight, keyboard shortcuts, auto-formatting

Installation

Download from the Mac App Store; all future updates ship there. A paid download is the best way to support ongoing development; the open-source build offers the same experience.

Download on the Mac App Store

After installing, create a MiaoYan folder in iCloud Drive or your preferred location, open Preferences (⌘,), set the storage path, and start writing. Existing sponsors can DM me directly for an App Store redemption code.

Build from source / older versions

From 4.0 onward MiaoYan is distributed through the App Store. You can still build from the MIT-licensed source, or grab a pre-4.0 DMG from GitHub Releases.

CLI

MiaoYan provides a command-line interface for quick note operations.

# Install
curl -fsSL https://raw.githubusercontent.com/tw93/MiaoYan/main/scripts/install.sh | bash

# Usage
miao open <title|path>    # Open note
miao new <title> [text]   # Create new note
miao search <query>       # Search notes in terminal
miao list [folder]        # List top-level folders, or markdown in folder
miao cat <title|path>     # Print note content
miao update               # Update CLI

Split Editor & Preview Mode

Edit and preview side by side with real-time preview and 60fps bidirectional scroll sync.

Quick Toggle: Press ⌘\ to instantly toggle split view mode, or enable it in Preferences → Interface → Edit Mode → Split Mode.

Why not WYSIWYG like Typora? We prioritize pure Markdown editing experience, and implementing WYSIWYG in native Swift is overly complex with reliability concerns. Split mode maintains clean editing while providing instant visual feedback.

Split Editor & Preview Mode

Documentation

Support

  • If MiaoYan helped you, share it with friends or give it a star.
  • Got ideas or bugs? Open an issue or PR, feel free to contribute your best AI model.
  • I have two cats, TangYuan and Coke. If you think MiaoYan delights your life, you can feed them canned food 🥩.

Acknowledgments

License

MIT License - Feel free to use and contribute.

About

⛷ Lightweight Markdown app to help you write great sentences.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors