Skip to content

Commit

Permalink
feat: 提高稳定性
Browse files Browse the repository at this point in the history
  • Loading branch information
weaigc committed Nov 11, 2023
1 parent d49eda4 commit 5829ce7
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 39 deletions.
44 changes: 24 additions & 20 deletions .codesandbox/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,43 @@
"setupTasks": [
{
"name": "Install Dependencies",
"command": "npm install "
},
{
"name": "Build",
"command": "npm run build"
"command": "npm install"
}
],

// These tasks can be run from CodeSandbox. Running one will open a log in the app.
"tasks": {
"dev": {
"name": "dev",
"command": "npm run dev",
"runAtStart": true
"name": "Start Server",
"command": "npm run build && npm start",
"runAtStart": true,
"preview": {
"port": 3000
},
"restartOn": {
"files": ["./package-lock.json"]
}
},
"build": {
"name": "build",
"command": "npm run build"
"name": "Build",
"command": "npm run build",
"runAtStart": false
},
"start": {
"name": "start",
"command": "npm run start"
"name": "Start Server",
"command": "npm run start",
"runAtStart": false
},
"lint": {
"name": "lint",
"command": "npm run lint"
"name": "Lint",
"command": "npm run lint",
"runAtStart": false
},
"npm start": {
"name": "npm start",
"command": "npm start",
"runAtStart": true,
"preview": {
"port": 3000
"install": {
"name": "Install Dependencies",
"command": "npm install",
"restartOn": {
"files": ["./package.json"]
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 此配置全局生效,当用户没有配置用户信息时,此配置会做为默认配置,以下为示例配置,请根据实际情况修改。更多详情请参考 README.md

# 文档地址 https://github.com/weaigc/bingo/blob/main/README.md#%E5%A6%82%E4%BD%95%E8%8E%B7%E5%8F%96-bing_header
BING_HEADER=
#BING_HEADER=
37 changes: 19 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ Bingo,一个让你呼吸顺畅 New Bing。

</div>

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

## 演示站点

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

## 功能和特点

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

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

## 在线部署
### 1. 部署到 Replit(推荐)
#### 部署到 CodeSandbox(推荐)
[![一键部署到 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)

#### 部署到 Render

感谢 [@SokWith](https://github.com/SokWith) 测试,Render 目前已复活。

[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/weaigc/bingo)


### 代理模式
当前面的方式都不能用的时候,可以使用代理模式,然后将域名解析到自己的服务器上,做为折中的办法继续使用。
#### 1. 部署到 Replit(推荐)

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

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

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

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

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


### 部署到 Render

感谢 [@SokWith](https://github.com/SokWith) 测试,Render 目前已复活。

[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/weaigc/bingo)




### 部署其它平台
<details>
<summary>
Expand Down
Binary file modified docs/images/wechat2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5829ce7

Please sign in to comment.