github Wei-Shaw/sub2api v0.1.17
Sub2API 0.1.17

latest releases: v0.1.129, v0.1.128, v0.1.127...
5 months ago

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

  • CI/CD:添加 GitHub Actions 工作流(test + golangci-lint)

  • CI/CD:配置代码质量检查(errcheck、staticcheck、unused、ineffassign、gofmt)

  • CI/CD:通过 depguard 强制 service 层架构约束

  • 代码质量:修复未处理的错误返回值

  • 代码质量:修复资源泄露(统一使用 defer close 模式)

  • 代码质量:移除未使用的代码,统一代码格式

  • 修复 API 网关 accept-encoding 头透传导致的响应解码问题

  • 修复构建时前端未正确嵌入的问题(GoReleaser 和 Dockerfile 添加 -tags embed)


📥 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.