2.5k
GitHub Stars
2
Bundled Files
2 months ago
Catalog Refreshed
3 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill openclaw/skills --skill wechat-pack- _meta.json279 B
- SKILL.md1.7 KB
Overview
This skill converts local .docx, Markdown, or HTML files into a WeChat-ready HTML package and creates a publish folder with local assets and optional cover images. It prepares an article.html file that can be copy-pasted into the WeChat public account editor and bundles images into an assets directory. The output includes metadata and cover variants when image processing is available.
How this skill works
The tool accepts .docx (via pandoc), .md/.markdown, or .html inputs and converts or normalizes them into an inline-styled HTML file optimized for WeChat. External images are downloaded or extracted and rewritten to local assets paths. A publish folder is created containing source, assets, cover, wechat/article.html, and a meta.json describing title, asset count, and paths.
When to use it
- Preparing articles for WeChat public account publishing with local assets
- Converting Markdown or Word documents to HTML that pastes cleanly into the WeChat editor
- Bundling images and a cover image into a single publish folder for editors or backups
- When you need copy-paste-ready HTML with WeChat-friendly inline styles
- Creating metadata and predictable folder structure for publishing workflows
Best practices
- Export your manuscript to .docx or .md before running the tool to preserve formatting
- Install pandoc and ensure it is on PATH for reliable .docx conversions
- Supply a cover image or URL to generate WeChat-friendly cover variants
- Check assets/ after conversion to verify images were downloaded and paths updated
- Open wechat/article.html in a browser and adjust minor layout issues before pasting
Example use cases
- Convert a long-form article written in Word into WeChat-ready HTML with embedded images
- Package a blog post written in Markdown into a publish folder to hand off to an editor
- Download external images referenced in an article and rewrite image sources to local assets
- Generate square and wide cover images for WeChat sharing when Pillow is available
- Produce meta.json for automated publishing tools or archival workflows
FAQ
Yes — pandoc is required for .docx conversion. Pillow is optional for generating cover variants.
What does the output folder contain?
It contains source/, assets/, cover/ (if provided), wechat/article.html, and meta.json with metadata.
Can I use a remote image as cover?
Yes — pass a cover URL and the script will download it into cover/ and create variants if image processing is available.