Skip to content

Commit 5829ce7

Browse files
committed
feat: 提高稳定性
1 parent d49eda4 commit 5829ce7

File tree

4 files changed

+44
-39
lines changed

4 files changed

+44
-39
lines changed

.codesandbox/tasks.json

+24-20
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,43 @@
33
"setupTasks": [
44
{
55
"name": "Install Dependencies",
6-
"command": "npm install "
7-
},
8-
{
9-
"name": "Build",
10-
"command": "npm run build"
6+
"command": "npm install"
117
}
128
],
139

1410
// These tasks can be run from CodeSandbox. Running one will open a log in the app.
1511
"tasks": {
1612
"dev": {
17-
"name": "dev",
18-
"command": "npm run dev",
19-
"runAtStart": true
13+
"name": "Start Server",
14+
"command": "npm run build && npm start",
15+
"runAtStart": true,
16+
"preview": {
17+
"port": 3000
18+
},
19+
"restartOn": {
20+
"files": ["./package-lock.json"]
21+
}
2022
},
2123
"build": {
22-
"name": "build",
23-
"command": "npm run build"
24+
"name": "Build",
25+
"command": "npm run build",
26+
"runAtStart": false
2427
},
2528
"start": {
26-
"name": "start",
27-
"command": "npm run start"
29+
"name": "Start Server",
30+
"command": "npm run start",
31+
"runAtStart": false
2832
},
2933
"lint": {
30-
"name": "lint",
31-
"command": "npm run lint"
34+
"name": "Lint",
35+
"command": "npm run lint",
36+
"runAtStart": false
3237
},
33-
"npm start": {
34-
"name": "npm start",
35-
"command": "npm start",
36-
"runAtStart": true,
37-
"preview": {
38-
"port": 3000
38+
"install": {
39+
"name": "Install Dependencies",
40+
"command": "npm install",
41+
"restartOn": {
42+
"files": ["./package.json"]
3943
}
4044
}
4145
}

.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# 此配置全局生效,当用户没有配置用户信息时,此配置会做为默认配置,以下为示例配置,请根据实际情况修改。更多详情请参考 README.md
22

33
# 文档地址 https://github.com/weaigc/bingo/blob/main/README.md#%E5%A6%82%E4%BD%95%E8%8E%B7%E5%8F%96-bing_header
4-
BING_HEADER=
4+
#BING_HEADER=

README.md

+19-18
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ Bingo,一个让你呼吸顺畅 New Bing。
1414

1515
</div>
1616

17-
## 重要说明
18-
为了应对日益严格的封锁,现已研发 Bingo 2.0,目前稳定性已经得到验证,详见:https://github.com/weaigc/bingo/tree/v2 。如你自己有没有被封锁的 vps,则可以继续使用 Bingo 1.0。
19-
2017
## 演示站点
2118

2219
站点1(V2):https://bing.github1s.tk
@@ -30,13 +27,15 @@ Bingo,一个让你呼吸顺畅 New Bing。
3027

3128
## 功能和特点
3229

33-
- 完全基于 Next.js 重写,高度还原 New Bing Web 版 UI,使用体验和 Bing AI 基本一致。
34-
- 支持 Docker 构建,方便快捷地部署和访问。
35-
- Cookie 可全局配置,全局共享。
30+
- 支持无限次数对话
31+
- 支持任意地方访问
32+
- 支持 Docker 构建,方便快捷地部署和访问
33+
- Cookie 可全局配置,全局共享
3634
- 支持持续语音对话
3735
- 支持免账号使用
3836
- 完全免费
3937
- 支持 OpenAI 方式调用 [使用文档](./OPENAI.md)
38+
- 支持独立部署
4039

4140
## RoadMap
4241
- [x] 支持 wss 转发
@@ -56,11 +55,23 @@ Bingo,一个让你呼吸顺畅 New Bing。
5655
- [ ] 国际化翻译
5756

5857
## 在线部署
59-
### 1. 部署到 Replit(推荐)
58+
#### 部署到 CodeSandbox(推荐)
59+
[![一键部署到 CodeSandbox](https://img.shields.io/badge/%E4%B8%80%E9%94%AE%E9%83%A8%E7%BD%B2-CodeSandBox-blue)](https://codesandbox.io/p/github/weaigc/bingo?import=true)
60+
61+
#### 部署到 Render
62+
63+
感谢 [@SokWith](https://github.com/SokWith) 测试,Render 目前已复活。
64+
65+
[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/weaigc/bingo)
66+
67+
68+
### 代理模式
69+
当前面的方式都不能用的时候,可以使用代理模式,然后将域名解析到自己的服务器上,做为折中的办法继续使用。
70+
#### 1. 部署到 Replit(推荐)
6071

6172
[点击部署Replit](https://replit.com/@weaigc/bingo?v=1)
6273

63-
### 2. 部署到 CloudFlare (需要有自己的域名才可以)
74+
#### 2. 部署到 CloudFlare (需要有自己的域名才可以)
6475

6576
- [注册 Cloudflare 账号](https://dash.cloudflare.com/sign-up)
6677

@@ -72,16 +83,6 @@ Bingo,一个让你呼吸顺畅 New Bing。
7283

7384
- 触发器 中自定义访问域名。
7485

75-
76-
### 部署到 Render
77-
78-
感谢 [@SokWith](https://github.com/SokWith) 测试,Render 目前已复活。
79-
80-
[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/weaigc/bingo)
81-
82-
83-
84-
8586
### 部署其它平台
8687
<details>
8788
<summary>

docs/images/wechat2.jpg

-10 KB
Loading

0 commit comments

Comments
 (0)