|
9 | 9 |
|
10 | 10 | 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). |
11 | 11 |
|
12 | | -### New Features |
| 12 | +## Features |
13 | 13 |
|
14 | | -- **Copilot Usage Viewer**: Integrated web interface to view your GitHub Copilot usage statistics and quota information. |
| 14 | +- **OpenAI & Anthropic Compatibility**: Exposes GitHub Copilot as an OpenAI-compatible (`/v1/chat/completions`, `/v1/models`, `/v1/embeddings`) and Anthropic-compatible (`/v1/messages`) API. |
| 15 | +- **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`). |
| 16 | +- **Usage Dashboard**: A web-based dashboard to monitor your Copilot API usage, view quotas, and see detailed statistics. |
| 17 | +- **Rate Limit Control**: Manage API usage with rate-limiting options (`--rate-limit`) and a waiting mechanism (`--wait`) to prevent errors from rapid requests. |
| 18 | +- **Manual Request Approval**: Manually approve or deny each API request for fine-grained control over usage (`--manual`). |
| 19 | +- **Token Visibility**: Option to display GitHub and Copilot tokens during authentication and refresh for debugging (`--show-token`). |
| 20 | +- **Flexible Authentication**: Authenticate interactively or provide a GitHub token directly, suitable for CI/CD environments. |
| 21 | +- **Support for Different Account Types**: Works with individual, business, and enterprise GitHub Copilot plans. |
15 | 22 |
|
16 | 23 | ## Demo |
17 | 24 |
|
@@ -87,12 +94,14 @@ The following command line options are available for the `start` command: |
87 | 94 | | --wait | Wait instead of error when rate limit is hit | false | -w | |
88 | 95 | | --github-token | Provide GitHub token directly (must be generated using the `auth` subcommand) | none | -g | |
89 | 96 | | --claude-code | Generate a command to launch Claude Code with Copilot API config | false | -c | |
| 97 | +| --show-token | Show GitHub and Copilot tokens on fetch and refresh | false | none | |
90 | 98 |
|
91 | 99 | ### Auth Command Options |
92 | 100 |
|
93 | | -| Option | Description | Default | Alias | |
94 | | -| --------- | ---------------------- | ------- | ----- | |
95 | | -| --verbose | Enable verbose logging | false | -v | |
| 101 | +| Option | Description | Default | Alias | |
| 102 | +| ------------ | ------------------------- | ------- | ----- | |
| 103 | +| --verbose | Enable verbose logging | false | -v | |
| 104 | +| --show-token | Show GitHub token on auth | false | none | |
96 | 105 |
|
97 | 106 | ## API Endpoints |
98 | 107 |
|
|
0 commit comments