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

chatmate

v1.4.1

Published

可以让你在命令行使用 ChatGPT 的工具

Readme

Chatmate

可以让你在命令行使用 ChatGPT 的工具,如果你也一样受不了 ChatGPT 的聊天页面经常崩溃,那么你来对地方了。

友情提示:配合 iTerm 等终端体验更好

效果展示

效果展示

🛫 使用前提

  1. 科学上网(需要可以切换节点到国外的)
  2. 需要注册一个 ChatGPT 的账号,不会的可自行百度,很多教程。没有国外手机号也可以租~
  3. 安装 Node 环境,详见官网

💻 配置终端代理

因为代理软件一般不能直接对终端发起的请求进行代理,所以这里可能需要配置终端的代理(如果你没问题可直接跳过)。

这里以我的代理 clashzsh 终端配置为例:

首先,打开配置文件

open ~/.zshrc

然后添加对应的规则代理:

#  按需开启即可,这里只需要代理 https 请求,所以只配置 https 代理
export https_proxy=http://127.0.0.1:%mixedPort%
# export http_proxy=http://127.0.0.1:%mixedPort%
# export all_proxy=socks5://127.0.0.1:%mixedPort%

让配置生效

source ~/.zshrc

🎉 开始吧

方式 1:直接运行:

npx chatmate

方式 2:全局安装

npm install -g chatmate

然后运行

chatmate

更推荐方式 2,一次安装,后续即可多处使用,且不用输入 API key。

更新软件

npm update -g chatmate

👨‍💻 贡献

如果您对本项目有问题或者想法,欢迎新建一个 Issue 进行讨论~

非常欢迎参与到项目的贡献中,一起为爱发电!

最后,如果您觉得本工具对你有帮助的话,欢迎给个 star,这将是我不断更新的动力~😉