github Wei-Shaw/sub2api v0.1.99
Sub2API 0.1.99

latest releases: v0.1.137, v0.1.136, v0.1.135...
3 months ago

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

  • 数据库定时备份与恢复:支持 S3 兼容存储(含 Cloudflare R2),支持手动/定时备份、一键恢复、自动过期清理

  • 账号配额固定时间重置模式:支持按日/按周固定时刻重置配额,可配置时区

  • Backend Mode:系统级后台模式开关,禁用用户自助注册和自助服务

  • Antigravity 403 状态检测:识别并分类 403 响应(验证/违规/禁止),前端展示状态徽章和验证链接

  • 运维面板支持隐藏告警事件

  • OpenAI Token 统计可选显示

  • 合并 Bedrock 渠道类型:将 bedrock-apikey 合并为 bedrock 统一渠道,通过 auth_mode 区分认证方式

  • 备份服务重构:S3 凭证加密存储、流式处理避免 OOM、操作抽象为接口符合依赖注入架构

  • 将备份和数据管理页面合并为设置页的标签页,减少侧边栏条目

  • 运维聚合查询超时从 3s 调整为 5s,回填窗口从 30 天缩短为 1 小时,防止 PG 过载

  • 修复运维设置对话框保存按钮始终禁用的问题

  • 修复加密内容无效时的错误处理和重试逻辑

  • 修复 Gemini OAuth 401 临时不可调度路径被意外排除的问题

  • 修复 wire_gen_test.go 中缺少 backupSvc 参数的问题

  • bedrock-apikey 渠道类型已移除,合并为 bedrock 渠道(通过 credentials.auth_mode 区分 sigv4/apikey)


📥 Installation

Docker:

# Docker Hub
docker pull weishaw/sub2api:0.1.99

# GitHub Container Registry
docker pull ghcr.io/wei-shaw/sub2api:0.1.99

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.