MiaoYan
⛷ Lightweight Markdown app to help you write great sentences.
Install / Use
/learn @tw93/MiaoYanREADME
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
-
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.
<a href="https://apps.apple.com/cn/app/miaoyan/id6759252269"><img src="https://cdn.tw93.fun/uPic/C3Renh.png" width="160" alt="Download on the Mac App Store" /></a>
-
Or install by Homebrew:
brew install --cask miaoyan
- Or install manually: download the latest DMG package from GitHub Releases (Requires macOS 11.5+)
- Open DMG and drag MiaoYan.app to Applications
- First Launch: Double-click MiaoYan.app to launch directly — the app is now notarized by Apple ✓
- Create a
MiaoYanfolder in iCloud Drive or your preferred location - Open MiaoYan Preferences and set the storage location to this folder
- 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.
<img src="https://gw.alipayobjects.com/zos/k/eg/jV8Gra.png" width="100%" alt="Split Editor & Preview Mode" />Documentation
- Markdown Syntax Guide - Complete syntax reference with advanced features
- PPT Presentation Mode - Guide to creating presentations with
---slide separators
Support
<a href="https://miaoyan.app/cats.html"><img src="https://rawcdn.githack.com/tw93/MiaoYan/vercel/assets/sponsors.svg" width="1000px" /></a>
- Cats: Tangyuan & Cola — if MiaoYan helps, <a href="https://miaoyan.app/cats.html" target="_blank">treat them to canned food 🥩</a>.
- If you enjoy MiaoYan, please consider giving it a star and recommending it to your friends.
- Follow me on Twitter for the latest updates or join the Telegram group to chat with the community.
Acknowledgments
- glushchenko/fsnotes - Initial project structure reference
- stackotter/swift-cmark-gfm - Swift Markdown parser
- simonbs/Prettier - Markdown formatting utilities
- raspu/Highlightr - Syntax highlighting
- TsangerType - TsangerJinKai font (default font)
- hakimel/reveal.js - PPT presentation framework
- Vercel - Static hosting for miaoyan.app
<a href="https://vercel.com?utm_source=tw93&utm_campaign=oss"> <img src="https://gw.alipayobjects.com/zos/k/wr/powered-by-vercel.svg" width="136" alt="Powered by Vercel" /> </a>
License
MIT License - Feel free to use and contribute.
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.8kCommit, push, and open a PR
