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

@tina_summer/codepocket

v2.5.1

Published

CodePocket — 基于ClaudeCode的微信小程序工作台

Readme

CodePocket Connector

CodePocket 的本地连接器,让你的手机通过微信小程序远程控制 Claude Code。

前提条件

安装

npm i -g @tina_summer/codepocket

使用

首次配对

在微信小程序配对页获取你的 Key,然后运行:

codepocket --key YOUR_KEY

命令会自动:

  1. 保存 Key 到 ~/.codepocket/config.json
  2. 启动 Hub 并连接 Relay
  3. 启动 Claude Code(等同于直接运行 claude

配对成功后小程序自动跳转。

后续使用

codepocket

无需再加 --key,自动连接上次配对的 Relay。

命令一览

| 命令 | 说明 | |------|------| | codepocket | 启动 Claude Code + 连接手机 | | codepocket --key YOUR_KEY | 首次配对 | | codepocket start | 后台守护模式(不启动 Claude Code) | | codepocket stop | 停止后台守护进程 | | codepocket status | 查看运行状态 | | codepocket logs | 查看日志 | | cpkt | 短命令,等同于 codepocket |

手机端功能

通过小程序可以:

  • 远程对话 — 发消息、查看实时回复和思考过程
  • 权限审批 — 一键批准/拒绝 Claude 的工具调用
  • 会话管理 — 新建、恢复、中止、归档会话
  • 浏览目录 — 选择电脑上的目录启动新会话
  • YOLO 模式 — 全自动审批,无人值守运行
  • 手机工具 — GPS、日历、剪贴板、地图等原生能力通过 MCP 暴露给 Claude

可选:CC-Switch

CC-Switch 是管理 Claude Code 多 API 密钥/中转服务商的切换工具,下载地址:Releases

开源

本仓库(Connector)开源在 github.com/TinaSummer/codepocket-cli

License

MIT