mirror of
https://gitee.com/chuangxxt/share-copilot
synced 2025-04-16 04:33: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.
|
||||
|
||||
|
||||
|
||||

|
||||
***
|
||||
# share-copilot
|
||||
|
||||
- Acts as a proxy server, forwarding requests to the Copilot plugin's API
|
||||
|
||||
- Supports both vscode and Jetbrains plugins
|
||||
|
||||
- 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.
|
||||
```
|
||||
```sh
|
||||
git clone
|
||||
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
|
||||
|
||||
@ -46,17 +54,29 @@ go build
|
||||
### 1.Installation
|
||||
|
||||
```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
|
||||
cd share-copilot
|
||||
```
|
||||
```sh
|
||||
chmod +x share-copilot
|
||||
```
|
||||
|
||||
```sh
|
||||
bash install.sh
|
||||
```
|
||||
|
||||
### 2.Configuration
|
||||
|
||||
```sh
|
||||
vim config.json
|
||||
```
|
||||
|
||||
##### 2.1 Explanation of config.json
|
||||
|
||||
```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插件
|
||||
- 支持多用户共享一个token
|
||||
- 优化请求逻辑,降低suspended概率(别万人骑基本不会)
|
||||
|
||||

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