# xEdit

> xEdit is a self-hosted, open-source Markdown editor and lightweight Notion/Obsidian alternative with live preview, wiki links, and MCP for AI.

- **Category:** Notes & Editors
- **Licence:** MIT
- **Open source:** oss
- **Languages:** Typescript
- **Platforms:** Docker Compose, Linux, Dokploy
- **Tags:** Markdown, Mcp, Writing, Editor, Local First, Notion Alternative, Markdown Editor, Typescript, Next.js, React, Self Hosted, Note Taking, Model Context Protocol, Ai integration, Live preview, Obsidian Alternative, Wiki Links, Wechat Publishing, Zhihu Publishing

## Description

xEdit is a free, open-source Markdown editor built for writing and personal notes. It provides an Obsidian-style live preview where headings, bold text, code blocks, and images render directly in the editing area, plus a split view showing source and preview side by side. Notes are plain Markdown files linked with [[wiki links]] that automatically update when a note is renamed. Slash commands insert headings, callouts, tables, to-dos, and code blocks. To-dos written anywhere with date tags like @tomorrow or @daily gather into a Today view. Nested folders support drag-and-drop organization. Three storage modes exist: browser local storage, a local Markdown folder (Chrome/Edge only, no cloud sync), or cloud sync with a free account across the web app and Mac app. Cloud sync includes version history (100 versions per note), share links with reader comments, and image/video hosting via Alibaba Cloud OSS. A built-in MCP server with self-hosted OAuth 2.1 lets AI clients like Claude and Cursor list, search, create, and edit documents and images. AI review (beta) checks writing for awkward phrasing, wordiness, and logic gaps. Export formats include Markdown, HTML, PDF, PNG, and Word (Feishu-compatible). One-click copy to WeChat Official Accounts and Zhihu inlines all CSS. Self-hosted via Docker Compose (recommended), Dokploy, or bare metal with Node.js 20+ and PostgreSQL 14+. No mobile app yet. Licensed MIT.

## Links

- [Homepage](https://github.com/rotbit/xedit)
- [Website](https://xedit.me)
- [Demo](https://xedit.me)
- [GitHub Repository](https://github.com/rotbit/xedit)
- [MCP Setup Guide](https://raw.githubusercontent.com/rotbit/xedit/main/docs/mcp.md)
- [Deployment Guide](https://raw.githubusercontent.com/rotbit/xedit/main/docs/deployment.md)
- [Feishu Import Guide](https://raw.githubusercontent.com/rotbit/xedit/main/docs/feishu-import.md)
- [Changelog](https://xedit.me/changelog)
- [Themes Gallery](https://xedit.me/themes)

---
Source: https://selfhost.directory/project/xedit