mirror of
https://gitlab.com/TECHNOFAB/go-copilot-proxy.git
synced 2025-12-11 22:10:06 +01:00
20 lines
440 B
Markdown
20 lines
440 B
Markdown
|
|
# Go Copilot Proxy
|
||
|
|
|
||
|
|
A simple, single binary proxy for GitHub Copilot.
|
||
|
|
|
||
|
|
Based on [copilot-openai-api](https://github.com/yuchanns/copilot-openai-api)
|
||
|
|
and [openai-github-copilot](https://gitea.com/PublicAffairs/openai-github-copilot).
|
||
|
|
|
||
|
|
## Usage
|
||
|
|
|
||
|
|
Run the proxy server:
|
||
|
|
|
||
|
|
```sh
|
||
|
|
go-copilot-proxy auth # to log in with oauth
|
||
|
|
go-copilot-proxy serve
|
||
|
|
```
|
||
|
|
|
||
|
|
Use `http://localhost:8080` as the OpenAI endpoint.
|
||
|
|
|
||
|
|
Run `go-copilot-proxy --help` for more.
|