bootstrap project
This commit is contained in:
commit
03c1b9d105
7 changed files with 401 additions and 0 deletions
22
README.md
Normal file
22
README.md
Normal 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
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue