AntiHub-ALL

作者 zhongruan0522已验证

基于AntiHub二开的2API综合性平台,全代码开源,让 Claude、Openai 、Gemini、AWS(Kiro)的订阅套餐发挥最大价值,原生工具无缝使用。

420
Stars
69
Forks
Python
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/zhongruan0522/AntiHub-ALL

快速入门

使用 AntiHub-ALL 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Antihub-ALL

GitHub Stars QQ群 Zread AI DeepWiki

AntiHub-ALL Docker 部署

原项目地址:

默认 docker-compose.yml 自带 PostgreSQL + Redis,你主要只需要配置你自己的密钥;如果你想接入外部 PG/Redis,用 docker-compose.core.yml(只启动 web + backend)。

注意事项

当前参考 Kiro.rs 对最新版本CC的修复,Antihub-ALL同步了/backend/cc为CC特化端口,再次鸣谢相关参考项目

当前2API

  1. Antigravity:已完全支持
  2. Kiro-OAuth(GitHub/Google): 已完全支持
  3. Kiro-Token: 已完全支持
  4. Kiro-AWS IMA: 已完全支持
  5. QwenCli: 已完成开发,待测试
  6. CodexCLI: 已完全支持
  7. GeminiCLI: 已完全支持

一键部署

Linux 运行 deploy.sh 即可(会先启动 postgres/redis,同步/初始化 Backend 主数据库,再启动 web/backend;如需迁移旧 plugin DB,请看下方“升级/迁移(可选)”)。

脚本支持交互菜单:

chmod +x deploy.sh
./deploy.sh

也支持直接指定命令(方便写到教程/自动化脚本里):

./deploy.sh deploy     # 1) 一键部署(首次部署/重装)
./deploy.sh upgrade    # 2) 升级(仅升级 web/backend,不操作数据库)
./deploy.sh uninstall  # 3) 卸载(停止并删除容器,可选删除数据卷)

快速开始

  1. 配置环境变量:
cp .env.example .env

重要提示.env.example 中包含示例密钥,仅用于开发/测试。生产环境部署时,请务必生成新的密钥:

# 生成 Fernet 加密密钥(用于加密存储上游 API Key 等敏感数据)
docker compose run --rm backend python generate_encryption_key.py

# 或使用 openssl 生成其他密钥
openssl rand -base64 32  # 用于 JWT_SECRET_KEY

然后更新 .env 文件中的以下配置:

  • JWT_SECRET_KEY - JWT 令牌签名密钥
  • PLUGIN_API_ENCRYPTION_KEY - Fernet 加密密钥(用于加密存储用户 API 密钥)

登录/访问方式相关(很容易踩坑):

  • ADMIN_USERNAME / ADMIN_PASSWORD:首次启动会按此自动创建管理员账号;ADMIN_PASSWORD 至少 6 位(否则会触发后端参数校验失败,前端无法登录)。
  • COOKIE_HTTP
    • 如果你是 域名 + HTTPS(反向代理/Caddy/Nginx):保持 COOKIE_HTTP=HTTPS
    • 如果你是 IP 直连 + HTTP(内网/测试):设置 COOKIE_HTTP=HTTP,否则浏览器不会写入登录 cookie(Secure)。
  • 反向代理必须配置 /backend 转发到后端(否则前端会出现 404/接口不可用):
    • / -> http://127.0.0.1:<WEB_PORT>(默认 3000
    • /backend -> http://127.0.0.1:<BACKEND_PORT>(默认 8000
  1. 启动:
docker compose up -d

如果你自带 PostgreSQL/Redis:使用 docker-compose.core.yml 只启动 web + backend(并在 .env 中配置 DATABASE_URLREDIS_URL)。

  1. 访问前端:
  • 直连:http://localhost:3000(或你在 .env 里设置的 WEB_PORT
  • 或者用你自己的反代把域名转发到前端端口

鸣谢

常见问题

What is AntiHub-ALL?

AntiHub-ALL is an open-source cli tools skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by zhongruan0522. 基于AntiHub二开的2API综合性平台,全代码开源,让 Claude、Openai 、Gemini、AWS(Kiro)的订阅套餐发挥最大价值,原生工具无缝使用。. It has 420 GitHub stars.

Is AntiHub-ALL safe to use?

Yes. AntiHub-ALL passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install AntiHub-ALL?

Clone the repository with "git clone https://github.com/zhongruan0522/AntiHub-ALL" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is AntiHub-ALL written in?

AntiHub-ALL is primarily written in Python. It is open-source under zhongruan0522 on GitHub, so you can review or fork the full source.

Are there alternatives to AntiHub-ALL?

Yes. SkillsLLM lists many other CLI Tools skills you can browse and compare side by side. Open the CLI Tools category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh AntiHub-ALL against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ui-ux-pro-max-skill

by nextlevelbuilder

12

An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.

119,92012,870Python
CLI 工具ai-skillsantigravity
查看详情

happy

by slopus

Mobile and Web client for Codex and Claude Code, with realtime voice, encryption and fully featured

23,4501,980TypeScript
CLI 工具
查看详情

claudecodeui

by siteboon

Use Claude Code, OpenCode, Cursor CLI, and Codex on mobile and web with CloudCLI (aka Claude Code UI). CloudCLI is a free open source webui/GUI that helps you manage your Claude Code session and projects remotely.

13,3941,866TypeScript
CLI 工具
查看详情

CRS-自建Claude Code镜像,一站式开源中转服务,让 Claude、OpenAI、Gemini、Droid 订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。

12,5471,869JavaScript
CLI 工具
查看详情

ccstatusline

by sirmalloc

🚀 Beautiful highly customizable statusline for Claude Code CLI with powerline support, themes, and more.

12,508545TypeScript
CLI 工具
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情