{"repo":"StarryKira/copilot2api-go","free":true,"listed":false,"github":"https://github.com/StarryKira/copilot2api-go","clone":"git clone https://github.com/StarryKira/copilot2api-go.git","description":"Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code Or Codex Or Opencode!","language":"Go","stars":138,"topics":["anthropic-api","claude-code","github-copilot","openai-api","reverse-proxy"],"license":null,"category":"networking-infra","readme_excerpt":"Copilot API Go English 中文 --- English A GitHub Copilot API proxy built on the official GitHub Copilot CLI SDK . Exposes Copilot as OpenAI and Anthropic compatible API services with a multi-account web console for management and load balancing. Note : Requires an active GitHub Copilot subscription. Please review GitHub Copilot Terms before use. Features - Official SDK : Uses the official GitHub Copilot CLI SDK — not a reverse-engineered proxy - Multi-Account Management : Web console to add, remove, start, and stop multiple GitHub Copilot accounts - Pool Mode Load Balancing : Distribute requests across accounts using Round-Robin, Priority, or Smart strategies - OpenAI Compatible API : /v1/chat/completions , /v1/models , /v1/embeddings - Anthropic Compatible API : /v1/messages , /v1/messages/count tokens — automatic protocol translation - Model ID Mapping : Bidirectional mapping between Copilot internal model IDs and standard display IDs - Streaming SSE : Full support for streaming responses in both OpenAI and Anthropic formats - GitHub OAuth Device Flow : Authenticate accounts directly from the web console - Admin Authentication : Password-protected console with session management - Bilingual Web UI : English and Chinese interface with auto-detection Quick Start Docker (Recommended) Docker Compose Build from Source Command Line Options Option Default Description -------- --------- ------------- --web-port 3000 Web console port --proxy-port 4141 Proxy API port --verbose false En","default_branch":null,"files":null,"tree":[],"storefront":"/r/StarryKira","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/StarryKira/copilot2api-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}