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

anywhere-coder

v1.0.17

Published

随时随地远程控制你的 AI 编程助手(支持 Kimi、Claude、Codex、Gemini 等)

Readme

🚀 Anywhere Coder

一款开源的远程控制工具,让你可以随时随地通过手机或 Web 端控制电脑端的 AI 命令行助手。

支持 Kimi Code CLIClaude CodeCodexGemini 等主流 AI 编程助手。

License: MIT npm version


📋 功能状态

✅ 已实现功能

| 功能 | 状态 | 说明 | |------|------|------| | 启动 AI 工具 | ✅ | anywhere 启动并生成 Session ID | | Web 端连接 | ✅ | 浏览器输入 Session ID 连接 | | 终端同步 | ✅ | 实时同步终端输入输出 | | 多模型支持 | ✅ | Kimi、Claude、Codex、Gemini | | 中继服务器 | ✅ | 支持自建或公共服务器 |

🚧 规划中功能

| 功能 | 状态 | 说明 | |------|------|------| | anywhere connect <id> | 🚧 | 主动连接到指定服务器 | | anywhere server | 🚧 | 启动本地中继服务器 | | 手机 App | 🚧 | iOS/Android 原生应用 | | 语音控制 | 🚧 | 语音输入指令 | | 推送通知 | 🚧 | 权限请求推送到手机 |


📦 安装

# 使用 npm
npm install -g anywhere-coder

# 使用 yarn
yarn global add anywhere-coder

# 使用 pnpm
pnpm add -g anywhere-coder

🚀 快速开始

1. 启动服务(在要被远程控制的电脑上)

# 启动 Kimi Code CLI(默认)
anywhere

# 或使用完整命令
anywhere-coder

# 启动其他 AI 工具
anywhere-coder claude
anywhere-coder codex
anywhere-coder gemini

启动后会显示:

═══════════════════════════════════════════
  连接信息
═══════════════════════════════════════════

会话 ID: abc123def
Web 端: https://app.anywhere-coder.io

扫描二维码连接手机 App:
[二维码]

═══════════════════════════════════════════

2. 连接终端(在手机或另一台电脑上)

方式一:Web 浏览器

  1. 打开 https://app.anywhere-coder.io
  2. 输入上面显示的 Session ID
  3. 点击连接

方式二:手机 App(开发中)

  1. 打开 Anywhere Coder App
  2. 扫描上面的二维码
  3. 或手动输入 Session ID

3. 开始远程控制

连接成功后,你可以在 Web/手机上:

  • 查看终端实时输出
  • 输入命令控制 AI 工具
  • 确认权限请求

🎯 使用场景

场景:在咖啡厅继续编程

# 在公司电脑上启动
$ anywhere
🚀 Anywhere Coder v1.0.0

✅ 加密模块就绪
✅ 检测到 Kimi Code CLI
▶ 启动 kimi...

═══════════════════════════════════════════
  连接信息
═══════════════════════════════════════════

会话 ID: abc123def
Web 端: https://app.anywhere-coder.io

扫描二维码连接手机 App:
[二维码]

═══════════════════════════════════════════
按任意键切换到本地控制,Ctrl+C 退出
═══════════════════════════════════════════

然后去咖啡厅,用手机或平板打开 Web 端,输入 abc123def 继续控制!


📱 支持的客户端

| 客户端 | 状态 | 访问方式 | |--------|------|----------| | Web 浏览器 | ✅ 可用 | https://app.anywhere-coder.io | | iOS App | 🚧 开发中 | App Store(敬请期待)| | Android App | 🚧 开发中 | Google Play(敬请期待)|


🔧 支持的 AI 工具

| 工具 | 命令 | 状态 | |------|------|------| | Kimi Code CLI | anywhereanywhere-coder kimi | ✅ 已支持 | | Claude Code | anywhere-coder claude | ✅ 已支持 | | OpenAI Codex | anywhere-coder codex | ✅ 已支持 | | Google Gemini | anywhere-coder gemini | ✅ 已支持 |


🔐 安全说明

Anywhere Coder 采用端到端加密(E2EE):

  • 🔑 X25519 密钥交换
  • 🔒 XSalsa20 + Poly1305 消息加密
  • 🚫 中继服务器无法读取任何消息内容
  • 💾 服务器不存储任何数据

🛠️ 高级配置

使用自定义中继服务器

# 启动时指定服务器
anywhere-coder kimi --server ws://your-server.com:8080

自建中继服务器

# 安装服务器
npm install -g anywhere-coder-server

# 启动服务器
anywhere-coder-server
# 或指定端口
PORT=8080 anywhere-coder-server

📝 命令参考

# 启动(默认 Kimi)
anywhere
anywhere-coder

# 启动其他 AI 工具
anywhere-coder claude
anywhere-coder codex
anywhere-coder gemini

# 列出支持的 AI 工具
anywhere-coder list

# 查看帮助
anywhere-coder --help

# 使用自定义服务器
anywhere-coder --server ws://localhost:8080

🤝 贡献

欢迎贡献!请访问 GitHub 仓库


📄 License

MIT License © 2024 Anywhere Coder Team