← all repositories

ericc-ch/copilot-api

Local proxy server that reverse-engineers GitHub Copilot API and exposes it as OpenAI and Anthropic compatible endpoints.

4.1k stars TypeScript Coding AssistantsInference · Serving
copilot-api
Not currently ranked — collecting fresh signals.
star history

This project creates a server that reverse-engineers the GitHub Copilot API, transforming its requests and responses to match OpenAI Chat Completions and Anthropic Messages API formats. It enables any tool supporting these standard AI API protocols to use GitHub Copilot as a backend, with specific support for powering AI coding assistants like Claude Code.

Frequently asked

What is ericc-ch/copilot-api?
Local proxy server that reverse-engineers GitHub Copilot API and exposes it as OpenAI and Anthropic compatible endpoints.
Is copilot-api open source?
Yes — ericc-ch/copilot-api is open source, released under the MIT license.
What language is copilot-api written in?
ericc-ch/copilot-api is primarily written in TypeScript.
How popular is copilot-api?
ericc-ch/copilot-api has 4.1k stars on GitHub.
Where can I find copilot-api?
ericc-ch/copilot-api is on GitHub at https://github.com/ericc-ch/copilot-api.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.