https://github.com/webdevtodayjason/subctl-proxy
OpenAI-compatible local proxy that mediates Claude Pro / ChatGPT Pro / SuperGrok / Codex OAuth subscriptions behind one endpoint. Shared infra for subCTL master, ArgentOS, agent-qa, and OpenAI-API clients (Codex CLI, Aider, Cline, Continue). Standalone Rust binary.
https://github.com/webdevtodayjason/subctl-proxy
Last synced: 17 days ago
JSON representation
OpenAI-compatible local proxy that mediates Claude Pro / ChatGPT Pro / SuperGrok / Codex OAuth subscriptions behind one endpoint. Shared infra for subCTL master, ArgentOS, agent-qa, and OpenAI-API clients (Codex CLI, Aider, Cline, Continue). Standalone Rust binary.
- Host: GitHub
- URL: https://github.com/webdevtodayjason/subctl-proxy
- Owner: webdevtodayjason
- License: mit
- Created: 2026-05-18T18:17:44.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-18T18:17:47.000Z (2 months ago)
- Last Synced: 2026-06-05T07:18:49.300Z (about 1 month ago)
- Language: Rust
- Size: 53.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# subctl-proxy
OAuth-subscription proxy that presents Claude Pro / ChatGPT Pro / SuperGrok /
Codex seats as a unified OpenAI-compatible HTTP endpoint.
> **Status:** Phase A scaffold (v0.1.0). Module shells only — no upstream calls,
> no real OAuth, no audit writes yet. Phase B fills in adapters and routing.
## Canonical SPEC
Design is governed by
`subctl/.subctl/docs/SPEC-subctl-proxy.md` (Draft v0.1, 2026-05-18) and the
pinned decisions in `subctl/.subctl/docs/decisions/subctl-proxy-v0.1.md`.
## Future repo home
This crate will live at **`https://github.com/subctl/subctl-proxy`** under the
new `subctl/` GitHub org (per D7). The repo and org do not yet exist; this
scaffold is local-only until then.
## Quickstart (once Phase B lands)
```sh
# Install
cargo install --git https://github.com/subctl/subctl-proxy
# Run
subctl-proxy serve
# binds 127.0.0.1:8642 by default
```
Point any OpenAI-compatible client at the proxy:
```sh
export OPENAI_BASE_URL=http://127.0.0.1:8642/v1
export OPENAI_API_KEY=
```
## Development
```sh
cargo check
cargo build
cargo test
cargo clippy -- -D warnings
cargo fmt --check
```
## License
MIT — see [`LICENSE`](./LICENSE).