Skip to content

Releases: AhYi8/sub2api

Sub2API 0.9.6

Choose a tag to compare

@github-actions github-actions released this 14 Oct 03:27

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

  • 查重接口平台校验从手抄 oneof 枚举改为 domain 注册表驱动的 concrete_platform 校验标签,新平台登记即自动生效
  • 查重放行回归用例改为遍历注册表全部具体平台,未来新增平台自动纳入保护
  • 就地注释记录 v0.2.8 / v0.2.15 两次枚举漏更事故的教训

📥 Installation

Docker:

# Docker Hub
docker pull ahyi/sub2api:0.9.6

# GitHub Container Registry
docker pull ghcr.io/ahyi8/sub2api:0.9.6

One-line install (Linux):

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

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

📚 Documentation

Sub2API 0.9.5

Choose a tag to compare

@github-actions github-actions released this 13 Oct 08:54

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

  • 合并上游 Wei-Shaw/sub2api v0.2.15
  • 调度策略白名单纳入 command_code/cline
  • 批量创建能力经 profile 机制扩展至新平台

📥 Installation

Docker:

# Docker Hub
docker pull ahyi/sub2api:0.9.5

# GitHub Container Registry
docker pull ghcr.io/ahyi8/sub2api:0.9.5

One-line install (Linux):

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

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

📚 Documentation

Sub2API 0.9.4

Choose a tag to compare

@github-actions github-actions released this 07 Oct 03:48

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


📥 Installation

Docker:

# Docker Hub
docker pull ahyi/sub2api:0.9.4

# GitHub Container Registry
docker pull ghcr.io/ahyi8/sub2api:0.9.4

One-line install (Linux):

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

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

📚 Documentation

Sub2API 0.9.3

Choose a tag to compare

@github-actions github-actions released this 06 Oct 11:16

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


📥 Installation

Docker:

# Docker Hub
docker pull ahyi/sub2api:0.9.3

# GitHub Container Registry
docker pull ghcr.io/ahyi8/sub2api:0.9.3

One-line install (Linux):

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

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

📚 Documentation

Sub2API 0.9.2

Choose a tag to compare

@github-actions github-actions released this 06 Oct 08:39

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


📥 Installation

Docker:

# Docker Hub
docker pull ahyi/sub2api:0.9.2

# GitHub Container Registry
docker pull ghcr.io/ahyi8/sub2api:0.9.2

One-line install (Linux):

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

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

📚 Documentation

Sub2API 0.9.1

Choose a tag to compare

@github-actions github-actions released this 24 Sep 05:05

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

  • 通用 apikey 输入(anthropic/openai/gemini/grok/opencode_go)改为多行 textarea,一行一条密钥,多条自动批量创建并按「名称 #序号」命名
  • antigravity upstream 专属字段同样支持多行批量:mixed-channel 风险提交前只检查一次,查重跳过与部分失败重试与通用路径一致
  • 查重逻辑提取为 dedupeApiKeysAgainstExisting 共享函数,防重入与平台切换竞态防护覆盖新路径
  • antigravity upstream 批量补齐配额注入与临时不可调度规则继承(applyQuotaExtra/applyTempUnschedConfig),单条与批量行为一致
  • 多行密钥解析提取 parseApiKeyLines 纯函数,i18n 批量提示文案泛化至 admin.accounts 命名空间(zh/en)
  • 测试从 76 个扩展至 80 个:各平台批量行为、mixed-channel 确认流程、配额/规则继承、防重入拦截均有回归保护

📥 Installation

Docker:

# Docker Hub
docker pull ahyi/sub2api:0.9.1

# GitHub Container Registry
docker pull ghcr.io/ahyi8/sub2api:0.9.1

One-line install (Linux):

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

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

📚 Documentation

Sub2API 0.9.0

Choose a tag to compare

@github-actions github-actions released this 24 Sep 01:24

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

同步上游 Wei-Shaw/sub2api v0.2.8(676 个提交),保留并融合全部自有功能,经两轮代码审查修复平台白名单与严格轮询门控问题。

上游主要更新:

  • 新增模型支持:GPT-6 Sol/Luna、Claude Opus 5.5、Grok 4.7、Claude Fable 5.1
  • OpenCode Go 官方用量窗口查询与自动刷新;Seedance(火山方舟)原生视频任务 API
  • 插件宿主服务与只读状态通道;月度归档备份;按推理力度(reasoning effort)计费倍率
  • Kimi 原生 Responses API 转发、OpenAI Fast 分组策略;大量网关/计费/账号/前端修复

fork 侧修复与增强:

  • minimax/opencode_go 纳入 API Key 查重与平台级调度策略白名单(前后端同步,新平台建号与平台级轮询配置恢复正常)
  • 严格轮询模式补齐全部粘性绑定写入点门控(previous_response / legacy / load_balance 三层同口径)
  • 全局定时测试迁移重编号 241/242(上游占用 235~240),旧库升级重放幂等无数据损坏
  • 国产平台多行批量建号能力自然覆盖上游新增的 minimax 平台

Docker:
docker pull ghcr.io/ahyi8/sub2api:0.9.0


📥 Installation

Docker:

# Docker Hub
docker pull ahyi/sub2api:0.9.0

# GitHub Container Registry
docker pull ghcr.io/ahyi8/sub2api:0.9.0

One-line install (Linux):

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

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

📚 Documentation

Sub2API 0.8.1

Choose a tag to compare

@github-actions github-actions released this 12 Sep 09:13

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


📥 Installation

Docker:

# Docker Hub
docker pull ahyi/sub2api:0.8.1

# GitHub Container Registry
docker pull ghcr.io/ahyi8/sub2api:0.8.1

One-line install (Linux):

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

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

📚 Documentation

Sub2API 0.8.0

Choose a tag to compare

@github-actions github-actions released this 12 Sep 04:19

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


📥 Installation

Docker:

# Docker Hub
docker pull ahyi/sub2api:0.8.0

# GitHub Container Registry
docker pull ghcr.io/ahyi8/sub2api:0.8.0

One-line install (Linux):

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

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

📚 Documentation

Sub2API 0.7.1

Choose a tag to compare

@github-actions github-actions released this 11 Sep 08:04

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


📥 Installation

Docker:

# Docker Hub
docker pull ahyi/sub2api:0.7.1

# GitHub Container Registry
docker pull ghcr.io/ahyi8/sub2api:0.7.1

One-line install (Linux):

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

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

📚 Documentation