Skip to content

Commit

Permalink
bump version to v0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
0x676e67 committed Nov 11, 2023
1 parent 98360c3 commit a9be93b
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ninja"
version = "0.8.0"
version = "0.8.1"
edition = "2021"
description = "Reverse engineered ChatGPT proxy"
license = "GPL-3.0"
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Sending `GPT-4/GPT-3.5/Creating API-Key` dialog requires sending `Arkose Token`
- Both solutions are used, the priority is: `HAR` > `YesCaptcha` / `CapSolver`
- `YesCaptcha` / `CapSolver` is recommended to be used with HAR. When the verification code is generated, the parser is called for processing. After verification, HAR is more durable.

> Currently OpenAI has updated `Login` which requires verification of `Arkose Token`. The solution is the same as `GPT-4`. Fill in the startup parameters and specify the HAR file `--arkose-auth-har-dir`. If you don't want to upload, you can log in through the browser code, which is not required. To create an API-Key, you need to upload the HAR feature file related to the Platform. The acquisition method is the same as above.
> Currently OpenAI has updated `Login` which requires verification of `Arkose Token`. The solution is the same as `GPT-4`. Fill in the startup parameters and specify the HAR file `--arkose-auth-har-dir`. To create an API-Key, you need to upload the HAR feature file related to the Platform. The acquisition method is the same as above.
> Recently, `OpenAI` has canceled the `Arkose` verification for `GPT-3.5`. It can be used without uploading HAR feature files (uploaded ones will not be affected). After compatibility, `Arkose` verification may be turned on again, and startup parameters need to be added. `--arkose-gpt3-experiment` enables the `GPT-3.5` model `Arkose` verification processing, and the WebUI is not affected.
Expand Down Expand Up @@ -122,8 +122,8 @@ Sending `GPT-4/GPT-3.5/Creating API-Key` dialog requires sending `Arkose Token`
Making [Releases](https://github.com/gngpp/ninja/releases/latest) has a precompiled deb package, binaries, in Ubuntu, for example:

```shell
wget https://github.com/gngpp/ninja/releases/download/v0.8.0/ninja-0.8.0-x86_64-unknown-linux-musl.tar.gz
tar -xf ninja-0.8.0-x86_64-unknown-linux-musl.tar.gz
wget https://github.com/gngpp/ninja/releases/download/v0.8.1/ninja-0.8.1-x86_64-unknown-linux-musl.tar.gz
tar -xf ninja-0.8.1-x86_64-unknown-linux-musl.tar.gz
./ninja run
```

Expand All @@ -132,11 +132,11 @@ tar -xf ninja-0.8.0-x86_64-unknown-linux-musl.tar.gz
There are pre-compiled ipk files in GitHub [Releases](https://github.com/gngpp/ninja/releases/latest), which currently provide versions of aarch64/x86_64 and other architectures. After downloading, use opkg to install, and use nanopi r4s as example:

```shell
wget https://github.com/gngpp/ninja/releases/download/v0.8.0/ninja_0.8.0_aarch64_generic.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.8.0/luci-app-ninja_1.1.6-1_all.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.8.0/luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.8.1/ninja_0.8.1_aarch64_generic.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.8.1/luci-app-ninja_1.1.6-1_all.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.8.1/luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk

opkg install ninja_0.8.0_aarch64_generic.ipk
opkg install ninja_0.8.1_aarch64_generic.ipk
opkg install luci-app-ninja_1.1.6-1_all.ipk
opkg install luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk
```
Expand Down
14 changes: 7 additions & 7 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
- 两种方案都使用,优先级是:`HAR` > `YesCaptcha` / `CapSolver`
- `YesCaptcha` / `CapSolver`推荐搭配HAR使用,出验证码则调用解析器处理,验证后HAR使用更持久

> 目前OpenAI已经更新`登录`需要验证`Arkose Token`,解决方式同`GPT-4`,填写启动参数指定HAR文件`--arkose-auth-har-dir`不想上传,可以通过浏览器打码登录,非必需。创建API-Key需要上传Platform相关的HAR特征文件,获取方式同上。
> 目前OpenAI已经更新`登录`需要验证`Arkose Token`,解决方式同`GPT-4`,填写启动参数指定HAR文件`--arkose-auth-har-dir`。创建API-Key需要上传Platform相关的HAR特征文件,获取方式同上。
> 近日,`OpenAI`取消对`GPT-3.5`进行`Arkose`验证,可以不上传HAR特征文件使用(已上传的不影响),兼容后续可能会再次开启`Arkose`验证,需要加上启动参数`--arkose-gpt3-experiment`进行开启`GPT-3.5`模型`Arkose`验证处理,WebUI不受影响.
Expand Down Expand Up @@ -122,8 +122,8 @@
GitHub [Releases](https://github.com/gngpp/ninja/releases/latest) 中有预编译的 deb包,二进制文件,以Ubuntu为例:

```shell
wget https://github.com/gngpp/ninja/releases/download/v0.8.0/ninja-0.8.0-x86_64-unknown-linux-musl.tar.gz
tar -xf ninja-0.8.0-x86_64-unknown-linux-musl.tar.gz
wget https://github.com/gngpp/ninja/releases/download/v0.8.1/ninja-0.8.1-x86_64-unknown-linux-musl.tar.gz
tar -xf ninja-0.8.1-x86_64-unknown-linux-musl.tar.gz
./ninja run
```

Expand All @@ -132,11 +132,11 @@ tar -xf ninja-0.8.0-x86_64-unknown-linux-musl.tar.gz
GitHub [Releases](https://github.com/gngpp/ninja/releases/latest) 中有预编译的 ipk 文件, 目前提供了 aarch64/x86_64 等架构的版本,下载后使用 opkg 安装,以 nanopi r4s 为例:

```shell
wget https://github.com/gngpp/ninja/releases/download/v0.8.0/ninja_0.8.0_aarch64_generic.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.8.0/luci-app-ninja_1.1.6-1_all.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.8.0/luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.8.1/ninja_0.8.1_aarch64_generic.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.8.1/luci-app-ninja_1.1.6-1_all.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.8.1/luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk

opkg install ninja_0.8.0_aarch64_generic.ipk
opkg install ninja_0.8.1_aarch64_generic.ipk
opkg install luci-app-ninja_1.1.6-1_all.ipk
opkg install luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk
```
Expand Down
2 changes: 1 addition & 1 deletion openai/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "openai"
version = "0.8.0"
version = "0.8.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion openwrt/ninja/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=ninja

PKG_VERSION:=0.8.0
PKG_VERSION:=0.8.1

PKG_LICENSE:=MIT
PKG_MAINTAINER:=gngpp <gngppz@gmail.com>
Expand Down
1 change: 1 addition & 0 deletions serve.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ connect_timeout = 60
tcp_keepalive = 60
pool_idle_timeout = 90
disable_webui = false
arkose_gpt3_experiment = false
arkose_solver = "yescaptcha"
tb_enable = false
tb_store_strategy = "mem"
Expand Down

0 comments on commit a9be93b

Please sign in to comment.