proxy

NameLast commit messageLast commit date
.githubci(workflow): publish beta from main and stable from tags7 months ago
assetschore(docs): remove Cubence sponsorship from README files and delete related asset9 months ago
authsrebuild branch1 year ago
cmdfeat(fetch_antigravity_models): add command to fetch and save Antigravity model list8 months ago
docsdocs: clarify fork identity and local docs7 months ago
examplesfeat: passthrough upstream response headers to clients8 months ago
internalperf(codex): fast-path responses request translation7 months ago
sdkRefine watcher delete suppression and maintenance scans7 months ago
testfeat(thinking): improve provider family checks and clamp unsupported levels8 months ago
.dockerignorechore: ignore .idea directory in git and docker builds8 months ago
.env.exampleAdd Object Storage1 year ago
.gitignorechore: ignore .idea directory in git and docker builds8 months ago
.goreleaser.ymlchore(ci): update GoReleaser config and release workflow to skip validation step8 months ago
config.example.yamldocs: clarify auth maintenance delete semantics7 months ago
docker-build.ps1rebuild branch1 year ago
docker-build.shbuild(docker): move stats export execution after image build10 months ago
docker-compose.ymldocs: clarify fork identity and local docs7 months ago
Dockerfilechore(docker): update Go base image to 1.26-alpine9 months ago
go.modfix(tui): update with review9 months ago
go.sumfeat(tui): add manager tui9 months ago
LICENSEUpdate LICENSE to reflect extended copyright ownership1 year ago
README.mddocs: clarify fork identity and local docs7 months ago
README_CN.mddocs: clarify fork identity and local docs7 months ago
README.md

CLIProxyAPI Auth/Codex Fork

English | 中文

This repository is an independently maintained derivative of router-for-me/CLIProxyAPI.

It is not the upstream project, is not affiliated with router-for-me, and should not be represented as an official mirror, release channel, support channel, or documentation endpoint for the upstream repository.

What This Fork Is

This fork keeps the original CLI proxy compatibility goals while carrying a smaller set of local changes focused on runtime behavior instead of product promotion.

Current fork-specific changes relative to router-for-me/CLIProxyAPI:

  • Codex/OpenAI Responses request translation adjustments and executor wiring updates
  • Auth scheduler behavior changes aimed at lower churn under concurrency
  • Async auth persistence additions
  • Scheduler benchmark and persistence test updates
  • Container defaults adjusted for this repository's GHCR image distribution

At the moment, the Go module path is still github.com/router-for-me/CLIProxyAPI/v6 for compatibility with the existing code layout. That compatibility detail does not imply any project affiliation.

Core Capabilities

  • OpenAI, Gemini, Claude, and Codex compatible API endpoints for CLI-oriented clients
  • OAuth-based support for Codex, Claude Code, Qwen Code, and iFlow
  • Streaming and non-streaming responses
  • Multi-account routing and load balancing
  • Reusable Go SDK under sdk/cliproxy
  • Request translation and provider execution layers suitable for embedding

Quick Start

Use the fork's GHCR image:

docker run --rm -p 8317:8317 ghcr.io/arron196/cliproxyapi:latest

Or with Compose:

docker compose up -d

The default image in docker-compose.yml is:

ghcr.io/arron196/cliproxyapi:latest

Local Documentation

Management endpoints are exposed under /v0/management when enabled in configuration. This fork does not currently publish a separate external documentation site.

Project Identity

  • Upstream base: router-for-me/CLIProxyAPI
  • This repository: independent derivative maintained in a separate GitHub repository
  • Upstream relationship: no affiliation, no endorsement, no shared release process, no shared support obligation

If you need upstream behavior or upstream support, use the upstream repository directly.

Contributing

Contributions should target this repository's behavior and documentation, not the upstream project's release promises or commercial integrations.

License

MIT. See LICENSE.