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

@codingplay/codex-init

v0.1.21

Published

Business Codex bootstrap installer for Codingplay proxy environments.

Downloads

3,197

Readme

@codingplay/codex-init

@codingplay/codex-init 是一个面向 Codingplay 中转环境的 Codex 安装器。

当前实现包含:

  • Windows 首装主流程骨架
  • Git 检测;npm/npx 流程不会自动下载 Git,避免误装
  • Node 检测;npm/npx 流程要求已有 Node 20+
  • 官方 @openai/codex 安装,固定使用 https://registry.npmmirror.com
  • ~/.codex/config.toml 覆盖写入
  • ~/.codex/auth.json 覆盖写入
  • Windows 下 VCRUNTIME140_1.dll 缺失时的自动补装
  • 若运行库已存在但 codex 仍无反应,则停止并提示人工支持

本地开发

cd /Users/shmily/Desktop/codingplay-init
npm install -g .
codingplay-init --help

给用户的 npm 用法

推荐两种形式:

npx --yes --registry=https://registry.npmjs.org @codingplay/codex-init@latest

或:

npm install -g @codingplay/codex-init
codingplay-init

说明:

  • codingplay-init 无参数时默认就是完整安装流程
  • --yes 会跳过 npx 的安装确认,不需要用户先输入 y
  • --registry=https://registry.npmjs.org 会强制使用 npm 官方源,避免镜像未同步导致 404
  • 如果用户机器上还没有 Node/npm,则无法直接走 npm 入口,这种场景仍需要先装 Node

命令

codingplay-init
codingplay-init setup
codingplay-init --mode 1
codingplay-init --mode 2
codingplay-init --key sk-xxx
codingplay-init setup --key sk-xxx
codingplay-init doctor

Key 输入说明:

  • 启动后会先选择配置模式:1 初次使用,2 老玩家配置
  • 默认会提示输入 Key,输入框是普通明文输入
  • 如果误按回车导致 Key 为空,程序会重新提示,不会直接退出
  • 也可以使用 CODINGPLAY_SETUP_MODE / --modeCODING_API_KEY / --key 参数跳过交互输入

Windows 一键脚本

如果用户机器已有 Node/npm,可以直接运行:

npx --yes --registry=https://registry.npmjs.org @codingplay/codex-init@latest

如果用户机器没有 Node/npm,需要先下载本包脚本再执行;该脚本会安装 Node LTS,但不会自动下载 Git:

$v="0.1.21"; $d="$env:TEMP\codingplay-init"; Remove-Item $d -Recurse -Force -ErrorAction SilentlyContinue; New-Item -ItemType Directory -Path $d | Out-Null; Invoke-WebRequest "https://registry.npmjs.org/@codingplay/codex-init/-/codex-init-$v.tgz" -OutFile "$d\pkg.tgz"; tar -xzf "$d\pkg.tgz" -C $d; powershell -ExecutionPolicy Bypass -File "$d\package\scripts\install.ps1"

本地源码脚本调试:

powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1