From 94e890c976e6da92d4b6aa90ba8bbd9e0236a01f Mon Sep 17 00:00:00 2001 From: luyoyu <8829470+chuangxxt@user.noreply.gitee.com> Date: Wed, 20 Sep 2023 19:28:33 +0000 Subject: [PATCH 1/6] update README.md. Signed-off-by: luyoyu <8829470+chuangxxt@user.noreply.gitee.com> --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8190563..c2ec811 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ **[中文](README.md) | [English](README-EN.md)** -[代码提示 代理说明](readme/codeTipsProxy.md) +新增代理代码提示接口:[代码提示代理说明](readme/codeTipsProxy.md) # share-copilot @@ -85,7 +85,7 @@ go build ### 1.安装 ```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 unzip share-copilot-linux-amd64.zip From 684e35ce4d8a732b7e58d6848af1622bc0f7bc7b Mon Sep 17 00:00:00 2001 From: luyoyu <8829470+chuangxxt@user.noreply.gitee.com> Date: Wed, 20 Sep 2023 19:30:02 +0000 Subject: [PATCH 2/6] update README.md. Signed-off-by: luyoyu <8829470+chuangxxt@user.noreply.gitee.com> --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c2ec811..60750b6 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,9 @@ verification//自定义验证 "yours_token_2", "yours_token_3" ]}, - "verification":"" + "verification":"", + "diyMsg":"", + "isModMsg":false } ``` @@ -177,7 +179,9 @@ scop v #查看是否运行 "ghu_GZgKFwraHorAxXXUvsUclOhxiYERPsSJeNuF", "ghu_SPUTCLvkMKoeMstPJmhSlYsYvCojhkFjGubl" ]}, - "verification":"i_am_free" + "verification":"i_am_free", + "diyMsg":"", + "isModMsg":false } ``` From 98f631c6afefd812238873c13cecc3393c25a9e2 Mon Sep 17 00:00:00 2001 From: luyoyu <8829470+chuangxxt@user.noreply.gitee.com> Date: Wed, 20 Sep 2023 19:30:53 +0000 Subject: [PATCH 3/6] update readme/codeTipsProxy.md. Signed-off-by: luyoyu <8829470+chuangxxt@user.noreply.gitee.com> --- readme/codeTipsProxy.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/readme/codeTipsProxy.md b/readme/codeTipsProxy.md index 10ecc79..92b92c2 100644 --- a/readme/codeTipsProxy.md +++ b/readme/codeTipsProxy.md @@ -14,11 +14,11 @@ ```js "https://copilot-proxy.githubusercontent.com" -替换为"http://127.0.0.1" (你的url) +替换为"https://127.0.0.1" (你的url) 这个是代码提示接口 --------------------------------------------------------------- "https://copilot-telemetry.githubusercontent.com/telemetry" -替换为"http://127.0.0.1/telemetry" (你的url/telemetry) +替换为"https://127.0.0.1/telemetry" (你的url/telemetry) 这个应该是copilot把你代码上传拿去深度学习的,直接改成null好像也不影响使用 ``` @@ -45,8 +45,12 @@ set "GITHUB_SERVER_URL=https://github.com" 全部接口代理后是走一个ip了,虽然不知道有没有意义 -如果你是贩子,甚至可以搞点有意思的东西 +不过可以搞点有意思的东西 +```json +"diyMsg":"//授权已经过期,重新获取-> https://gitee.com/chuangxxt/share-copilot", +"isModMsg":false +``` ![输入图片说明](ceshi.gif) From c60e42395a294ccb59d2c8f127a9066426c05730 Mon Sep 17 00:00:00 2001 From: luyoyu <8829470+chuangxxt@user.noreply.gitee.com> Date: Wed, 20 Sep 2023 19:31:48 +0000 Subject: [PATCH 4/6] update README.md. Signed-off-by: luyoyu <8829470+chuangxxt@user.noreply.gitee.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 60750b6..3ed9908 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ **[中文](README.md) | [English](README-EN.md)** -新增代理代码提示接口:[代码提示代理说明](readme/codeTipsProxy.md) +更新代码提示接口代理:[代码提示代理说明](readme/codeTipsProxy.md) # share-copilot From 870cba8e7d545abfdd726d77468d5b93d087eeb8 Mon Sep 17 00:00:00 2001 From: luyoyu <8829470+chuangxxt@user.noreply.gitee.com> Date: Wed, 20 Sep 2023 19:32:44 +0000 Subject: [PATCH 5/6] update readme/codeTipsProxy.md. Signed-off-by: luyoyu <8829470+chuangxxt@user.noreply.gitee.com> --- readme/codeTipsProxy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme/codeTipsProxy.md b/readme/codeTipsProxy.md index 92b92c2..96a4729 100644 --- a/readme/codeTipsProxy.md +++ b/readme/codeTipsProxy.md @@ -45,7 +45,7 @@ set "GITHUB_SERVER_URL=https://github.com" 全部接口代理后是走一个ip了,虽然不知道有没有意义 -不过可以搞点有意思的东西 +不过可以搞点有意思的东西,修改一下配置文件 ```json "diyMsg":"//授权已经过期,重新获取-> https://gitee.com/chuangxxt/share-copilot", From 5bf787a4edff8c631afb7c376e89ee0e8eca0210 Mon Sep 17 00:00:00 2001 From: luyoyu <8829470+chuangxxt@user.noreply.gitee.com> Date: Wed, 20 Sep 2023 19:33:03 +0000 Subject: [PATCH 6/6] update readme/codeTipsProxy.md. Signed-off-by: luyoyu <8829470+chuangxxt@user.noreply.gitee.com> --- readme/codeTipsProxy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme/codeTipsProxy.md b/readme/codeTipsProxy.md index 96a4729..91a7fc2 100644 --- a/readme/codeTipsProxy.md +++ b/readme/codeTipsProxy.md @@ -49,7 +49,7 @@ set "GITHUB_SERVER_URL=https://github.com" ```json "diyMsg":"//授权已经过期,重新获取-> https://gitee.com/chuangxxt/share-copilot", -"isModMsg":false +"isModMsg":true ``` ![输入图片说明](ceshi.gif)