selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

WeChat Markdown Editor logo

Self-host WeChat Markdown Editor

@doocs/md-cli@2.1.4

Markdown editor that formats WeChat Official Account posts

ReleaseOpen SourceWTFPL
docker run -d -p 8080:80 doocs/md:latest
Updatedlast week
LanguageTypescript
Setup difficultyEasy
Stars
13 516
Ports
80 (HTTP inside the doocs/md container (README maps it to host port 8080)), 8800 (Default listening port of the @doocs/md-cli local server)
Docker
doocs/md
Theme switching in the editor UIImage upload from the editorStyle customization panelOne-click formatting of an article

What is WeChat Markdown Editor?

doocs/md is a browser-based Markdown editor for people who publish articles on WeChat Official Accounts: you write ordinary Markdown and the app renders it straight away as a styled article ready to paste into the account editor. It covers KaTeX math, Mermaid and PlantUML diagrams, GFM alert blocks and ruby pronunciation marks, ships several code-highlight themes, and lets you set theme colours, add your own CSS, or run a one-click layout cleanup. Drafts live in the browser with autosave, and documents can be imported or exported as files. Picture uploads can go to around a dozen backends — Aliyun or Tencent buckets, Qiniu, MinIO, any S3-compatible endpoint, Cloudflare R2, Upyun, a Telegram bot, Cloudinary, a GitHub repository, the WeChat account itself, or a custom uploader you define. A built-in assistant can draft and polish text through commercial model APIs that you configure with your own keys. Logging in with GitHub keeps themes, interface settings and custom content in step between devices via the project's Cloudflare Workers backend (self-deployable, with a paid Pro tier for higher sync rates); secrets for image hosts and AI stay on your machine. For your own server there is a static Docker image or the md-cli npm package, and the code is released under the WTFPL licence.

WeChat Markdown Editor alternatives

Should you self-host WeChat Markdown Editor?

WeChat Markdown Editor scores 72/100 on selfhost.directory (how scoring works) and ranks #7 of 83 in Notes & Editors. It has 13 516 GitHub stars, +68 in the last 30 days.

It shipped 1 stable release in the past year. The latest, @doocs/md-cli@2.1.4, came out on 30 October 2026.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is WTFPL-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Memos (86/100, 64 346 stars). It scores higher overall, so compare the two before you pick. See WeChat Markdown Editor vs Memos side by side.

Features

  • AI Writing AssistantUses your own provider API keys.
  • Cloud sync of editor preferencesBacked by the project's Cloudflare Workers + D1 API, which is also self-deployable; Pro tier raises sync rate.
  • Custom themes and CSS
  • File import and export
  • Image upload to image hosts
  • Live Markdown preview
  • Local drafts with autosave
  • Math formulas (KaTeX)
  • Mermaid and PlantUML diagrams
  • One-click article formatting
  • Ruby annotation syntax

WeChat Markdown Editor README

doocs-md

微信 Markdown 编辑器

status node pr stars forks
release npm docker

中文 | English

How to install WeChat Markdown Editor

Install WeChat Markdown Editor with Docker

docker run -d -p 8080:80 doocs/md:latest

Then open http://localhost:8080. Image build repo: https://github.com/doocs/docker-md

How to configure WeChat Markdown Editor

  • port8800md-cli listening port; a random port is chosen if occupied

    values: any free TCP port

  • spaceIddcloud service space configuration for md-cli
  • clientSecretdcloud service space configuration for md-cli

WeChat Markdown Editor releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Notes & Editors

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…