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-agent-bot

v0.4.0

Published

WeChat iLink + DeepSeek CLI with AI SDK conversation context

Readme

weixin-agent-bot

English

微信 iLink + DeepSeek 命令行工具:通过 Vercel AI SDK 接入 DeepSeek API;扫码绑定微信后按所选模型自动回复(按微信用户保留连续上下文)。

无需部署 OpenClaw: 本项目是普通的 Node 命令行,在你本机或任意有 Node 的环境即可运行,不必单独搭建、托管微信 OpenClaw 智能体运行时;装好依赖、扫码登录,再按提示或 .env 配置 DEEPSEEK_API_KEY 即可。

许可证: MIT

快速开始(社区用户)

需要 Node.js ≥ 22

方式一:用 npx(不必全局安装) — 每次前缀带包名;适合偶尔使用。

# 无需克隆仓库,直接跑最新已发布版本(首次运行会下载;-y 表示无需确认安装)
npx -y weixin-agent-bot@latest

方式二:全局安装 — 装一次后,任意目录可直接打 weixin-agent-bot

npm install -g weixin-agent-bot@latest
weixin-agent-bot

升级全局版本:

npm install -g weixin-agent-bot@latest

按终端提示操作即可。可选:在当前目录创建 .env(参考仓库里的 .env.example),以便跳过部分交互——可从 .env.example 复制。

常用参数(可复制命令)

下面示例默认用 npx;若已按上面 方式二全局安装,把命令里的 npx -y weixin-agent-bot@latest … 换成 weixin-agent-bot … 即可(参数不变)。

--help — 打印全部选项与环境变量说明:

npx -y weixin-agent-bot@latest --help

--version — 查看当前 CLI 版本号:

npx -y weixin-agent-bot@latest --version

--force-login — 忽略缓存,重新扫微信二维码登录:

npx -y weixin-agent-bot@latest --force-login

--reauth — 重新输入 DeepSeek API Key / 模型设置:

npx -y weixin-agent-bot@latest --reauth

可同时带多个参数,例如既要重新扫码又要重新选模型:

npx -y weixin-agent-bot@latest --force-login --reauth

微信聊天命令

在微信里发送 /new 会清空你当前用户的上下文,并开启一段新的对话。

从源码开发

git clone https://github.com/luckfunc/weixin-agent-bot.git
cd weixin-agent-bot
npm install
npm run dev
# 或:npm run build && node dist/cli.js

微信 SDK

使用 @pinixai/weixin-bot(源码:epiral/weixin-bot)。postinstall 会在本地编译该依赖,因为 npm 包内仅有 TypeScript 源码。

致谢

weixin-bot(作者 @epiral)——感谢提供的 Node.js SDK 与协议相关工作。