GitHub · #136

Wei-Shaw/sub2api

Sub2API 一站式开源中转服务,让 Claude、Openai 、Gemini、Grok订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。. On Linux: git clone, then go build ./... 44,294 GitHub stars (#136 in this directory).

Repository
https://github.com/Wei-Shaw/sub2api
Owner
Wei-Shaw (User)
Stars
44,294
Forks
9,508
Open issues
3,647
Language
Go
License
LGPL-3.0
Created
2025-12-18
Last push
2026-10-18
Topics
2api, antigravity2api, cc2api, claude, claude-code, codex, crs, crs2, gemini
Snapshot
2026-10-18 · weekly refresh

Try it on Shadowfetch Linux.

Shadowfetch Linux is a Debian testing desktop with KDE Plasma, local AI tools, and ShadowCode. Clone this repository there, follow the steps for its primary language, and ask ShadowCode to finish the build.

Clone and build with Go.

git clone https://github.com/Wei-Shaw/sub2api.git
cd sub2api
go build ./...

Some modules expose a main package in a cmd/ directory; build that path if ./... is not enough.

ShadowCode prompt.

Paste this into ShadowCode after you open the project.

Clone https://github.com/Wei-Shaw/sub2api into ~/Workspaces/sub2api.
Read the README.
On this Shadowfetch Linux desktop, run go mod download if needed, then go build and run the main module.
Ask before installing packages or using the network.

Download Shadowfetch Linux — ISO, checksum and signature.

Back to the GitHub directory · Methodology