Skip to content

Commit

Permalink
feat: ⚡ 同步官网最新、新增图像创建功能、优化移动端提示词库展示
Browse files Browse the repository at this point in the history
  • Loading branch information
adams549659584 committed May 22, 2023
1 parent b79de9c commit 842e02b
Show file tree
Hide file tree
Showing 27 changed files with 1,985 additions and 1,427 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

⭐ 支持现有开源提示词库

⭐ 需要画图等高级功能时,可登录微软账号设置用户 Cookie 进行体验
⭐ 需要画图等高级功能时(需选更有创造力模式或右上角设置中的图像创建),可登录微软账号设置用户 Cookie 进行体验

⭐ 遇到一切问题,先点左下角 ![新主题](./docs/img/bing-clear.png) 试试,不行使用刷新大法(Shift + F5 或 Ctrl + Shift + R 或 右上角设置中的一键重置),最终大招就 清理浏览器缓存 及 Cookie ,比如(24 小时限制、未登录提示等等)

Expand Down Expand Up @@ -100,7 +100,7 @@ Go_Proxy_BingAI_SOCKS_URL=192.168.0.88:1070
# Socks 账号、密码 可选
Go_Proxy_BingAI_SOCKS_USER=xxx
Go_Proxy_BingAI_SOCKS_PWD=xxx
# 默认用户 Cookie 设置,可选,固定前缀 Go_Proxy_BingAI_USER_TOKEN 可设置多个,未登录用户将随机使用
# 默认用户 Cookie 设置,可选,不推荐使用,固定前缀 Go_Proxy_BingAI_USER_TOKEN 可设置多个,未登录用户将随机使用,多人共用将很快触发图形验证,并很快达到该账号的24小时限制
Go_Proxy_BingAI_USER_TOKEN_1=xxx
Go_Proxy_BingAI_USER_TOKEN_2=xxx
Go_Proxy_BingAI_USER_TOKEN_3=xxx ...
Expand Down Expand Up @@ -130,7 +130,7 @@ docker run -e Go_Proxy_BingAI_SOCKS_URL=192.168.0.88:1070 -e Go_Proxy_BingAI_SOC

- docker compose 示例

```bash
```yaml
version: '3'

services:
Expand All @@ -147,6 +147,8 @@ services:
# - Go_Proxy_BingAI_SOCKS_URL=192.168.0.88:1070
# - Go_Proxy_BingAI_SOCKS_USER=xxx
# - Go_Proxy_BingAI_SOCKS_PWD=xxx
# - Go_Proxy_BingAI_USER_TOKEN_1=xxx
# - Go_Proxy_BingAI_USER_TOKEN_2=xxx
```

### Release
Expand Down
1 change: 1 addition & 0 deletions common/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ func NewSingleHostReverseProxy(target *url.URL) *httputil.ReverseProxy {
if strings.HasPrefix(location, delLocationDomain) {
res.Header.Set("Location", location[len(delLocationDomain):])
log.Println("Del Location Domain :", location)
log.Println("RandIP : ", randIP)
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ services:
# - Go_Proxy_BingAI_SOCKS_URL=192.168.0.88:1070
# - Go_Proxy_BingAI_SOCKS_USER=xxx
# - Go_Proxy_BingAI_SOCKS_PWD=xxx
# - Go_Proxy_BingAI_USER_TOKEN_1=xxx
# - Go_Proxy_BingAI_USER_TOKEN_2=xxx

# go-proxy-bingai:
# # 镜像名称
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "go-proxy-bingai",
"version": "1.6.8",
"version": "1.7.0",
"private": true,
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion frontend/public/js/bing/chat/amd.js

Large diffs are not rendered by default.

Loading

1 comment on commit 842e02b

@vercel
Copy link

@vercel vercel bot commented on 842e02b May 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.