Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
An open-source TypeScript SDK and monorepo for building WeChat robots via the WeChatFerry PC hook, including Wechaty and Nuxt integrations.
Wechatferry is a developer tool that provides a TypeScript SDK and a monorepo of packages for building WeChat robots through the WeChatFerry PC hook protocol. It is published on npm under the wechatferry package name and is also installable via pnpm add wechatferry. The project is MIT-licensed and organized into five packages: core, agent, puppet, nuxt, and plugins.
Wechatferry is a Node.js/TypeScript layer over the WeChatFerry Windows PC hook, giving developers a TCP-based interface to control a WeChat desktop client programmatically. The @wechatferry/core package calls the sdk.dll file from WeChatFerry and wraps the TCP connection; @wechatferry/agent makes that core easier to use in everyday application code; @wechatferry/puppet connects the library to Wechaty so that the free PC Hook protocol can be used as a Wechaty puppet; @wechatferry/nuxt adds a Nuxt module for hooking WeChat bots into a Nuxt application; and @wechatferry/plugins bundles a few sample plugins.
@wechatferry/core, @wechatferry/agent, @wechatferry/puppet, @wechatferry/nuxt, @wechatferry/plugins) under one repository on GitHub.sdk.dll and encapsulates the TCP connection needed to talk to WeChatFerry.pnpm add wechatferry.@wechatferry/nuxt module.@wechatferry/puppet.@wechatferry/nuxt package.The architecture is layered: @wechatferry/core finds and loads sdk.dll from WeChatFerry and opens a TCP connection to it; @wechatferry/agent wraps that core and exposes a simpler API for sending and receiving messages; the puppet package exposes this to Wechaty as a standard puppet; and the nuxt package wraps the agent into a Nuxt module. The plugins package sits on top of the agent and provides sample features.
Wechatferry is free and open source, released under the MIT License.
Yes. The project is published under the MIT License, and the npm packages can be installed and used without any license fee. The main restriction is the project's disclaimer, which limits usage to learning and requires deleting the source and compiled programs within 24 hours.
The disclaimer states that the project is for learning and communication only, forbids illegal use, prohibits stealing others' privacy, and forbids secondary development. Users must delete the source code and compiled programs within 24 hours of download and agree to these terms by using the project.
Wechatferry is an independent Node.js/TypeScript wrapper around the original WeChatFerry project. It builds on WeChatFerry's sdk.dll and was inspired by several related projects, including wcf-client-rust and node-wcferry, as stated in the README's acknowledgments.
Yes. The @wechatferry/puppet package makes Wechaty work with the free PC Hook protocol, so you can use Wechaty's API without a paid Wechaty token. The README explicitly advertises this as a key capability.
