|
3 | 3 | ⚠️ **EDUCATIONAL PURPOSE ONLY** ⚠️ |
4 | 4 | This project is a reverse-engineered implementation of the GitHub Copilot API created for educational purposes only. It is not officially supported by GitHub and should not be used in production environments. |
5 | 5 |
|
| 6 | +[](https://ko-fi.com/E1E519XS7W) |
| 7 | + |
6 | 8 | ## Project Overview |
7 | 9 |
|
8 | 10 | A wrapper around GitHub Copilot API to make it OpenAI compatible, making it usable for other tools like AI assistants, local interfaces, and development utilities. |
@@ -56,14 +58,14 @@ npx copilot-api --port 8080 |
56 | 58 |
|
57 | 59 | The following command line options are available: |
58 | 60 |
|
59 | | -| Option | Description | Default | Alias | |
60 | | -| ------------ | --------------------------------------------- | ------- | ----- | |
61 | | -| --port | Port to listen on | 4141 | -p | |
62 | | -| --verbose | Enable verbose logging | false | -v | |
63 | | -| --business | Use a business plan GitHub account | false | none | |
64 | | -| --manual | Enable manual request approval | false | none | |
65 | | -| --rate-limit | Rate limit in seconds between requests | none | -r | |
66 | | -| --wait | Wait instead of error when rate limit is hit | false | -w | |
| 61 | +| Option | Description | Default | Alias | |
| 62 | +| ------------ | -------------------------------------------- | ------- | ----- | |
| 63 | +| --port | Port to listen on | 4141 | -p | |
| 64 | +| --verbose | Enable verbose logging | false | -v | |
| 65 | +| --business | Use a business plan GitHub account | false | none | |
| 66 | +| --manual | Enable manual request approval | false | none | |
| 67 | +| --rate-limit | Rate limit in seconds between requests | none | -r | |
| 68 | +| --wait | Wait instead of error when rate limit is hit | false | -w | |
67 | 69 |
|
68 | 70 | Example usage: |
69 | 71 |
|
@@ -123,6 +125,6 @@ This helps you control usage and monitor requests in real-time. |
123 | 125 |
|
124 | 126 | - [ ] Manual authentication flow |
125 | 127 | - [x] Manual request approval system |
126 | | -- [ ] Rate limiting implementation |
| 128 | +- [x] Rate limiting implementation |
127 | 129 | - [x] Token counting |
128 | 130 | - [x] Enhanced error handling and recovery |
0 commit comments