[UNTESTED] [Open-Copilot-Proxy/Copilot_Proxy] 4 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,257 characters
Status: [UNTESTED]
Endpoints found:
http://localhost:15432/v1/chat/completions
http://localhost:15432/v1/chat/completions`
http://localhost:15432/v1/messages`
http://localhost:15432/v1/messages
Source: https://github.com/Open-Copilot-Proxy/Copilot_Proxy
[English](./README.md) | [中文](./README_zh-CN.md)
# Copilot Proxy
Expose GitHub Copilot as an OpenAI, Anthropic, and Gemini compatible API
Built with Go + Vue 3, single binary with embedded WebUI, zero external runtime dependencies
## Features
- OpenAI-compatible proxy endpoint at `http://localhost:15432/v1/chat/completions`
- Anthropic Messages API compatibility at `http://localhost:15432/v1/messages`
- Gemini API compatibility at `http://localhost:15432/v1beta/models/{model}:generateContent`
- Single binary — Go backend with embedded Vue 3 + Naive UI frontend via `go:embed`
- AES-GCM encrypted token storage using machine-specific key derivation, no system keyring required
- Multi-account support — add and switch between multiple GitHub accounts via WebUI
- Request statistics and real-time quota display
- Streaming support with proper SSE handling
- Cross-platform: Windows, macOS, Linux (including headless servers)
## Quick Start
```
git clone https://github.com/Open-Copilot-Proxy/Copilot_Proxy.git
cd Copilot_Proxy
# Build frontend
cd web && npm install && npm run build && cd ..
# Build Go binary
go build -o copilot-proxy ./cmd/copilot-proxy
# Run
./copilot-proxy
```
Or use the Makefile:
```
make build # builds frontend + Go binary in one step
```
On macOS / Linux:
```
go build -o copilot-proxy ./cmd/copilot-proxy
chmod +x ./copilot-proxy
./copilot-proxy
```
On Windows:
```
go build -o copilot-proxy.exe ./cmd/copilot-proxy
.\copilot-proxy.exe
```
Then open **http://localhost:15432/ui/** in your browser
## Usage
### Start the server
```bash
./copilot-proxy serve
# Or just run without arguments
./copilot-proxy
```
The server starts immediately without blocking on authorization
If a saved token exists, it refreshes automatically
If no token, the WebUI shows a login page — complete GitHub authorization from the browser
### Command-line reference
```bash
copilot-proxy # Alias for `serve`
copilot-proxy serve