bootstrap project

This commit is contained in:
Matthew Ryan Dillon 2025-05-03 16:15:49 -04:00
commit 03c1b9d105
7 changed files with 401 additions and 0 deletions

22
README.md Normal file
View file

@ -0,0 +1,22 @@
# github copilot proxy server
a proxy server for github copilot, handling token management and request forwarding
## requirements
- go 1.20 or later
- a valid github pat set in the `GITHUB_AUTH_TOKEN` environment variable
## usage
```bash
go build -o copilot-proxy
GITHUB_AUTH_TOKEN=... ./copilot-proxy
```
## launchctl
```bash
cp st.thermokar.copilot-proxy.plist ~/Library/LaunchAgents/st.thermokar.copilot-proxy.plist
# edit as necessary
# log out and then back in
launchctl list | rg st.thermokar.copilot-proxy
```