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

@zorix-official/zorix-cli

v1.2.0

Published

Official Zorix CLI for authenticated sessions and streaming AI chat.

Readme

Zorix CLI

  • CLI 专属页面:https://zorix.it/zorix-cli
  • Zorix 官方网站:https://zorix.it

中文说明

默认官网:

https://zorix.it

该 CLI 通过 Zorix 官方登录接口获取会话 Cookie,验证登录状态,然后使用同一 Cookie 发送流式聊天请求。

安装

npm install -g ./zorix-cli-1.0.0.tgz

或者解压 ZIP 后:

npm install -g .

登录并获取 Cookie

zorix login

流程:

  1. 请求 /login?next=/chat
  2. 提交账号密码到 /api/zorix-auth-v802/login
  3. 获取服务器返回的 Set-Cookie
  4. 请求 /api/user/full-status 验证登录;
  5. 使用 AES-256-GCM 在本地加密保存 Cookie。

密码不会保存。

Google 或浏览器登录

浏览器的 HttpOnly Cookie 不能被普通外部 CLI 自动读取。

zorix login --browser
zorix cookie import

也可以导入自己浏览器导出的 Netscape Cookie 文件:

zorix cookie import-file cookies.txt

只允许导入属于自己账号的 Cookie。

聊天

zorix chat "你好 Zorix"

交互模式:

zorix chat

文件和 stdin:

zorix chat --file prompt.txt
cat prompt.txt | zorix chat --stdin

JSON 输出:

zorix chat --json "返回 JSON"

模型

zorix models
zorix model use flash
zorix model use nex-plus
zorix model use nex26
zorix model use nex3

登录状态与配额

zorix status
zorix whoami
zorix quota
zorix doctor
zorix logout

Cookie

zorix cookie list
zorix cookie import
zorix cookie import-file cookies.txt
zorix cookie clear

cookie list 只显示 Cookie 名称,不显示 Cookie 值。

历史记录

zorix history list
zorix history show ID
zorix history export history.json
zorix history clear

配置

zorix config list
zorix config get model
zorix config set model model-flash
zorix config set timeoutMs 90000
zorix config set thinking true

Linux 和 Termux 默认目录:

~/.config/zorix-cli

多账号配置

zorix --profile personal login
zorix --profile work login

安全

  • 不保存密码;
  • Cookie 使用 AES-256-GCM 加密;
  • 默认不输出 Cookie 内容;
  • 不包含遥测;
  • 默认只连接 https://zorix.it
  • 重定向不能跳转到其他域名;
  • npm 包设为 private,避免意外发布。

专有许可证

Zorix CLI 是 Zorix 专有软件,并非开源软件。

版权所有 © 2026 Zorix。保留所有权利。

安装和使用本软件须遵守 LICENSE 中的条款。未经 Zorix 书面授权,不得重新分发、修改、反向工程、商业利用、提取私有实现信息, 或用于开发竞争性产品。

CLI 专属页面:https://zorix.it/zorix-cli

官方网站:https://zorix.it