WeiXin MP Publisher

approvedunreviewed

by SKYue

微信公众号发布工具 | Publish WeChat Official Account articles with formatting, image upload, and draft push.

★ 1 stars↓ 391 downloadsUpdated 17d agoMIT

WeiXin MP Publisher

Format, preview, and send Obsidian notes to the draft box of a WeChat Official Account. The plugin supports themes, cover images, and copying formatted content to the WeChat editor.

Installation

Requires Obsidian 1.13.0 or later. Open Settings → Community plugins → Browse, search for WeiXin MP Publisher, then install and enable it.

For a manual installation, download main.js, manifest.json, and styles.css from a compatible GitHub release. Put the three files in .obsidian/plugins/weixin-mp-publisher/ inside your vault, reload Obsidian, and enable the plugin under Community plugins.

Usage

  1. Open Settings → WeiXin MP Publisher → 公众号账号 and add your WeChat Official Account. Enter its AppID and AppSecret. For a direct connection, configure the IP allowlist in the WeChat developer platform.
  2. Open a Markdown note and run 打开微信公众号预览 from the command palette. Choose a theme and review the title, author, and cover.
  3. Click 发布草稿 to send the article to the WeChat draft box. To paste the formatted article manually, run 复制当前笔记的微信 HTML and paste it into the WeChat editor.

中文说明

基于 RanceLee 的 WeChat Publisher 修改而来。

在 Obsidian 里写作,一键发布到微信公众号。

WeiXin MP Publisher 是一个 Obsidian 插件,让你在熟悉的写作环境里完成公众号排版,无需离开 Obsidian 就能发布。

Obsidian公众号插件使用方法

插件访问说明

  • 预览或推送草稿时,插件会读取当前笔记及其引用的本地图片。常规链接解析失败时,插件会按文件名在库内查找附件。
  • 点击复制按钮或执行复制命令时,插件会写入系统剪贴板。插件不会主动读取剪贴板。

发布新版本

同步更新 manifest.json、package.json 和锁文件的版本号后,推送同名的纯数字版本 tag(例如 1.2.10)。GitHub Actions 会从该 tag 构建插件,为 Release 附件生成来源证明,并创建待检查的草稿 Release。

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.