Claude Skill

photon-hq/qclaw-wechat-client

一个针对QClaw微信访问API逆向工程实现的TypeScript客户端。构建集成微信的自动化代理与工具。开源、轻量、社区驱动。

概览

Stars800
Forks379
语言TypeScript
最后更新2026-03-22
最近同步2026-06-17
前往 GitHub

仓库信息

拥有者photon-hq
仓库qclaw-wechat-client
完整名称photon-hq/qclaw-wechat-client
Repo ID1,177,515,818

安装这个 Skill

npm install qclaw-wechat-client

Registry 信息

类型openclaw_skill
质量分80/100
验证状态readme_parsed
最近验证2026-06-06
平台
OpenClaw
能力
terminalagentopenclawqclawwechat
识别文件
README.mdREADME.zh-CN.mdexamplespackage.json
配置键
URLGUIDPACKAGE_JSON
安装方式
  • npm install qclaw-wechat-client
  • pnpm add qclaw-wechat-client

项目简介

一个针对QClaw微信访问API进行逆向工程实现的TypeScript客户端,支持通过QClaw平台以编程方式与微信交互。专为需要微信集成的自动化代理和工具开发者设计。

英文描述

Reverse-engineered TypeScript client for QClaw's WeChat Access API.

要点

  • 逆向工程实现的QClaw微信访问API客户端
  • 使用TypeScript编写,确保类型安全与可维护性
  • 专为代理和自动化场景设计
  • 开源项目,支持社区贡献
  • 轻量级,聚焦核心API交互

使用场景

  • 构建微信自动化机器人和代理
  • 将微信消息集成到自定义工作流中
  • 开发微信账号管理工具
  • 创建需要微信API访问的原型项目
  • 探索逆向工程API的教育项目

README 摘要

# qclaw-wechat-client [中文文档](./README.zh-CN.md) > [!WARNING] > This project is being unmaintained. It is recommended to switch to [WeChat's official iLink protocol](https://github.com/photon-hq/wechat-ilink-client). 该项目已不再维护。我们推荐使用[微信团队官方的iLink协议](https://github.com/photon-hq/wechat-ilink-client)(基于微信ClawBot)。 Reverse-engineered TypeScript client for QClaw's WeChat Access API. QClaw (管家 OpenClaw) is a Tencent Electron desktop app that wraps an OpenClaw AI Gateway service. It authenticates exclusively through WeChat OAuth2 QR-code login and communicates with Tencent backend servers via a jprx gateway protocol. This library implements that protocol as a standalone TypeScript module. ## Origin Extracted from `QClaw.app` -> `Contents/Resources/app.asar` (unencrypted). The API service class (`tS` / `openclawApiService`) was found in the bundled renderer at `out/renderer/assets/platform-QEsQ5tXh.js`. ## Install ```bash npm install qclaw-wechat-client # or pnpm add qclaw-wechat-client ``` ## Development ```bash pnpm install # install dependencies pnpm build # bundle with tsdown pnpm typecheck # type-check only ``` ## Quick start ```typescript import { QClawClient } from "qclaw-wechat-client"; import type { WxLoginStateData, WxLoginData } from "qclaw-wechat-client"; const client = new QClawClient({ env: "production" }); // Step 1 - get login state (CSRF token) const stateRes = await client.getWxLoginState({ guid: "machine-id" }); const state = QClawClient.unwrap<WxLoginStateData>(stateRes)?.state; // Step 2 - show QR code to user const qrUrl = client.buildWxLoginUrl(state!); console.log("Scan this:", qrUrl); // Step 3 - exchange auth code (from WeChat redirect) for session const loginRes = await client.wxLogin({ guid: "machine-id", code: authCode,

话题

探索更多

数据来自 GitHub,同步时间:2026-06-17