AIWXEdit

pending

by IsHexx

Publish notes to WeChat Official Account with perfect formatting, code highlighting, math formulas, and local image upload support.

2 starsUpdated 2mo agoMITDiscovered via Obsidian Unofficial Plugins
View on GitHub

AIWXEdit (WeChat Article Editor)

AIWXEdit is an Obsidian plugin that allows you to publish your notes directly to WeChat Official Accounts (微信公众号) with perfect formatting.

Features

  • Perfect Formatting: Preserves your Markdown styling, including headers, list, bold, italic, and more.
  • Code Highlighting: Supports syntax highlighting for code blocks.
  • Local Image Upload: Automatically uploads local images from your vault to WeChat servers.
  • Math Formula Support: Renders LaTeX math formulas correctly.
  • Theme Support: Choose from built-in themes or customize your own CSS.
  • Multi-Account Support: Manage multiple WeChat Official Accounts.
  • AI Integration: Auto-generate titles and covers using AI.

Installation

From Community Plugins

  1. Open Obsidian settings.
  2. Go to Community Plugins and turn off Safe Mode.
  3. Click Browse and search for "AIWXEdit".
  4. Click Install and then Enable.

Manual Installation

  1. Download the main.js, manifest.json, and styles.css from the Latest Release.
  2. Create a folder named aiwxedit in your vault's .obsidian/plugins/ directory.
  3. Put the downloaded files into that folder.
  4. Reload Obsidian and enable the plugin.

Setup

  1. Go to Settings > AIWXEdit.
  2. Add your WeChat Official Account credentials (AppID and AppSecret).
  3. (Optional) Configure AI features if you want auto-generated content.

Usage

  1. Open a Markdown note.
  2. Click the ribbon icon or use the command palette (Ctrl/Cmd + P) and search for "AIWXEdit: Open Publish View".
  3. In the right sidebar view:
    • Preview your article.
    • Select the target account.
    • Choose a cover image (Default, Upload, or AI generated).
  4. Click Publish to send it as a draft to your WeChat Official Account.

Development

npm install
npm run dev

License

MIT

Third-party notices

See THIRD_PARTY_NOTICES.md and LICENSES/ for third-party attributions and license texts.

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.