Skip to content

Latest commit

 

History

117 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrivon

Version CI codecov License: MIT Platform

Mermaid & markdown on your machine.

Scrivon is a desktop editor for Mermaid diagrams and Markdown documents. Open a folder on disk, edit .mmd or .md files with syntax highlighting, and preview diagrams or rendered Markdown live — no account, no cloud workspace required.

Scrivon — workspace, Monaco editor, and live diagram or Markdown preview

Features

Workspaces & files

  • Folder workspaces — Open any directory on disk; your files never leave your machine
  • File explorer — Create, rename, duplicate, and delete .md, .mmd, .mermaid files and folders from the sidebar
  • Multi-tab editing — Work across several documents in one session; tab state is restored per workspace
  • Recent folders — Quick access from the welcome screen and File → Open Recent

Mermaid diagrams

  • Dedicated diagram files — Edit standalone .mmd / .mermaid sources with a split editor and canvas preview
  • Canvas tools — Pan and zoom the preview, fit diagram to screen, or switch to preview-only layout
  • Diagram export — Save the active diagram as SVG or PNG (1×, 2×, or 4×)

Markdown documents

  • Live Markdown previewGFM-style rendering beside the editor (tables, task lists, strikethrough, and more)
  • Syntax-highlighted code — Fenced code blocks use Shiki themes that follow your UI light/dark mode
  • Embedded Mermaidmermaid fenced blocks render inline; expand any block to the full canvas for pan, zoom, and export
  • PDF export — Save the full rendered document as PDF (native export on Windows via WebView2)

General

  • Built-in examples — Curated sample diagrams and a Markdown syntax showcase to explore features
  • Themes — Light and dark UI plus 15+ diagram palettes (Scrivon, Zinc, Tokyo Night, Catppuccin, Nord, Dracula, GitHub, Solarized, One Dark, and more)
  • Autosave — Optional autosave to disk; Ctrl/Cmd+S saves immediately
  • SettingsCtrl/Cmd+, opens preferences for theme, autosave, editor, and configurable keyboard shortcuts
  • Command paletteF1 to search files, open tabs, run commands, and find text across the workspace
  • Desktop-native — Built with Tauri 2 for a fast, local-first experience on Windows
  • Auto-updates — Stable releases can update in-app (see releases)

Scrivon is an independent editor. It is not affiliated with Mermaid Chart Inc. or the mermaid-js project.

Download

Pre-built installers are published on GitHub Releases.

Channel Branch Notes
Stable main Recommended for everyday use; in-app updates enabled
Pre-release rc Test builds; install manually from Releases

Getting started

Use a release

  1. Download the latest installer from Releases.
  2. Launch Scrivon and choose Open Folder.
  3. Select a directory containing .md and/or .mmd files.
  4. Edit in the center pane; the preview updates as you type.
    • Diagram files — Preview renders on the canvas.
    • Markdown files — Preview shows rendered Markdown; use Expand on a mermaid block to open it on the canvas.

Build from source

Prerequisites: Bun, Rust, and platform dependencies for Tauri.

git clone https://github.com/Jamie-Fairweather/scrivon.git
cd scrivon
bun install
bun run tauri dev

For release builds, signing keys, branch workflow, and semantic-release setup, see docs/development.md.

Tech stack

Layer Technologies
Desktop shell Tauri 2 (Rust)
UI Next.js, React 19
Editor Monaco
Diagram rendering beautiful-mermaid
Markdown rendering react-markdown, remark-gfm
Code highlighting Shiki
Styling Tailwind CSS

Project layout

scrivon/
├── app/                      # Next.js app routes
├── components/studio/        # Editor, canvas, workspace UI
│   └── markdown/             # Markdown preview and embedded diagrams
├── lib/
│   ├── markdown/             # GFM pipeline, Shiki, PDF export HTML
│   └── mermaid/              # Diagram render and export
├── src-tauri/                # Tauri / Rust backend
├── scripts/                  # Build and codegen utilities
└── docs/                     # Maintainer documentation

Contributing

Contributions are welcome. Please open an issue to discuss larger changes before submitting a pull request.

  1. Fork the repository and create a branch from dev (or main for small fixes).
  2. Use Conventional Commits (feat:, fix:, etc.) so releases can be automated.
  3. Run bun run tauri dev locally to verify desktop behavior.
  4. Open a pull request with a clear description of the change.

See docs/development.md for the full release pipeline, branch model, and updater signing.

Acknowledgments

License

Scrivon is released under the MIT License. Third-party dependencies are listed in-app under Help → Licences.

Links

About

Mermaid & markdown on your machine.

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages