Skip to content

Latest commit

 

History

67 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SubLane

A lightweight, multi-workspace subscription gateway. Codex first.

License: AGPL-3.0-only Go 1.26+ React 19 SQLite embedded Stage: internal testing

简体中文 · 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.

Features

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

Quick start

With Docker, Compose, curl and jq installed, run:

curl -fsSL https://raw.githubusercontent.com/murongg/SubLane/main/scripts/install.sh | bash

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

Development

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 dev

Open http://127.0.0.1:5173. Run make check to test and build the project.

Documentation

Follow the step-by-step tutorial. Guides are maintained in the documentation repository.

License

AGPL-3.0-only. See third-party notices for dependencies and adapted components.

About

A lightweight, self-hosted AI subscription gateway for internal teams, with account pooling, access control, and usage tracking.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages