go-proxy-bingai/README.md

109 lines
2.7 KiB
Markdown
Raw Normal View History

2023-05-03 11:30:10 +08:00
# go-proxy-bing
2023-05-05 10:52:04 +08:00
一个用 GO 写的微软 Bing AI 的代理服务。 使用微软原始页面简单定制,基本兼容微软 Bing AI 所有功能,无需登录即可畅聊。
2023-05-03 11:30:10 +08:00
2023-05-05 10:52:04 +08:00
⭐ 国内可用
2023-05-03 14:22:00 +08:00
2023-05-05 10:52:04 +08:00
⭐ 无需登录即可畅聊
⭐ 需要画图等高级功能时,可登录已加入 New Bing 候补名单的账号进行体验
2023-05-03 14:22:00 +08:00
- [go-proxy-bing](#go-proxy-bing)
- [演示站点](#演示站点)
2023-05-04 11:57:53 +08:00
- [获取Cookie](#获取Cookie)
- [部署](#部署)
- [Docker](#Docker)
- [Release](#Release)
- [Railway](#Railway)
- [Vercel](#Vercel)
2023-05-04 11:57:53 +08:00
2023-05-05 10:52:04 +08:00
- 电脑端未登录状态
2023-05-03 11:30:10 +08:00
2023-05-05 10:52:04 +08:00
![电脑未登录](./docs/img/bing-nologin.png)
2023-05-03 11:30:10 +08:00
2023-05-05 10:52:04 +08:00
- 电脑端登录
2023-05-03 11:30:10 +08:00
2023-05-05 10:52:04 +08:00
![电脑端登录](./docs/img/bing-login.png)
2023-05-03 11:30:10 +08:00
2023-05-05 10:52:04 +08:00
- 电脑端画图
2023-05-03 11:30:10 +08:00
2023-05-05 10:52:04 +08:00
![电脑端画图](./docs/img/bing-draw.png)
2023-05-03 11:30:10 +08:00
- 手机端未登录状态
2023-05-05 10:52:04 +08:00
![手机端未登录](./docs/img/bing-m-nologin.png)
2023-05-03 11:30:10 +08:00
## 演示站点
2023-05-03 11:30:10 +08:00
### 甲骨文小鸡仔,轻虐
2023-05-03 11:30:10 +08:00
- https://bing.vcanbb.top
2023-05-04 12:00:19 +08:00
### Railway搭建
- https://bing-railway.vcanbb.top
- https://go-proxy-bingai-production.up.railway.app
2023-05-04 12:00:19 +08:00
### Vercel搭建
- https://bing-vercel.vcanbb.top
- https://go-proxy-bingai-vercel.vercel.app
## 获取Cookie
2023-05-03 11:30:10 +08:00
- 访问 https://www.bing.com/ 或 https://cn.bing.com/ ,登录
- F12 或 Ctrl + Shift + I 打开控制台
- 拿到 Cookie 后在网站设置用户Cookie弹窗填入即可。
![获取Cookie](./docs/img/5.png)
2023-05-04 11:29:40 +08:00
## 部署
2023-05-03 11:30:10 +08:00
2023-05-03 12:00:46 +08:00
> 需 https 域名 (自行配置 nginx 等)
2023-05-03 11:30:10 +08:00
2023-05-03 12:00:46 +08:00
> 支持 Linux (amd64 / arm64)
2023-05-04 11:57:53 +08:00
### Docker
2023-05-04 11:29:40 +08:00
> 参考 [Dockerfile](./docker/Dockerfile) 、[docker-compose.yml](./docker/docker-compose.yml)
2023-05-03 12:00:46 +08:00
示例
```bash
# 运行容器 监听8080 端口
docker run -d -p 8080:8080 --name go-proxy-bingai --restart=unless-stopped adams549659584/go-proxy-bingai
```
2023-05-04 11:29:40 +08:00
### Release
2023-05-03 12:00:46 +08:00
在 [Github Releases](https://github.com/adams549659584/go-proxy-bingai/releases) 下载适用于对应平台的压缩包,解压后可得到可执行文件 go-proxy-bingai直接运行即可。
2023-05-04 11:29:40 +08:00
### Railway
> 主要配置 Dockerfile 路径 及 端口就可以
```bash
PORT=8080
RAILWAY_DOCKERFILE_PATH=docker/Dockerfile
```
2023-05-04 11:29:40 +08:00
一键部署,点这里 => [![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/uIckWS?referralCode=BBs747)
![Railway 模板部署](./docs/img/railway-1.png)
自行使用 Railway 部署配置如下
![Railway 环境变量](./docs/img/railway-2.png)
2023-05-04 11:29:40 +08:00
![Railway 域名](./docs/img/railway-3.png)
### Vercel
一键部署,点这里 => [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/adams549659584/go-proxy-bingai&project-name=go-proxy-bingai&repository-name=go-proxy-bingai-vercel)
![Vercel 一键部署](./docs/img/vercel-1.png)
![Vercel 域名](./docs/img/vercel-2.png)