该项目100%开源,可直接npm发布即运行。 npx heibai 运行即可。
或直接部署源码。
前提条件:
- Bun 1.3.5 或更高版本
- Node.js 24 或更高版本
安装依赖:
bun install运行:
bun run dev便捷运行:
npm install -g heibai启动 (与claude启动一样):
heibai或
npx heibai注意: 无论直接运行npx heibei还是部署运行 bun run dev 都需要环境保障 Bun大于1.3.5 与 Node 大于24版本。
与官方2.1.88一样, 新增1:/model 切换heibai模型,实现本站网页实时切换Claude,GPT,Gemini,Grok等模型。 新增2:/login 实现本站登录实时切换key,登录成功后,适用于heibai,key同步官方claude终端插件。 (源码中有一个链接 https://heibai.cd.xdo.icu,这只是获取登录接口)
学习用,你可以直接拿去把我的信息改了,拿去npm发布。
本站官网:claude.hk 免费体验领取:120刀额度 约6000万token 支持模型:Claude,GPT,Gemini,Grok。
后期会独立维护,加入类似cursor 4x能力,以及mem0记忆体。
···················································
This project is 100% open source and can be deployed and run directly via npm.
Run npx heibai.
Or deploy the source code directly.
Prerequisites:
-
Bun 1.3.5 or higher
-
Node.js 24 or higher
Install dependencies:
bun install
Run:
bun run dev
Shortcut run:
npm install -g heibai
startup (same as claude startup):
heibaior
npx heibaiNote: Whether running npx heibai directly or deploying and running bun run dev, both require a Bun version greater than 1.3.5 and a Node.js version greater than 24.
Similar to the official 2.1.88,
New Feature 1: /model switches the Heibai model, enabling real-time switching between Claude, GPT, Gemini, Grok, and other models on this website.
New Feature 2: /login enables real-time key switching for login on this website. After successful login, the key is applicable to Heibai and synchronized with the official Claude terminal plugin.
(There is a link in the source code: https://heibai.cd.xdo.icu, which only retrieves the login interface.)
For learning purposes, you can directly modify my information and publish it via npm.
Official Website: claude.hk Free Trial: $120 (approximately 60 million tokens)
Supported Models: Claude, GPT, Gemini, Grok
Later, it will be maintained independently, adding features similar to cursor 4x and mem0 memory.


