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

@nick403/codexwebui

v0.3.3

Published

A secure web interface for Codex app-server, designed for local-first and remote browser access

Readme

codexwebui

一个面向 Codex app-server 的本地优先 Web UI,支持局域网访问、多 host 管理和同页分屏。

特性

  • npx @nick403/codexwebui 一条命令启动
  • 支持 -d 后台常驻运行
  • 支持局域网访问和密码保护
  • 支持同一前端接入多个局域网内 codexwebui host
  • 支持最多 4 个 session 同页分屏
  • 支持不同 host 的 session 在同一页面分屏显示
  • 支持显示/隐藏思考过程
  • 支持长会话分段加载和日期分组

快速开始

本机启动:

npx @nick403/codexwebui

局域网启动:

npx @nick403/codexwebui --host 0.0.0.0

后台运行:

npx @nick403/codexwebui -d --host 0.0.0.0

默认地址:

http://127.0.0.1:5999

多主机使用

如果你希望在同一个 Web 前端里接入多个局域网内的 Codex 节点:

  1. 在每台机器上都运行 codexwebui
  2. 在主页面左侧 Host 区域添加其他机器的地址和密码
  3. 在侧栏选择 session,或使用 Open in new pane
  4. 在空白 pane 中直接切换 Target host

推荐启动方式:

npx @nick403/codexwebui -d --host 0.0.0.0 --port 6100

分屏说明

  • 顶部 1 / 2 / 3 / 4 可切换布局
  • 每个 pane 都有独立的 host + session
  • 侧栏 session 菜单支持 Open in new pane
  • 空白 pane 可直接指定 Target host
  • pane 头部可使用 Browse host 快速切到该 host 的 session 浏览上下文

运行要求

  • Node.js 18+
  • 可用的 codex CLI
  • 已完成 Codex 登录

常用参数

npx @nick403/codexwebui --help
  • --port <port>:监听端口,默认 5999
  • --host <host>:监听地址,默认 127.0.0.1
  • --password <pass>:指定访问密码
  • --no-password:关闭密码保护
  • --tunnel:启动 cloudflared 隧道
  • --no-tunnel:关闭 cloudflared 隧道
  • -d, --detach:后台运行 codexwebui

发布后安装

包发布到 npm 后,可直接在其他机器运行:

npx @nick403/codexwebui

或者:

npx @nick403/codexwebui -d --host 0.0.0.0

安全说明

  • 默认开启密码保护
  • 默认仅监听 127.0.0.1
  • 建议只在明确需要远程访问时使用 --host 0.0.0.0