Skip to content
HomeDocsPluginsUpdatesAbout
🌐 Auto English 简体中文 繁體中文 Español Français Русский العربية Português Deutsch 日本語 한국어 हिन्दी

Moraya

An extremely elegant open-source Markdown AI Agent

272 GitHub Stars · Only 10MB · Open Source
Untitled.md
Words: 97    Characters: 631
Visual Source Split | AI Workflow | | Markdown
AI Template System: Learning Through Play
Moraya v0.8.0 introduces a configuration-driven template system with 10 categories and 71+ templates spanning writing, translation, learning, and entertainment.
Five Interaction Flow Types
TypeMethodUse Case
AutoDirect executionSummarizing, polishing
InputText promptFree writing, outlines
SelectionChoose optionsLanguage, style
ParameterizedMulti-paramEmail tone, quiz difficulty
InteractiveMulti-turnWord games, Q&A
Template Categories
1. Writing (8) — Composition, editing, continuation
2. Translation (5) — Multi-language support
3. Study Helper (8) — Notes, concepts, mind maps
4. Kids Learning (8) — Stories, alphabet, games
5. Marketing (6) — Social media, SEO, copy
6. Professional (6) — Emails, reports, code review
7. Personal Growth (5) — Journals, goals, habits
8. Chinese Games (12) — Idioms, riddles, poetry
9. English Games (12) — Word chains, trivia
10. Quiz Practice (1) — Configurable quizzes
MORAYA AI claude-opus-4-6 14 tools
AI Assistant
✍️Writing8
🌐Translation5
📚Study Helper8
🧒Kids Learning8
📢Marketing6
💼Professional6
🌱Personal Growth5
🎲Chinese Games12
🔤English Games12
📝Quiz Practice1
‹ Back🎲 Chinese Games
🏰 成语故事挑战
🔗 成语接龙
🎭 成语填空
📖 成语词典
🌸 飞花令
🧩 字谜
⚔️ 诗词大会
📝 诗词填空
🎪 绕口令
✍️ 对联挑战
🀄 象棋残局
🎯 偏旁部首挑战
开始飞花令游戏!请选一个令字并说第一句诗。
18:42
AI
🌸 飞花令游戏开始!
📦 令字:「
第1轮
🎭 我先来:
感时花溅泪,恨别鸟惊心。
—— 杜甫《春望》
📊 当前比分:
选手得分
🎭 AI1
🧑 你0
轮到你了!请说出一句包含「」字的古诗词名句吧!🎯
18:42
人间四月芳菲尽,山寺桃花始盛开
18:44
Ask AI anything...
Words: 0   Characters: 0
VisualSourceSplit|AI Workflow||Markdown

AI-Powered Writing

Built-in AI assistant supports Claude, OpenAI, Gemini, DeepSeek, and Ollama. Summarize, translate, improve writing, optimize SEO, and generate AI illustrations — all with streaming responses.

Learn more →
Markdown
# Welcome
A **minimal** editor

- Type `# ` for headings
- Instant rendering

> Elegance in writing

$$e^{i\pi} + 1 = 0$$
Preview
Welcome
A **minimal** editor
  • Type `# ` for headings
  • Instant rendering
Elegance in writing
eiπ + 1 = 0
Words: 24   Characters: 128
VisualSourceSplit|AI Workflow||Markdown

Instant WYSIWYG Rendering

Type # and watch it instantly become a heading. No preview pane needed — Moraya renders Markdown as you type, realizing the original vision of Markdown: writing in plain text while seeing perfectly formatted output, without ever breaking your flow.

Learn more →
2.3 Personal Knowledge Base Management
Moraya is not just an AI Agent, but a powerful personal knowledge management system:
• Multi-KB Switching: configure multiple knowledge base directories (dev blog, product docs, ops KB), quick switch via Sidebar
• MORAYA.md AI Rules: place MORAYA.md in each KB root to define AI writing conventions
• Auto Convention: AI conversations auto-follow KB rules, ensuring consistent document formatting
• KB-Level Isolation: different KBs have different document structures, tag systems, and writing requirements
• File Tree Navigation: intuitive file tree structure with right-click refresh and quick actions
2.4 MCP Ecosystem — A True AI Agent Platform
MCP (Model Context Protocol) is Moraya's most forward-thinking design. It turns your device from a mere tool into an AI Agent platform capable of connecting any external capability.
Three Transport Protocols
stdio — Standard I/O (most common)
SSE — Server-Sent Events
HTTP — HTTP requests
MCP Marketplace
Browse and install MCP servers with one click, integrating three major sources:
• Official Registry — MCP official registry
• LobeHub — Community contributions
• Smithery — Third-party ecosystem
MORAYA AI claude-opus-4-6 14 tools
AI Assistant
Ask AI anything...
Words: 0   Characters: 0
VisualSourceSplit|AI Workflow||Markdown

