RepositorySwift
TW

tw93/MiaoYan

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

8.8kstars
534forks
1issues
7views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: notes-app

#1 Repository of the week

1
TINIX TRENDING·Topic: latex

#1 Repository of the week

1
TINIX TRENDING·Topic: markdown-editor

#1 Repository of the week

English | 简体中文

MiaoYan

Lightweight Markdown note-taking app for macOS

Features

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

Installation

  1. Mac App Store (paid, automatic updates):

    Download on the Mac App Store

  2. Homebrew:

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

All three options share the same codebase and receive the same updates. After installing, create a MiaoYan folder in iCloud Drive or your preferred location, open Preferences (⌘,), and set the storage path.

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 or folder
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

  • The most direct way to support me is getting Mole for Mac, my paid Mac cleanup app.
  • 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 🥩.
These lovely people already did 🐱

Acknowledgments

License

MIT License - Feel free to use and contribute.

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
marktext/marktext

📝A simple and elegant markdown editor, available for Linux, macOS and Windows.

64.5k
Nov 25, 2026
RepositorySwift
permissionlesstech/bitchat

bluetooth mesh chat, IRC vibes

37.2k
Nov 27, 2026
Repository
dkhamsing/open-source-ios-apps

:iphone: Collaborative List of Open-Source iOS Apps

53.6k
Nov 30, 2026
RepositoryTypeScript
foambubble/foam

A personal knowledge management and sharing system for VSCode

17.5k
Dec 1, 2026
RepositoryDart
flutter/flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond

181.5k
Nov 28, 2026
RepositoryJavaScript
atom/atom

:atom: The hackable text editor

60.7k
Jan 3, 2023
RepositoryGo
FiloSottile/mkcert

A simple zero-config tool to make locally trusted development certificates with any names you'd like.

59.9k
Aug 13, 2024
RepositoryPython
microsoft/markitdown

Python tool for converting files and office documents to Markdown.

199.5k
Dec 2, 2026
RepositoryTypeScript
microsoft/vscode

Visual Studio Code

195.9k
Nov 30, 2026