mirror of
https://gitee.com/chuangxxt/share-copilot
synced 2025-04-16 09:03:25 +00:00
Merge branch 'master' of https://gitee.com/chuangxxt/share-copilot
This commit is contained in:
commit
b34c43db39
12
README.md
12
README.md
@ -1,7 +1,7 @@
|
|||||||
**[中文](README.md) | [English](README-EN.md)**
|
**[中文](README.md) | [English](README-EN.md)**
|
||||||
|
|
||||||
|
|
||||||
[代码提示 代理说明](readme/codeTipsProxy.md)
|
更新代码提示接口代理:[代码提示代理说明](readme/codeTipsProxy.md)
|
||||||
|
|
||||||
# share-copilot
|
# share-copilot
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ go build
|
|||||||
### 1.安装
|
### 1.安装
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
wget https://gitee.com/chuangxxt/share-copilot/releases/download/v1.0.4/share-copilot-linux-amd64.zip
|
wget https://gitee.com/chuangxxt/share-copilot/releases/download/v2.0.4/share-copilot-linux-amd64.zip
|
||||||
```
|
```
|
||||||
```sh
|
```sh
|
||||||
unzip share-copilot-linux-amd64.zip
|
unzip share-copilot-linux-amd64.zip
|
||||||
@ -142,7 +142,9 @@ verification//自定义验证
|
|||||||
"yours_token_2",
|
"yours_token_2",
|
||||||
"yours_token_3"
|
"yours_token_3"
|
||||||
]},
|
]},
|
||||||
"verification":""
|
"verification":"",
|
||||||
|
"diyMsg":"",
|
||||||
|
"isModMsg":false
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -177,7 +179,9 @@ scop v #查看是否运行
|
|||||||
"ghu_GZgKFwraHorAxXXUvsUclOhxiYERPsSJeNuF",
|
"ghu_GZgKFwraHorAxXXUvsUclOhxiYERPsSJeNuF",
|
||||||
"ghu_SPUTCLvkMKoeMstPJmhSlYsYvCojhkFjGubl"
|
"ghu_SPUTCLvkMKoeMstPJmhSlYsYvCojhkFjGubl"
|
||||||
]},
|
]},
|
||||||
"verification":"i_am_free"
|
"verification":"i_am_free",
|
||||||
|
"diyMsg":"",
|
||||||
|
"isModMsg":false
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -14,11 +14,11 @@
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
"https://copilot-proxy.githubusercontent.com"
|
"https://copilot-proxy.githubusercontent.com"
|
||||||
替换为"http://127.0.0.1" (你的url)
|
替换为"https://127.0.0.1" (你的url)
|
||||||
这个是代码提示接口
|
这个是代码提示接口
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
"https://copilot-telemetry.githubusercontent.com/telemetry"
|
"https://copilot-telemetry.githubusercontent.com/telemetry"
|
||||||
替换为"http://127.0.0.1/telemetry" (你的url/telemetry)
|
替换为"https://127.0.0.1/telemetry" (你的url/telemetry)
|
||||||
这个应该是copilot把你代码上传拿去深度学习的,直接改成null好像也不影响使用
|
这个应该是copilot把你代码上传拿去深度学习的,直接改成null好像也不影响使用
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -45,8 +45,12 @@ set "GITHUB_SERVER_URL=https://github.com"
|
|||||||
|
|
||||||
全部接口代理后是走一个ip了,虽然不知道有没有意义
|
全部接口代理后是走一个ip了,虽然不知道有没有意义
|
||||||
|
|
||||||
如果你是贩子,甚至可以搞点有意思的东西
|
不过可以搞点有意思的东西,修改一下配置文件
|
||||||
|
|
||||||
|
```json
|
||||||
|
"diyMsg":"//授权已经过期,重新获取-> https://gitee.com/chuangxxt/share-copilot",
|
||||||
|
"isModMsg":true
|
||||||
|
```
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user