AI Voice Transcription

Real-time speech-to-text with automatic speaker recognition. Supports 36+ languages and multiple STT providers. Transform meetings, lectures, and interviews into structured Markdown notes.

Learn more →
Untitled - Unsaved
Published --> Hidden: 手动下架
Hidden --> Published: 重新上架
Published --> Deleted: 删除
Hidden --> Deleted: 删除
Deleted --> [*]
 
```
 
```mermaid
classDiagram
class Character {
+String name
+int level
+move()
+attack()
}
class Warrior {
+int stamina
+shieldBash()
}
class Mage {
+int mana
+fireBall()
}
class Weapon {
+int damage
+upgrade()
}
 
Character <|-- Warrior : 继承
Character <|-- Mage : 继承
Character "1" *-- "1" Weapon : 装备组合
 
```
Mermaid
✏️ Edit📋
Character
+String name
+int level
+move()
+attack()
继承 继承 装备组合
Warrior
+int stamina
+shieldBash()
Mage
+int mana
+fireBall()
Weapon
+int damage
+upgrade()
Words: 868   Characters: 4976
Visual Source Split | AI Workflow | | Markdown

Mermaid Diagrams

Bring your ideas to life with 9 diagram types — flowcharts, sequences, Gantt charts, and more. Lazy-loaded rendering with edit/preview dual mode and seamless theme adaptation.

Learn more →
春天的回环.md
AI Image Generation×
123
Image Mode Article Design Storyboard Product Moodboard Portrait Style Ink Wash ▾
Aspect Ratio16:9 ▾ SizeSmall ▾ 960×540 Count6 ▾
描绘童年赤脚踩在翻开的泥地里、田埂芥菜开花、沟渠流水的春天原初体验
A barefoot child standing in a freshly plowed wet field, deep brown soil, ink wash painting...
表现少年隔着玻璃窗看桃花的怅惘,自我意识将他与春天隔开的距离感
A teenage boy at a classroom desk, gazing through a glass window at blooming peach trees...
描绘深夜加班后发现路边玉兰花开放的城市场景,表达对春天视而不见的茫然与失落
A solitary office worker on a city sidewalk at night, white magnolia flowers glowing...
描绘新生儿握住父亲手指的瞬间,这个触碰打开了记忆深处所有春天的大门
A newborn baby's tiny hand gripping an adult's finger, extreme close-up, ink wash style...
表现人生与春天关系的四个阶段——从浑然不觉到隔膜、遗忘、再到重新认出的生命历程
A circular journey through four seasons depicted as a spiral path, ink wash style...
描绘文末雨后抱着熟睡婴儿的父亲、怀中抱着一整个春天的温暖与领悟
A father holding a sleeping baby after rain, surrounded by spring blossoms, ink wash...
↻ RegenerateNext
AI Image Generation×
123
6 selected
BackNext
后来我学了一个词,叫"怅惘"。但十五岁的我不知道这个词。我只知道,窗外的花很好看,而我在窗内。我够不到它们。不是手够不到,是有一种更深的够不到。
少年时代的春天,是隔着玻璃看见的春天。
你第一次发现自己是一个"看"的人,而春天是被"看"的对象。你和它之间出现了距离——那个距离叫作"自我意识",叫作"成长",叫作"你再也回不到蹲在八仙桌底下看燕子的那个下午"。
那年春天的作文课,题目是《我眼中的春天》。我写了桃花,写了梨花,写了"春风拂面"和"万物复苏"。老师给了高分。但我心里知道,我写的不是春天。
Words: 2712   Characters: 4796
VisualSourceSplit|AI Workflow||Markdown

AI Image Generation

Analyze your article, auto-generate visual prompts, and create stunning images in one click. Choose from multiple styles — ink wash, photography, illustration, and more.

Learn more →
2026-02-20-Moraya-AI-Markdown-Editor.md
Preface
I. Why Choose Moraya?
1.1 Ultra Lightweight — Only 10MB
1.2 Local AI, Infinite Possibilities
1.3 Privacy First, Worry-Free
1.4 What You See Is What You Get
1.5 Cross-Platform Support
II. Core Features
2.1 Markdown Editing
2.2 Math Formulas
2.3 Code Highlighting
2.4 Mermaid Diagrams
III. AI-Powered Writing
3.1 Multi-Model Support
3.2 AI Writing Templates
3.3 AI Image Generation
IV. MCP Ecosystem
4.1 MCP Protocol
4.2 MCP Marketplace
V. Security & Privacy
5.1 Local Storage
5.2 Key Protection
VI. Technical Architecture
VII. Getting Started
Moraya: Minimalist Markdown Editor for the Local AI Era
In the era of AI, writing tools should be both elegant and intelligent. Moraya is an open-source Markdown editor built with Rust + Tauri, designed for writers who value simplicity and performance.
I. Why Choose Moraya?
Modern editors are often bloated — Electron apps consuming 200MB+ RAM just to edit text. Moraya takes a different approach: native performance in a 10MB package.
1.1 Ultra Lightweight — Only 10MB
Only 10MB installer, ~10MB installed. Zero Electron dependency. Pure Rust backend with minimal resource usage. Your system resources belong to your creativity, not your editor.
1.2 Local AI, Infinite Possibilities
Built-in multi-model AI: Claude, OpenAI, Gemini, DeepSeek, Ollama. All running locally or via your own API keys. No middleman, no data leaks.
1.3 Privacy First, Worry-Free
All API keys stored in OS Keychain. Documents never leave your device. Direct communication with AI providers — no proxy servers.
1.4 What You See Is What You Get
Typora-like live rendering. Type Markdown and see the result instantly. Seamlessly switch between Visual, Source, and Split modes.
1.5 Cross-Platform Support
Native binaries for macOS, Windows, and Linux. Consistent experience across all platforms with minimal footprint.
Words: 156   Characters: 892
VisualSourceSplit|AI Workflow||Markdown

Ultimate Simplicity

In Moraya, the outline is no longer an afterthought — it's an elegant companion that syncs with your inspiration.

Learn more →
Development Roadmap
Version Feature Status
v0.1.0-v0.3.0 Core Editor, AI Integration, MCP Ecosystem
v0.4.0 MCP Container & Dynamic Services
v0.5.0 Publish Workflow (SEO, AIGC, GitHub/RSS)
v0.6.0 Security Hardening (Keychain, CSP, Path validation)
v0.7.0-v0.8.0 Image Scaling, Image Hosting (5 providers)
v0.9.0-v0.10.0 AI Prompt Templates, Editor UX Enhancement
v0.11.0 Multi-Tab Editing
v0.12.0 Plugin System
v0.13.0 Mermaid Diagram Support
v0.14.0 AI Model & Image Hosting Enhancement
v0.15.0 AI Voice Transcription
v0.16.0-v0.17.0 Search & Replace, ProseMirror Performance
v0.18.0 Document Outline, Table Keys, Freeze Fix
v0.19.0 Rendering Pipeline v2 (Doc Cache, hljs Cache, Async Parse)
v0.20.0 12 International Languages Adapted
v0.21.0 AI-Powered Rule File Automatic Splitting Engine
v0.22.0 Built-in Plugins, 10 New Mainstream Plugins Added
v0.23.0 AI Input Interaction & Real-Time Voice Dialogue Upgrade
v0.24.0 Fix KB Subdirs, AI Image Storage; Add Drag-Drop, MCP Rules, MORAYA.md Highlight
v0.25.0 Regex Search & Replace & Base64 Image Support
## Development Roadmap
| Version | Feature | Status |
| --- | --- | --- |
| v0.1.0-v0.3.0 | Core Editor, AI Integration, MCP Ecosystem | |
| v0.4.0 | MCP Container & Dynamic Services | |
| v0.5.0 | Publish Workflow (SEO, AIGC, GitHub/RSS) | |
| v0.6.0 | Security Hardening (Keychain, CSP, Path validation) | |
| v0.7.0-v0.8.0 | Image Scaling, Image Hosting (5 providers) | |
| v0.9.0-v0.10.0 | AI Prompt Templates, Editor UX Enhancement | |
| v0.11.0 | Multi-Tab Editing | |
| v0.12.0 | Plugin System | |
| v0.13.0 | Mermaid Diagram Support | |
| v0.14.0 | AI Model & Image Hosting Enhancement | |
| v0.15.0 | AI Voice Transcription | |
| v0.16.0-v0.17.0 | Search & Replace, ProseMirror Performance | |
| v0.18.0 | Document Outline, Table Keys, Freeze Fix | |
| v0.19.0 | Rendering Pipeline v2 (Doc Cache, hljs Cache, Async Parse) | |
| v0.20.0 | 12 International Languages Adapted | |
| v0.21.0 | AI-Powered Rule File Automatic Splitting Engine | |
| v0.22.0 | Built-in Plugins, 10 New Mainstream Plugins Added | |
| v0.23.0 | AI Input Interaction & Real-Time Voice Dialogue Upgrade | |
| v0.24.0 | Fix KB Subdirs, AI Image Storage; Add Drag-Drop, MCP Rules, MORAYA.md Highlight | |
| v0.25.0 | Regex Search & Replace & Base64 Image Support | |
## Development Roadmap
| Version | Feature | Status |
| --- | --- | --- |
| v0.1.0-v0.3.0 | Core Editor, AI Integration, MCP Ecosystem | |
| v0.4.0 | MCP Container & Dynamic Services | |
| v0.5.0 | Publish Workflow (SEO, AIGC, GitHub/RSS) | |
| v0.6.0 | Security Hardening (Keychain, CSP, Path validation) | |
| v0.7.0-v0.8.0 | Image Scaling, Image Hosting (5 providers) | |
| v0.9.0-v0.10.0 | AI Prompt Templates, Editor UX Enhancement | |
| v0.11.0 | Multi-Tab Editing | |
| v0.12.0 | Plugin System | |
| v0.13.0 | Mermaid Diagram Support | |
| v0.14.0 | AI Model & Image Hosting Enhancement | |
| v0.15.0 | AI Voice Transcription | |
| v0.16.0-v0.17.0 | Search & Replace, ProseMirror Performance | |
| v0.18.0 | Document Outline, Table Keys, Freeze Fix | |
| v0.19.0 | Rendering Pipeline v2 (Doc Cache, hljs Cache, Async Parse) | |
| v0.20.0 | 12 International Languages Adapted | |
| v0.21.0 | AI-Powered Rule File Automatic Splitting Engine | |
| v0.22.0 | Built-in Plugins, 10 New Mainstream Plugins Added | |
| v0.23.0 | AI Input Interaction & Real-Time Voice Dialogue Upgrade | |
| v0.24.0 | Fix KB Subdirs, AI Image Storage; Add Drag-Drop, MCP Rules, MORAYA.md Highlight | |
| v0.25.0 | Regex Search & Replace & Base64 Image Support | |
Development Roadmap
Version Feature Status
v0.1.0-v0.3.0 Core Editor, AI Integration, MCP Ecosystem
v0.4.0 MCP Container & Dynamic Services
v0.5.0 Publish Workflow (SEO, AIGC, GitHub/RSS)
v0.6.0 Security Hardening (Keychain, CSP, Path validation)
v0.7.0-v0.8.0 Image Scaling, Image Hosting (5 providers)
v0.9.0-v0.10.0 AI Prompt Templates, Editor UX Enhancement
v0.11.0 Multi-Tab Editing
v0.12.0 Plugin System
v0.13.0 Mermaid Diagram Support
v0.14.0 AI Model & Image Hosting Enhancement
v0.15.0 AI Voice Transcription
v0.16.0-v0.17.0 Search & Replace, ProseMirror Performance
v0.18.0 Document Outline, Table Keys, Freeze Fix
v0.19.0 Rendering Pipeline v2 (Doc Cache, hljs Cache, Async Parse)
v0.20.0 12 International Languages Adapted
v0.21.0 AI-Powered Rule File Automatic Splitting Engine
v0.22.0 Built-in Plugins, 10 New Mainstream Plugins Added
v0.23.0 AI Input Interaction & Real-Time Voice Dialogue Upgrade
v0.24.0 Fix KB Subdirs, AI Image Storage; Add Drag-Drop, MCP Rules, MORAYA.md Highlight
v0.25.0 Regex Search & Replace & Base64 Image Support
Words: 36   Characters: 210
VisualSourceSplit|AI Workflow||Markdown

Three Editor Modes

Switch between Visual (WYSIWYG), Source (raw Markdown), and Split (side-by-side) modes with Cmd+/. Choose your preferred writing style.

Learn more →

One Instant. Infinite Elegance.

272
GitHub Stars
10 MB
DMG Size
5★
Rating
Apache
2.0 License

Are you ready to unleash infinite possibilities?

Free, open-source, and always will be.

macOS 11+ · Windows 10+ · Linux (x64)