Status: [UNTESTED] Endpoints found: http://127.0.0.1:4040/api/tunnels Source: https://github.com/giahuydo/chatgpt-local-proxy # chatgpt-local-proxy ## Standalone repository boundary This repository is the authoritative standalone copy for the extracted proxy. Run proxy-owned commands from this repository root; proxy-owned files resolve from `PROXY_ROOT` and do not require the proxy to live under the Clincove workspace. External source discovery is explicit through `REPO_ROOT` and `CLINCOVE_ROOT`; Mission Control is an upstream service selected through `MC_BASE_URL` (default `http://127.0.0.1:8787`). The Clincove controller (`scripts/chatgpt-local.sh`) and operator supervisors remain external cutover dependencies. They are intentionally not part of this repository and are not changed by extraction verification. ## HOW TO START — standalone proxy Run all commands from the standalone repository root; do not use the old Clincove path: ```bash cd /Users/dogiahuy/Workspace/chatgpt-local-proxy pnpm install --frozen-lockfile --ignore-scripts cp .env.example .env ``` Populate the local `.env` through approved configuration handling; never commit it or print its values. Required configuration names are `BRIDGE_TOKEN` and `REPO_ROOT`; set `CLINCOVE_ROOT` when external Clincove repositories are used. Feature/upstream names are `MC_BASE_URL`, `MC_API_KEY`, `KB_PROXY_BASE_URL`, and `KB_PROXY_ENABLED`. Other documented names are `REPO_LABEL`, `REPOS`, `REQUIRE_AUTH`, `PORT`, and Commander/Claude settings. `PROXY_ROOT` is derived from this repository; `HOST` is source-fixed to `127.0.0.1`. Source defaults are `MC_BASE_URL=http://127.0.0.1:8787`, `KB_PROXY_BASE_URL=http://127.0.0.1:4319`, `KB_PROXY_ENABLED=true`, `REQUIRE_AUTH=true`, and `HOST=127.0.0.1`. The standalone `.env.example` sets `PORT=8788`; the source fallback when `PORT` is absent is `8787`, so use explicit `PORT=8788` for the intended runtime and never rely on an inherited shell `PORT`. ### Start, develop, test, and verify ```bash cd /Users/dogiahuy/Workspace/chatgpt-local-proxy PORT=8788 pnpm start ``` For watch mode: ```bash c