diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..97aca2e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.env +node_modules \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e1e60c4 --- /dev/null +++ b/README.md @@ -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. \ No newline at end of file