This commit is contained in:
CncAnon 2023-08-28 12:48:51 +03:00
parent cdae157c4b
commit c37706e8c3
2 changed files with 11 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.env
node_modules

9
README.md Normal file
View File

@ -0,0 +1,9 @@
# SG-proxy
1) Create a SourceGraph account
2) Go to https://sourcegraph.com/, click your profile icon in upper-right, then Settings, then go to Account->Access tokens, and generate a new token
3) Create a `.env` and put your token there
4) `npm install`
5) `node main.js`
6) Change completion to Claude in ST, set any API key, then set the proxy URL as `http://localhost:3000/v1` and set any password.
Enjoy.