Skip to content
Projects

DavidLam-oss/obsidian-wechat-converter

View on GitHub

About

Obsidian 公众号排版(支持自定义 CSS和公众号贴图)、飞书云同步与多平台(小红书、知乎等)发布插件。Markdown 转微信文章 / Feishu docs / 知乎、小红书、今日头条等草稿,支持数学公式、本地图片、GIF 和 Mermaid。

Science & Engineering

How these counts are measured

Measured star growth

in 24h
+1
in 7 days
+3
in 15 days
+9
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

简体中文 | English

📝 Wechat Converter for Obsidian

Technical writing with elegance and pure focus. Longform formatting · Multi-page image cards · Cross-platform publishing.

An all-in-one publishing and formatting plugin for Obsidian. It not only solves the "last mile" problem of formatting notes for WeChat Official Accounts and Feishu Cloud Documents, but now also introduces the Multi-page Image Card Studio (Card Mode) and one-click multi-platform distribution to Zhihu, Juejin, Xiaohongshu, and CSDN via the companion browser extension.

Version Obsidian License Chrome Companion Sponsor

☕ If this plugin saves you time formatting or publishing notes, consider 👉 buying the author a coffee to support ongoing development!


🌟 Three Core Publishing Forms

Switch effortlessly between three publishing modes at the top of the converter panel:

                    ┌─ 📱 Longform Article ──► WeChat Official Account (Rich HTML / Direct Draft Sync)
                    │
Obsidian Notes ─────┼─ 🎴 Knowledge Cards ──► Multi-page Image Cards (Xiaohongshu / Moments / Social)
                    │
                    └─ 🚀 Multi-Platform ────► Feishu Docs + Browser Extension to Zhihu/Juejin/CSDN
Mode Best For Core Highlights
📱 Longform Article In-depth guides, tech articles, tutorials Sub-millisecond mobile preview, wash-resistant LaTeX SVG formulas, rasterized Mermaid diagrams, Mac-style code blocks, direct sync to WeChat drafts.
🎴 Knowledge Cards (✨ New) Xiaohongshu posts, WeChat Moments, Twitter/X cards 6 curated themes, 3 social aspect ratios (3:4 / 3:5 / 9:16), independent cover picker (AI generation / Unsplash / local illustrations), lossless batch export.
🚀 Multi-Platform Team knowledge base, cross-network distribution Native Feishu docx OpenAPI sync with in-place overwrite; seamless distribution to Chinese blogging platforms via browser extension without storing credentials in Obsidian.

🔥 Killer Features

1. 🎴 Multi-Page Image Card Studio (Card Mode)

Turn your Markdown notes into gorgeous multi-page social card stacks with zero design friction.

🎨 6 Curated Themes

Designed with rich contrast and typography for social sharing:

Simple White
Gradient Blue
Dark Gold
Forest Green
Neon Purple
Rose Gold

🛠️ Comprehensive Card Studio

  • Typography & Layout Tokens: Freely customize aspect ratio (3:4 / 3:5 / 9:16), font scale, line height, padding, page numbers, and custom watermark text.
  • 4 Cover Layout Presets: Text-only, Adaptive Theme layout, Atmospheric Full-Cover, and Poster Full-Bleed.
  • Cover Media Picker:
    • Auto-selects the first meaningful image in the note while ignoring functional QR codes or badges.
    • Direct search via Unsplash with bilingual keyword support.
    • Built-in AI generation workshop to summarize key takeaways and generate stylized imagery (3D Clay, Cyberpunk, Warm Sketch, etc.).
  • High-Fidelity Off-screen Export: One-click copy of individual cards directly to clipboard, or batch export all pages into PNG files without disk residue or cloud dependency.
Layout Tokens & Cover Settings AI Illustration Workshop Batch Export Modal

