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

@xdfnet/iwc-cli

v1.2.0

Published

iWC (WeChat to Claude Code) CLI distributor for npm

Readme

iWC

Version License: MIT Platform

iWC 让 Claude Code 住进微信。你在微信里发消息,它在 Mac 上调用 Claude Code,处理完再把结果回到微信。

适合想把微信当作随身 AI 入口的开发者。手机上问问题,Mac 上跑 Claude Code;多轮对话自动续上,处理期间还会显示“正在输入中”。

效果示例

你在微信发:
帮我解释这个 Go 报错

iWC:
  收到微信消息
  启动 claude --print
  复用该用户的 session
  把 Claude 回复发回微信

为什么选 iWC

| 问题 | 方案 | |------|------| | 手机上想问 Claude Code | 微信直接发消息,不用打开终端 | | 多轮对话容易断上下文 | 按微信用户持久化 session,自动 resume | | AI 处理时不知道有没有响应 | 处理期间显示“正在输入中” | | 重启服务后状态丢失 | token、session、context token 持久化到本地 |

快速上手

npm i -g @xdfnet/iwc-cli

安装过程会下载对应平台的 iwc 二进制。首次没有微信配置时,会提示扫码登录。

前置要求:

  • 已安装 Claude Code CLI:npm i -g @anthropic-ai/claude
  • 已开通微信 ilink 机器人能力,并拿到可扫码登录的环境
  • macOS 使用 launchd 常驻后台

全部命令

iwc              # 查看状态
iwc status       # 查看状态
iwc setup        # 扫码登录微信
iwc uninstall    # 卸载服务、二进制和本地配置
iwc version      # 版本
iwc help         # 帮助

工作原理

微信消息 → 长轮询接收 → session resume → claude --print → 微信回复

文件路径

| 文件 | 用途 | |------|------| | ~/Library/LaunchAgents/com.user.iwc.plist | macOS 自动启动服务 | | ~/.local/bin/iwc | iWC 二进制 | | ~/.config/iwc/config.toml | 微信、Claude、系统配置 | | ~/.config/iwc/wechat/sessions.json | 微信用户到 Claude session 的映射 | | ~/.config/iwc/wechat/context_tokens.json | 微信用户到 context token 的映射 | | ~/.config/iwc/iwc.log | 标准日志 | | ~/.config/iwc/iwc_error.log | 错误日志 |

License

MIT — 随便用,随便改。