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 🙏

© 2025 – Pkg Stats / Ryan Hefner

code-ch

v1.1.0

Published

中文版Claude Code - 支持邮箱登录和自定义API的智能中文编码助手

Readme

code-ch

中文版Claude Code - 支持邮箱登录和自定义API的智能中文编码助手

🚀 功能特性

  • 完全中文界面 - 所有命令和提示均为中文
  • 🔐 邮箱登录系统 - 支持任何邮箱注册和认证
  • 🌐 自定义API支持 - 兼容OpenAI API格式的任何模型
  • 💻 智能编码助手 - 代码分析、生成、审查、Git操作
  • 📊 多模型支持 - OpenAI、Anthropic、DeepSeek、自定义API

📦 安装

全局安装(推荐)

npm install -g code-ch

本地安装

npm install code-ch

🎯 快速开始

1. 注册账号

code-ch 注册

2. 登录账号

code-ch 登录

3. 配置API

code-ch 配置API

4. 启动助手

code-ch 启动

📋 完整命令列表

用户管理

code-ch 注册          # 注册新用户
code-ch 登录          # 登录现有账号
code-ch 状态          # 查看系统状态

API配置

code-ch 配置API       # 配置AI模型API

智能编码

code-ch 启动          # 启动智能编码助手
code-ch 代码分析      # 分析项目代码结构
code-ch 代码生成      # 根据描述生成代码
code-ch Git操作       # 中文Git工作流管理

🔧 支持的API提供商

  • OpenAI - GPT-4, GPT-3.5-Turbo 等
  • Anthropic - Claude-3 系列
  • DeepSeek - DeepSeek Chat/Coder
  • 自定义API - 任何兼容OpenAI API的模型

🛠 技术栈

  • Node.js >= 14.0.0
  • Commander - 命令行界面框架
  • Inquirer - 交互式命令行提示
  • Axios - HTTP请求库
  • Chalk - 终端颜色输出

📁 项目结构

code-ch/
├── bin/
│   └── code-ch-auth.js     # 命令行入口
├── src/
│   ├── auth/
│   │   └── email-login.js  # 邮箱登录系统
│   └── api/
│       └── custom-api.js   # 自定义API集成
├── package.json
└── README.md

🔐 安全性

  • 密码使用SHA-256哈希加密
  • 会话令牌24小时自动过期
  • API密钥安全存储
  • 无敏感信息日志记录

🐛 问题反馈

如果遇到问题,请提交 Issue 或联系开发团队。

📄 许可证

MIT License

🤝 贡献

欢迎提交 Pull Request 来改进这个项目!