MarkBun
verified Open Source Philosophy

Engineered for
Pure Expression.

MarkBun was born from a simple frustration: powerful writing tools shouldn't be locked behind subscriptions or proprietary formats. We built a precision instrument for the obsidian age.

history_edu

architecture Project Origins

MarkBun = Mark(down) + (Electro)bun.

Inspired by the seamless editing experience of Typora but committed to the ethos of open-source freedom. We wanted an editor that felt as fast as a terminal but as elegant as a high-end publication.

By leveraging Bun and Native WebView, we bypassed the bloat of traditional Electron apps, resulting in an editor that launches instantly and respects your system's resources.

rocket_launch

The Speed Mandate

Built on Bun, the JavaScript runtime designed for speed. Zero-lag Markdown rendering even in 100k+ word documents.

auto_awesome

Live Preview

A distraction-free interface that blends the source code and visual output into a single, cohesive canvas.

Our Core Values

The pillars that define every line of code we write.

lock

Local-First

Your data belongs to you. No cloud required, no proprietary syncing engines, just your files on your hard drive.

check_circle No proprietary lock-in
visibility_off

No Telemetry

We don't track your keystrokes, your document titles, or your usage patterns. MarkBun is a silent partner in your work.

verified_user Privacy by design
code

Transparency

The development process is fully transparent on GitHub. Anyone can inspect, audit, or contribute to the source code.

account_tree Community driven

Technical Architecture

MarkBun utilizes a dual-process architecture to ensure maximum performance and security. By decoupling the main logic from the rendering layer, we achieve a level of responsiveness that Electron-based editors struggle to match.

  • developer_board

    Main Process (Bun)

    Handles file I/O, OS integration, and window management with the extreme performance of the Zig-based Bun runtime.

  • layers

    Renderer (WebView + React/Milkdown)

    A lightweight native WebView instance hosting a React-powered UI and the Milkdown framework for WYSIWYG editing.

architecture.stack.json
{
  "core": {
    "runtime": "Bun (1.16.0+)",
    "language": "TypeScript",
    "shell": "Electrobun"
  },
  "ui": {
    "framework": "React 18",
    "styling": "Tailwind CSS",
    "editor": "Milkdown"
  },
  "security": {
    "isolation": true,
    "ipc_bridge": "Secure Context",
    "telemetry": null
  }
}
                    
MB

MIT License

policy

MarkBun is released under the MIT License. You are free to use, modify, and distribute the software for both personal and commercial projects. Freedom is not just a feature; it's our foundation.

Read the License terms arrow_forward

Contributing

groups

We welcome contributions of all kinds. Whether you are fixing bugs, proposing new features, or improving documentation, your help makes MarkBun better for everyone.

GitHub Contribution Guide arrow_forward

Need help or want to discuss?

Our community is built around transparency. For support, feature requests, or just to say hi, join us on our GitHub discussion board.