mirror of
https://gitee.com/chuangxxt/share-copilot
synced 2025-04-16 09:03:25 +00:00
mod readme
This commit is contained in:
parent
7f81713d48
commit
89c05e98df
28
README-EN.md
28
README-EN.md
@ -1,17 +1,24 @@
|
|||||||
The beta version now supports full interface proxy, S
|
The beta version now supports full interface proxy,
|
||||||
|
|
||||||
o even code suggestions go through the proxy,
|
So even code suggestions go through the proxy,
|
||||||
|
|
||||||
Still in testing.
|
Still in testing.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||

|

|
||||||
***
|
***
|
||||||
# share-copilot
|
# share-copilot
|
||||||
|
|
||||||
- Acts as a proxy server, forwarding requests to the Copilot plugin's API
|
- Acts as a proxy server, forwarding requests to the Copilot plugin's API
|
||||||
|
|
||||||
- Supports both vscode and Jetbrains plugins
|
- Supports both vscode and Jetbrains plugins
|
||||||
|
|
||||||
- Supports multiple users sharing a single token
|
- Supports multiple users sharing a single token
|
||||||
- Optimize request logic to reduce suspended probability
|
|
||||||
|
- Optimize request logic to reduce suspended probability、
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -23,6 +30,7 @@ Requires Go environment;
|
|||||||
resolve any issues chatgpt.
|
resolve any issues chatgpt.
|
||||||
```
|
```
|
||||||
```sh
|
```sh
|
||||||
|
git clone
|
||||||
wget https://dl.google.com/go/go1.21.1.linux-amd64.tar.gz
|
wget https://dl.google.com/go/go1.21.1.linux-amd64.tar.gz
|
||||||
tar -C /usr/local -xzf go1.21.1.linux-amd64.tar.gz
|
tar -C /usr/local -xzf go1.21.1.linux-amd64.tar.gz
|
||||||
|
|
||||||
@ -46,17 +54,29 @@ go build
|
|||||||
### 1.Installation
|
### 1.Installation
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone https://gitlab.com/luyoyu/share-copilot.git
|
wget https://gitee.com/chuangxxt/share-copilot/releases/download/1.0.2/share-copilot-linux-amd64.zip
|
||||||
```
|
```
|
||||||
|
```sh
|
||||||
|
unzip share-copilot-linux-amd64.zip
|
||||||
|
```
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd share-copilot
|
cd share-copilot
|
||||||
```
|
```
|
||||||
|
```sh
|
||||||
|
chmod +x share-copilot
|
||||||
|
```
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
bash install.sh
|
bash install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### 2.Configuration
|
### 2.Configuration
|
||||||
|
|
||||||
|
```sh
|
||||||
|
vim config.json
|
||||||
|
```
|
||||||
|
|
||||||
##### 2.1 Explanation of config.json
|
##### 2.1 Explanation of config.json
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
23
README.md
23
README.md
@ -1,4 +1,4 @@
|
|||||||
[中文](README.md) [English](README-EN.md)
|
[中文](README.md) / [English](README-EN.md)
|
||||||
|
|
||||||
------
|
------
|
||||||
|
|
||||||
@ -14,6 +14,7 @@
|
|||||||
- 支持vscode插件和jetbrains插件
|
- 支持vscode插件和jetbrains插件
|
||||||
- 支持多用户共享一个token
|
- 支持多用户共享一个token
|
||||||
- 优化请求逻辑,降低suspended概率(别万人骑基本不会)
|
- 优化请求逻辑,降低suspended概率(别万人骑基本不会)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
***
|
***
|
||||||
@ -48,17 +49,27 @@ go build
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
wget https://gitee.com/chuangxxt/share-copilot/releases/download/1.0.2/share-copilot-linux-amd64.zip
|
wget https://gitee.com/chuangxxt/share-copilot/releases/download/1.0.2/share-copilot-linux-amd64.zip
|
||||||
|
```
|
||||||
|
```sh
|
||||||
unzip share-copilot-linux-amd64.zip
|
unzip share-copilot-linux-amd64.zip
|
||||||
```
|
```
|
||||||
```sh
|
```sh
|
||||||
cd share-copilot
|
cd share-copilot
|
||||||
```
|
```
|
||||||
|
```sh
|
||||||
|
chmod +x share-copilot
|
||||||
|
```
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
bash install.sh
|
bash install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### 2.配置
|
### 2.配置
|
||||||
|
|
||||||
|
```sh
|
||||||
|
vim config.json #修改配置信息
|
||||||
|
```
|
||||||
|
|
||||||
##### 2.1 config.json文件说明
|
##### 2.1 config.json文件说明
|
||||||
|
|
||||||
```js
|
```js
|
||||||
@ -106,11 +117,11 @@ verification//自定义验证
|
|||||||
|
|
||||||
### 3.启动
|
### 3.启动
|
||||||
|
|
||||||
```
|
```sh
|
||||||
scop r --运行 [Esc退出]
|
scop r #运行 [Esc退出]
|
||||||
scop rb --后台运行
|
scop rb #后台运行
|
||||||
scop st --停止
|
scop st #停止
|
||||||
scop v --查看状态
|
scop v #查看是否运行
|
||||||
```
|
```
|
||||||
|
|
||||||
### 4.完整例子:
|
### 4.完整例子:
|
||||||
|
Loading…
Reference in New Issue
Block a user