A lightweight, multi-workspace subscription gateway. Codex first.
简体中文 · Repository · Brand materials
SubLane brings AI subscriptions into one gateway with isolated workspaces for different teams. It runs as a single Go service with SQLite and a built-in web dashboard.
- Codex, Claude and Antigravity accounts through OAuth or credential import.
- OpenAI-compatible APIs, native Claude Messages and Gemini generation, with HTTP/SSE and Responses WebSocket support.
- Isolated workspaces with their own members, accounts, pools, personal API keys, usage and audit records.
- Account pooling, concurrency limits, cooldowns and Codex quota awareness.
- Request diagnostics, usage charts, and backup and restore.
- English and Simplified Chinese, with light and dark themes.
With Docker, Compose, curl and jq installed, run:
curl -fsSL https://raw.githubusercontent.com/murongg/SubLane/main/scripts/install.sh | bashOpen http://127.0.0.1:8080, create the administrator, and name your first workspace in the guided setup. Connect a subscription, add it to an account pool, then create a personal key. Follow First request to complete the connection; additional workspaces and usage limits can wait until you need them.
The script installs the latest stable release, or the newest prerelease if no stable release exists, in ./sublane. Data stays in a Docker volume; existing directories are left unchanged. For options, manual Compose deployment, HTTPS and upgrades, see the deployment guide.
Requires Go 1.26+, Node.js 24 and pnpm 9.12.2.
git clone https://github.com/murongg/SubLane.git
cd SubLane
make setup
make devOpen http://127.0.0.1:5173. Run make check to test and build the project.
Follow the step-by-step tutorial. Guides are maintained in the documentation repository.
- Deployment · Backup and restore
- Providers · API keys · Account pools
- Development · Architecture
- Releases · Changelog
- Contributing · Security
AGPL-3.0-only. See third-party notices for dependencies and adapted components.