Skip to content

tw93/MiaoYan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,006 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 & Setup

  1. Download from the Mac App Store. Future updates will be continuously published there, warmly welcome! If you'd like to support me, a paid download on the App Store is a great way to do so. The open-source version offers the same experience.

    Download on the Mac App Store

  2. Or install by Homebrew:

brew install --cask miaoyan
  1. Or install manually: download the latest DMG package from GitHub Releases (Requires macOS 11.5+)
  2. Open DMG and drag MiaoYan.app to Applications
  3. First Launch: Double-click MiaoYan.app to launch directly — the app is now notarized by Apple ✓
  4. Create a MiaoYan folder in iCloud Drive or your preferred location
  5. Open MiaoYan Preferences and set the storage location to this folder
  6. Click the "New Folder" icon in the top-left corner to create document categories and start writing

After installation, we recommend exploring Preferences (⌘,) to discover MiaoYan's rich customization options, including edit modes, themes, fonts, and more to create your perfect writing environment.

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

  1. Cats: Tangyuan & Cola — if MiaoYan helps, treat them to canned food 🥩.
  2. If you enjoy MiaoYan, please consider giving it a star and recommending it to your friends.
  3. Follow me on Twitter for the latest updates or join the Telegram group to chat with the community.

Acknowledgments

License

MIT License - Feel free to use and contribute.