2. 📱 WeChat Longform Publishing & Direct Draft Sync

  • Sub-millisecond Real-time Preview: Faithful iPhone frame preview matching the exact reader perspective on mobile devices, with bidirectional synchronized scrolling.
  • Wash-Resistant Formatting:
    • LaTeX Math Formulas: Renders $E=mc^2$ and $$...$$ into sharp vector SVG graphics that cannot be stripped by WeChat's editor.
    • Mermaid Diagrams: Auto-rasterized to PNG upon export to bypass WeChat's SVG payload limits while preserving original diagram themes.
    • Mac-style Code Blocks: Pixel-perfect window header and line numbers matching the preview.
    • Scrollable Containers: Wide tables and image blocks (> [!image-swipe]) remain horizontally scrollable on mobile.
  • Direct WeChat Draft Box Sync:
    • Supports multiple WeChat accounts (up to 5).
    • High-concurrency image upload with automatic retry and idempotency protection.
    • Direct cover selection from the WeChat permanent material library.
    • Subsequent syncs overwrite existing drafts to keep the backend tidy.
Phone Simulation Mode Math & Code Rendering WeChat Draft Sync

3. 📄 Feishu Cloud Document Sync

  • One-click docx creation directly inside your designated Feishu folder.
  • In-place overwrite sync maintains existing document URLs across edits.
  • Fully preserves images, animated GIFs, Callouts, task lists, formulas, and diagrams.

4. 🌐 Multi-Platform Distribution via Companion Extension

  • Send articles to Zhihu, Juejin, CSDN, and Xiaohongshu via the companion browser extension.
  • Uses existing browser sessions; Obsidian never embeds platform logins or touches user cookies.

🚀 Quick Start

  1. Open Plugin: Click the 🪄 icon on the left ribbon, or press Cmd/Ctrl + P and search for Open Wechat Converter.
  2. Select Mode:
    • For WeChat articles: Use Longform Mode, check the live preview, then click [📋 Copy to WeChat] or [🚀 Sync Draft].
    • For social cards: Switch to Card Mode, customize theme & ratio, then copy individual cards or click [Export Cards].
    • For Feishu or other platforms: Click [Publish & Distribute] to send drafts.

🛠️ Advanced Customization

🎨 Custom CSS
  • Open Settings → WeChat Official Account → Custom CSS.
  • Enter CSS directly or reference a Markdown / CSS note in your vault.
  • Strictly isolated to standard article previews and drafts; does not interfere with Card Mode.
✍️ Chinese Punctuation Normalization
  • Enable in the right-hand style settings panel.
  • Strictly safe: transforms only during rendering and copy; never mutates your source Markdown notes.
  • Automatically protects code blocks, inline code, URLs, math, and function calls.
🖼️ WeChat Image Post Mode
  • Switch to Image Post Mode at the top for photo-centric updates (up to 20 images + plain text caption).
  • Reorder and curate images before directly syncing to WeChat draft box.
🔧 Proxy Setup for WeChat IP Whitelisting

Resolve dynamic IP changes with either the built-in official relay or a self-hosted Cloudflare Worker. See PROXY_GUIDE.md for step-by-step setup instructions.


📦 Installation

Method 1: Community Plugins (Recommended)

  1. Open Obsidian Settings → Community plugins.
  2. Turn off Safe mode, click Browse, and search for Wechat converter.
  3. Click Install, then Enable.

Method 2: BRAT (Beta Testing)

  1. Install the BRAT plugin.
  2. Add repository: DavidLam-oss/obsidian-wechat-converter.

Method 3: Manual Installation

  1. Download obsidian-wechat-converter.zip from GitHub Releases.
  2. Extract into .obsidian/plugins/obsidian-wechat-converter/.
  3. Reload plugins and enable.

☕ Support & Sponsor

Wechat Converter will remain free and open source. If it saves you time, consider buying the author a coffee!

WeChat Pay QR Code
WeChat Pay
Alipay QR Code
Alipay

❤️ Thank you to every creator supporting this project!


👨‍💻 Author

DavidLam (林小卫很行) — Creator passionate about personal productivity, PKM, and technical writing.

  • 🌐 Personal Website: xiaoweibox.top
  • 📚 Obsidian Column: Obsidian In-Depth Practices — Systemic guides on building personal knowledge bases (PKM), advanced workflows, and productivity setups.
  • 📢 WeChat Official Account: 林小卫很行 — Sharing Obsidian power-user workflows, AI-assisted writing, and cutting-edge productivity tools.
WeChat Official Account: 林小卫很行
Scan to follow Official Account "林小卫很行"
For Obsidian advanced workflows, AI writing tips, and plugin release updates

🤝 Contributing & License

Explore related projects

Loading…