github Wei-Shaw/sub2api v0.1.22
Sub2API 0.1.22

latest releases: v0.1.127, v0.1.126, v0.1.125...
4 months ago

AI API Gateway Platform - 将 AI 订阅配额分发和管理

  • CRS 账户同步:支持从 CRS 同步 Claude OAuth/API Key、OpenAI OAuth/Responses 账号

  • 批量编辑账户:支持批量更新账户凭据(account_uuid/org_uuid 等),JSONB 字段智能合并

  • CRS 同步增强:自动刷新 OAuth token 并保留完整 extra 字段

  • 非 Claude Code 请求时自动补充 system prompt

  • CC 400 错误返回具体错误信息(JSON 格式),便于排查问题

  • 优化打包/Docker 构建流程(goreleaser 配置更新)

  • CRS 迁移功能增加版本提示

  • 批量更新使用统一 SQL,性能更优

  • 修复 OpenAI Responses API 测试配置(所有账号类型统一添加 instructions 字段)

  • 修复 defer Close() 错误处理问题


📥 Installation

One-line install (Linux):

curl -sSL https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/install.sh | sudo bash

Manual download:
Download the appropriate archive for your platform from the assets below.

📚 Documentation

Don't miss a new sub2api release

NewReleases is sending notifications on new releases.