3,702 prompts from top AI collections
← Back to Market
[UNTESTED] [KilimcininKorOglu/CommandCodeBridge] 4 endpoint(s)
ChatGPT API Proxy/ChatGPT
2,245 characters
Status: [UNTESTED] Endpoints found: http://127.0.0.1:3050/v1/chat/completions http://127.0.0.1:3050/v1/models http://127.0.0.1:3050/v1/messages http://127.0.0.1:3050/v1/responses Source: https://github.com/KilimcininKorOglu/CommandCodeBridge # CommandCode Bridge [Türkçe](README.tr.md) CommandCode Bridge is a Go reverse proxy that exposes OpenAI-compatible and Anthropic-compatible HTTP endpoints for your CommandCode Go subscription. It accepts local client requests, converts OpenAI or Anthropic payloads into the CommandCode upstream request shape, forwards them to CommandCode, and translates upstream NDJSON responses back into OpenAI or Anthropic response formats. ## Features - OpenAI-compatible `POST /v1/chat/completions` endpoint. - OpenAI Responses `POST /v1/responses` and `POST /v1/responses/compact` endpoints. - Anthropic-compatible `POST /v1/messages` endpoint. - Anthropic token counting `POST /v1/messages/count_tokens` endpoint forwarded upstream. - OpenAI-compatible `GET /v1/models` endpoint backed by the Provider API model list. - Streaming and non-streaming response handling. - Tool calling support for OpenAI and Anthropic responses. - Anthropic URL and base64 image source conversion to OpenAI `image_url` blocks. - Per-key session management with request header session reuse. - Machine fingerprint and CLI compatibility headers for upstream requests. - Local proxy authentication for client access with `proxy_token`. - Upstream CommandCode authentication with `cc_apiKey`, always read from config. ## Requirements - Go `1.26.4` or newer. - Docker and Docker Compose for containerized deployment. - A CommandCode API key in `user_...` format for upstream API access. ## Setup 1. Install Node.js and npm if they are not already installed. 2. Install the Command Code CLI: ```bash npm i -g command-code@latest ``` 3. Log in with the Command Code CLI: ```bash cmd login ``` 4. Copy the example config: ```bash git clone https://github.com/KilimcininKorOglu/CommandCodeBridge cd CommandCodeBridge/ cp data/config.example.json data/config.json ``` 5. Copy the `apiKey` value from `~/.commandcode/auth.json` into `cc_apiKey` in `data/config.json`. Keep `data/config.j
Download .txt