zouwei/moraya

An extremely elegant open-source Markdown/Typst AI Agent, Bridging AI capabilities and user sovereignty.

What it solves

Moraya is a lightweight, privacy-focused AI agent and editor designed for users who want a seamless writing experience combining Markdown and Typst without sacrificing data sovereignty. It eliminates the need for heavy, cloud-dependent editors by providing a native, ultra-lightweight application that integrates local and cloud AI directly on the user's device.

How it works

Built with Rust and Tauri v2, Moraya acts as a local hub for content creation. It uses a ProseMirror-powered WYSIWYG editor for Markdown and a dedicated source-plus-preview environment for Typst. The application integrates AI via a "Bring Your Own Key" (BYOK) model, where API keys are stored in the OS Keychain and requests are proxied through a Rust backend to ensure security. It further extends AI capabilities through the Model Context Protocol (MCP), allowing the AI to call local tools and access a managed knowledge base.

Who it’s for

It is designed for writers, students, and researchers who require high-quality typesetting (via Typst), privacy-first AI assistance, and a fast, minimal memory footprint.

Highlights

  • Dual-Format Editing: Instant WYSIWYG for Markdown and native compiled previews for Typst.
  • Deep AI Integration: Support for 11+ chat providers (including Ollama for local LLMs), 71+ AI templates, and multimodal vision input.
  • MCP Ecosystem: A dynamic container for Model Context Protocol servers with a one-click marketplace for autonomous AI workflows.
  • Voice-to-Text: Real-time speech transcription with speaker diarization and AI-generated meeting summaries.
  • Privacy-First Architecture: Local-only storage, OS Keychain for API keys, and no intermediary servers between the user and AI providers.
  • Ultra-Lightweight: A native app with a ~10MB installer and tiny memory footprint.

Related

  • Project
  • Project
  • Project
  • Project
  • Project