Skip to main content
Open Source — Written in Zig

The editor
of the future.

Not another Obsidian alternative. LazyMD is the text editor for philosophers, product engineers, founders, lawyers, researchers — anyone turning raw thought into structured clarity. Plain text is your alchemy.

Written in ZigMCP ProtocolVim KeybindingsSingle BinaryKnowledge Graph

Plain text is eating
the world.

In the age of AI agents and LLM-driven development, plain text isn't primitive — it's the most powerful format there is. Every AI tool, every version control system, every OS speaks it natively.

AI agents speak markdown

Every LLM reads, writes, and thinks in plain text. Markdown is the native language of AI-assisted thinking — no proprietary format stands between you and your tools.

Git-native by default

Every line is diffable. Every change is mergeable. No binary blobs, no sync conflicts. Your notes and code live in the same version control as everything else.

Zero lock-in, infinite portability

.md files work in any editor, on any OS, in any decade. Your content outlives every app. Markdown written in 2004 reads perfectly today — and will in 2044.

Human-readable, machine-parseable

Plain text is the only format that both humans and machines read natively. No schema, no compilation step. Open a file and it just makes sense.

One editor.
Every surface.

Your terminal is just the beginning. LazyMD is designed as a protocol-first editor that can render on any device with a screen.

Terminal (TUI)

Available now

The original. SSH into a server, open a tmux pane, or work locally. Vim keybindings, live preview, zero dependencies. Feels like home.

Web Editor

Coming soon

The same editing experience in your browser. Real-time collaboration, cloud sync, and zero install. Open a link and start writing.

Native Apps

Coming soon

macOS, Windows, Linux, iOS, Android. Native performance with platform-native feel. One markdown vault, every device in your life.

Any Device

The vision

Rabbit R1, smart displays, e-ink tablets, embedded systems. If it has a screen and a network connection, LazyMD can run there.

Everything you need,
nothing you don't.

Built for thinkers who live in plain text. Whether you're drafting briefs, shipping products, or writing research — LazyMD stays out of your way.

Vim-Native Editing

Full modal editing with Normal, Insert, and Command modes. Navigate with hjkl, motions with w/b, delete with dd, undo with u — muscle-memory compatible.

Live Preview

Rendered markdown in a side panel. Headers, bold, italic, code blocks with syntax highlighting — all updating as you type.

Multi-Panel Layout

Inspired by lazygit — file tree, editor, preview, and brain graph side by side. Toggle panels with Alt+1/2/3.

Syntax Highlighting

Built-in highlighting for Zig, Python, JavaScript, TypeScript, Rust, Go, C, C++, Java, and 16+ languages. Theme-aware colors with a pluggable highlighter backend.

Plugin System

Register custom commands, hook into editor events, add panels. Build and share community plugins.

Zero Dependencies

Pure Zig using only POSIX termios and ANSI escape codes. No runtime dependencies. Fast startup, tiny single binary.

Mouse Support

Click to position cursor, scroll with mouse wheel, click panels to focus. Works in iTerm2, Alacritty, kitty, and more.

MCP Server

Built-in Model Context Protocol server with 22 tools. AI agents like Claude Code and Gemini CLI connect via JSON-RPC 2.0 over stdio.

Brain: Knowledge Graph

Obsidian-style graph view for [[wiki-links]]. Visualize connections between notes with a force-directed ASCII layout. Navigate, explore backlinks, and find orphan notes.

Instant Startup

Compiles to a single ~2MB binary. Launches in milliseconds, even on large files. No JVM, no Electron, no wait.

An MCP server, built in.

AI agents connect via stdio to read, navigate, and edit markdown documents programmatically.

22 tools over JSON-RPC 2.0

Document tools for reading, writing, and searching. Navigation tools for heading-based traversal, task management, and section manipulation. Brain tools for wiki-link analysis, backlink discovery, and graph queries.

open_fileread_documentwrite_documentlist_headingsedit_sectionread_sectionlist_tasksupdate_taskget_breadcrumbmove_sectionsearch_contentget_structurelist_linksget_backlinksget_graphget_neighborsfind_pathget_orphansget_hub_notes
MCP Documentation
Claude CodeGemini CLI
# Add LazyMD as an MCP server claude mcp add LazyMD -- \ /path/to/lm --mcp-server # Start with a file preloaded lm --mcp-server myfile.md
Coming Soon

Built for teams.

Everything below ships with LazyMD Cloud — the managed version for organizations that want collaboration, analytics, and enterprise-grade infrastructure out of the box.

Real-Time Collaboration

Real-time multiplayer editing. See your team's cursors, edits, and selections live. Work together across continents.

Rankings & Leaderboards

Track contributions, streaks, and impact across your organization. Gamify the writing experience.

Time Tracking

Built-in time tracking per file, project, and team. Know where your hours actually go — no third-party tools.

Multi-Tenancy

Isolated workspaces for teams and organizations. Role-based access, audit logs, and compliance-ready infrastructure.

Interested in early access?

Join the waitlist

Up and running in seconds.

Compiles to a single binary with zero runtime dependencies.

Prerequisites

Install Zig 0.15.1 or later from the official site.

Build

git clone https://github.com/ EME130/lazymd.git cd lazymd && zig build

Run

./zig-out/bin/lm myfile.md

Buy me a cigarette.

If LazyMD saves you time, consider sending some Monero.

84Jd3E44j54ZpmH2xAnJ6qJstnDtaJEmvK4pmvR78i5xcLGADnviwDpSa1uZMzCcrkVqH2u8E8hbBU4g4bn9sfB14t5Yjoi

The future is plain text.

Open source, MIT licensed, and built to outlast every proprietary editor that came before it.