npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

weixin-publisher

v0.1.7

Published

CLI and MCP-ready publisher for WeChat Official Account draft and publish workflows

Readme

weixin-publisher

weixin-publisher is a standalone project for WeChat Official Account article generation and publishing workflows.

It is designed to be the reusable capability core behind:

  • HydroDesktop / cc-desktop marketplace integrations
  • Claude Code skills
  • Codex skills
  • local CLI automation
  • MCP-based AI runtime integrations

Current shape

The project now follows a simple structure:

  • one core implementation
  • two execution surfaces: CLI + MCP
  • one external registration layer provided by the host runtime configuration

The current stable V1 scope focuses on two article workflows:

  • draft create a WeChat article draft for later manual publishing in the official backend
  • publish submit an existing draft into the WeChat freepublish flow

Directory overview

src/core      WeChat API, content pipeline, cover preparation, result shaping
src/mcp       MCP server entry
src/cli.ts    CLI entry
docs/         project documentation
templates/    sample inputs
assets/       sample assets and generated files
scripts/      local smoke scripts

Documentation

Recommended reading order:

  1. docs/goals.md
  2. docs/architecture.md
  3. docs/progress.md
  4. docs/install-and-use.md
  5. docs/plan.md

Quick start

For local development:

npm install
npm run build
npm run start -- doctor
npm run start -- prepare-cover ./assets/generated/wechat-cover-im-upgrade.png --out ./assets/generated/wechat-cover-im-upgrade-thumb.auto.jpg
npm run start -- upload-cover ./cover.jpg
npm run start -- draft templates/article-input.example.json
npm run start -- draft templates/article-input.example.json --cover ./assets/generated/wechat-cover-im-upgrade-thumb.jpg
npm run start -- publish <draft-media-id>
npm run start -- publish:status <publish-id>

If you install the package globally, the two main entrypoints are:

  • wop for CLI workflows
  • wop-mcp for MCP host startup
npm install -g weixin-publisher
wop doctor
wop-mcp

If you prefer not to install globally, you can also start the MCP server with:

npx -y --package weixin-publisher wop-mcp

The package also includes skills/weixin-publisher, a skill source directory for guiding HydroDesktop, Claude Code, or Codex through self-checks, installation, MCP configuration, and draft-first article creation.

For complete CLI usage, MCP config, tool permissions, and workflow notes, see: