Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!
| Date | Stars |
|---|---|
| 2026-07-31 | 4087 |
| 2026-08-03 | 4087 |
| 2026-08-05 | 4094 |
| 2026-08-06 | 4094 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# Copilot API Proxy > [!WARNING] > This is a reverse-engineered proxy of GitHub Copilot API. It is not supported by GitHub, and may break unexpectedly. Use at your own risk. > [!WARNING] > **GitHub Security Notice:** > Excessive automated or scripted use of Copilot (including rapid or bulk requests, such as via automated tools) may trigger GitHub's abuse-detection systems. > You may receive a warning from GitHub Security, and further anomalous activity could result in temporary suspension of your Copilot access. > > GitHub prohibits use of their servers for excessive automated bulk activity or any activity that places undue burden on their infrastructure. > > Please review: > > - [GitHub Acceptable Use Policies](https://docs.github.com/site-policy/acceptable-use-policies/github-acceptable-use-policies#4-spam-and-inauthentic-activity-on-github) > - [GitHub Copilot Terms](https://docs.github.com/site-policy/github-terms/github-terms-for-additional-products-and-features#github-copilot) > > Use this proxy responsibly to avoid account restrictions. [](https://ko-fi.com/E1E519XS7W) --- **Note:** If you are using [opencode](https://github.com/sst/opencode), you do not need this project. Opencode supports GitHub Copilot provider out of the box. --- ## Project Overview A reverse-engineered proxy for the GitHub Copilot API that exposes it as an OpenAI and Anthropic compatible service. This allows you to use GitHub Copilot with any tool that supports the OpenAI Chat Completions API or the Anthropic Messages API, including to power [Claude Code](https://docs.anthropic.com/en/docs/claude-code/overview). ## Features - **OpenAI & Anthropic Compatibility**: Exposes GitHub Copilot as an OpenAI-compatible (`/v1/chat/completions`, `/v1/models`, `/v1/embeddings`) and Anthropic-compatible (`/v1/messages`) API. - **Claude Code Integration**: Easily configure and launch [Claude Code](https://docs.anthropic.com/en/docs/claude-code/overview) to use Copilot as its backend with a simple command-line flag (`--claude-code`). - **Usage Dashboard**: A web-based dashboard to monitor your Copilot API usage, view quotas, and see detailed statistics. - **Rate Limit Control**: Manage API usage with rate-limiting options (`--rate-limit`) and a waiting mechanism (`--wait`) to prevent errors from rapid requests. - **Manual Request Approval**: Manually approve or deny each API request for fine-grained control over usage (`--manual`). - **Token Visibility**: Option to display GitHub and Copilot tokens during authentication and refresh for debugging (`--show-token`). - **Flexible Authentication**: Authenticate interactively or provide a GitHub token directly, suitable for CI/CD environments. - **Support for Different Account Types**: Works with individual, business, and enterprise GitHub Copilot plans. ## Demo https://github.com/user-attachments/assets/7654b383-669d-4eb9-b23c-06d7aefee8c5 ## Prerequisites - Bun (>= 1.2.x) - GitHub account with Copilot subscription (individual, business, or enterprise) ## Installation To install dependencies, run: ```sh bun install ``` ## Using with Docker Build image ```sh docker build -t copilot-api . ``` Run the container ```sh # Create a directory on your host to persist the GitHub token and related data mkdir -p ./copilot-data # Run the container with a bind mount to persist the token # This ensures your authentication survives container restarts docker run -p 4141:4141 -v $(pwd)/copilot-data:/root/.local/share/copilot-api copilot-api ``` > **Note:** > The GitHub token and related data will be stored in `copilot-data` on your host. This is mapped to `/root/.local/share/copilot-api` inside the container, ensuring persistence across restarts. ### Docker with Environment Variables You can pass the GitHub token directly to the container using environment variables: ```sh # Build with GitHub token docker build --build-arg GH_TOKEN=your_github_token_here
Excerpt of 15,469 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:cac532b6af417f47, llm:Topics: github-copilot, openai-api, openai-compatible-api, reverse-engineering; Description: Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!
matched fp:cac532b6af417f47, llm:Topics: github-copilot, openai-api, openai-compatible-api, reverse-engineering; Description: Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!
matched fp:cac532b6af417f47, llm:Topics: github-copilot, openai-api, openai-compatible-api, reverse-engineering; Description: Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!