Skip to content
/ bingo Public
forked from weaigc/bingo

Bingo,一个让你呼吸顺畅 New Bing。

License

Notifications You must be signed in to change notification settings

v1lio/bingo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bingo

Bingo,一个让你呼吸顺畅 New Bing。

高度还原 New Bing 网页版的主要操作,国内可用,兼容绝大多数微软 Bing AI 的功能,可自行部署使用。

Github stars Gthub issues docker build docker hub MIT License

演示站点

站点1(V2):https://bing.github1s.tk

站点2(V1): https://copilot.github1s.tk

站点3(代理):https://bingo.weaigc.repl.co(此模式不再推荐使用)

img

功能和特点

  • 支持无限次数对话
  • 支持任意地方访问
  • 支持 Docker 构建,方便快捷地部署和访问
  • Cookie 可全局配置,全局共享
  • 支持持续语音对话
  • 支持免账号使用
  • 完全免费
  • 支持 OpenAI 方式调用 使用文档
  • 支持独立部署

RoadMap

  • 支持 wss 转发
  • 支持一键部署
  • 优化移动端展示
  • 支持画图
  • 支持语音输入(支持语音指令,目前仅支持 PC 版 Edge 及 Chrome 浏览器)
  • 支持语音输出(需要手动开启)
  • 支持识图(gpt4模式及预设人格模式不支持)
  • 支持自定义域名
  • 支持离线访问
  • 适配深色模式
  • 支持历史记录
  • 支持内置提示词
  • 支持 Workers 部署
  • 支持 OpenAI API
  • 支持 GPT4 模式
  • 国际化翻译

在线部署

部署到 CodeSandbox(推荐)

点击 一键部署到 CodeSandbox,点击右上角 “Fork”,然后一路点 “Next” 即可(没有注册账号的注册完账号后重试即可)。

部署到 Render

感谢 @SokWith 测试,Render 目前已复活。 为了防止封号,一键部署不再提供,请前往 https://render.com 手动部署。

代理模式(不推荐)

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

1. 部署到 Replit(推荐)

点击部署Replit

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

  • 注册 Cloudflare 账号

  • 添加一个新的网站,需要你有自己的域名并且将域名Name Server托管给 Cloudflare 才行(更多信息可自行 Google)

  • 通过左侧菜单进入「Workers」,并点击「Create a Worker」。

  • 创建 Worker 服务,复制 worker.js 全部代码粘贴至创建的服务中,保存并部署。

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

部署其它平台

以下为已经被封杀的部署方式

V2 版本已解决此问题,详见: https://github.com/weaigc/bingo/tree/v2

部署到 HuggingFace

  1. 点击此图标 Deploy to HuggingFace,配置可以不改。

  2. 部署署完成后,点击“设置” 》“站点域名”,点一下,复制一下 HF 域名信息,然后分享给别人即可。

部署到 Netlify

Deploy to Netlify Button

部署到 Vercel

如果你是 Vercel 付费用户,可以点以下链接一键部署到 Vercel。免费版本有接口超时限制,不推荐使用

Deploy with Vercel

环境和依赖

  • Node.js >= 18
  • New Bing 的用户信息)
  • 一台没有被微软封禁的 vps(需要自行测试)

安装和使用

本地部署需要你本机或服务器 IP 是国外 IP,且没有被微软封禁 ,否则无法正常使用 New Bing。

  • 使用 Node 启动
git clone https://github.com/weaigc/bingo.git
npm i
cd bingo
npm run build
npm run start
  • 使用 Docker 启动
docker pull weaigc/bingo
docker run --rm -it -p 7860:7860 weaigc/bingo
# 如果不能正常使用,可以尝试设置环境变量 BING_HEADER
docker run --rm -it -e BING_HEADER=xxxx -p 7860:7860 weaigc/bingo
# 如果还是不行,可以尝试 proxy 模式

如何获取 BING_HEADER

配置了 BING_HEADER 意味着你将自己的账号共享给所有使用此服务的人,如果不需要免登录画图的功能,不建议设置此变量

打开 https://www.bing.com 并登录,然后访问 https://www.bing.com/turing/captcha/challenge ,通过人机校验(如果显示无效域,则跳过校验不管),然后

BING HEADER

复制出来的内容应该如下所示。确认格式无误后,打开 https://bing.github1s.tk/#dialog=%22settings%22 ,粘贴进去,点击“转成 BING_HEADER 并复制”,然后从剪切板粘贴即可得到。(你也可以先在网页上进行验证)

以下是格式参考,需要注意的是,网页端保存的格式是以curl开头, 而服务端配置的 BING_HEADERbase64 格式,两者不能互通。

正常格式/网页端保存的格式(格式仅供参考)
curl 'https://www.bing.com/turing/captcha/challenge' \
  -H 'authority: www.bing.com' \
  -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
  -H 'accept-language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6' \
  -H 'cache-control: max-age=0' \
  -H 'cookie: MicrosoftApplicationsTelemetryDeviceId=3399c004-fd0e-48ec-bb92-d82a27b2bbd4; _EDGE_V=1; SRCHD=AF=NOFORM; SRCHUID=V=2&GUID=29EBDDA4E6674329ACCF1A0A423C3E98&dmnchg=1; _UR=QS=0&TQS=0; _HPVN=CS=eyJQbiI6eyJDbiI6MSwiU3QiOjAsIlFzIjowLCJQcm9kIjoiUCJ9LCJTYyI6eyJDbiI6MSwiU3QiOjAsIlFzIjowLCJQcm9kIjoiSCJ9LCJReiI6eyJDbiI6MSwiU3QiOjAsIlFzIjowLCJQcm9kIjoiVCJ9LCJBcCI6dHJ1ZSwiTXV0ZSI6dHJ1ZSwiTGFkIjoiMjAyMy0wNy0yNVQwMDowMDowMFoiLCJJb3RkIjowLCJHd2IiOjAsIkRmdCI6bnVsbCwiTXZzIjowLCJGbHQiOjAsIkltcCI6Mn0=; _RwBf=ilt=1&ihpd=1&ispd=0&rc=0&rb=0&gb=0&rg=200&pc=0&mtu=0&rbb=0&g=0&cid=&clo=0&v=1&l=2023-07-25T07:00:00.0000000Z&lft=0001-01-01T00:00:00.0000000&aof=0&o=2&p=&c=&t=0&s=0001-01-01T00:00:00.0000000+00:00&ts=2023-07-25T11:00:31.7111548+00:00&rwred=0&wls=&lka=0&lkt=0&TH=&dci=0; ANON=A=0043C6590EA808ED6E395059FFFFFFFF&E=1c8b&W=1; NAP=V=1.9&E=1c31&C=DnaMSbDN_4efZ_xXqBF3Daorjr53kYqYoa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DiN1gdHlVtSN55xpvf+c+XZDzR0uhgcvgy0LAbmzgk6y4WbYH+LQsMpzNNj+aC72vMiWovWrKh9jY4MYCmdgxsS/skPtLdp18muiEIRXTbZQGUmhxFpJAIbBIsCscMpzL0BgeujxUwM5wr79Sd9r4xwbgSMwmBlBfUHRVBdNyg8feepeJbCS63nD6eHOuLqMRsPIio3w/ki/EAa92UUEiZeavLsMUD/y/qAvWUdzdP5Y+C/TM+CMGS/kGL4LEdY/28MQeTvU1qv1X21kQt2aiaj3pPVL36hAzxbcLgqcMo9oymDRy87kdCXW/+g4oKLtMh6fm/G6W6Y/B01JlxohyyvueHQIG557uzkEkTJ3FnOVODSKBKpb3WZ65rExfV71zSZa25F3GmpaIG6HiYrX2YYhQAkIE9pKEQBHbnwHuwNDGottZTXZw=; WLS=C=9df3f9d8518fae19&N=wen; WLID=pGY8HgWCu4p5XYCOk2oa0+DBdftkMUfmNIn8XtSjSTKsgv/Il7GUlYs0Jpjf/E12jZMgV7x44Dy3fXOgjjUoJx7Y/ClLrLhsk20THksJJoI=; _EDGE_S=F=1&SID=17CF6EE006426448213C7DB907436588&mkt=zh-CN; MUID=225621093D8A6C27301632413C0E6D08; MUIDB=225621093D8A6C27301632413C0E6D08; SUID=A; SNRHOP=I=&TS=; _U=nGyzKQruEsDwLiu65fZFIG6e12hf2lwTJmroW__k8joUJIKmG3OIjayXKGW9dCVR3sNhF76mEVxyW6yjUGPodOfjtSa3s3J_DxMOrEK1BqXCOBI9bC66spAIASV7prsYFlVAJz73jVNENp_tBubLHJy6EbT0BKRe4AjrYkH-9uMnmCKB8Zmyg; _SS=SID=17CF6EE006426448213C7DB907436588&R=0&RB=0&GB=0&RG=200&RP=0&PC=U531; SRCHS=PC=U531; USRLOC=HS=1&ELOC=LAT=22.501529693603516|LON=113.9263687133789|N=%E5%8D%97%E5%B1%B1%E5%8C%BA%EF%BC%8C%E5%B9%BF%E4%B8%9C%E7%9C%81|ELT=2|&CLOC=LAT=22.50153029046461|LON=113.92637070632928|A=733.4464586120832|TS=230726151034|SRC=W; SRCHUSR=DOB=20230725&T=1690384908000&POEX=W; ipv6=hit=1690388509974&t=6; SRCHHPGUSR=HV=1690384945&SRCHLANG=zh-Hans&PV=15.0.0&BRW=MW&BRH=MT&CW=410&CH=794&SCW=410&SCH=794&DPR=1.5&UTC=480&DM=0&WTS=63825879627&PRVCW=410&PRVCH=794&PR=1.5; cct=AjWIBYOoVP-Afq6gWwtx80If6yHn6iBuEVHA1XHdAKpny6Y_CVyi_MSyM94VyMWnjdYkkccVtm3czoIAtXUGQA; GC=AjWIBYOoVP-Afq6gWwtx80If6yHn6iBuEVHA1XHdAKpR3Y_D9Ytcks4Ht6XhadXk75dvhzP4YOUS0UmoEyqyxw' \
  -H 'dnt: 1' \
  -H 'sec-ch-ua: "Chromium";v="116", "Not)A;Brand";v="24", "Microsoft Edge";v="116"' \
  -H 'sec-ch-ua-arch: "x86"' \
  -H 'sec-ch-ua-bitness: "64"' \
  -H 'sec-ch-ua-full-version: "116.0.1938.29"' \
  -H 'sec-ch-ua-full-version-list: "Chromium";v="116.0.5845.42", "Not)A;Brand";v="24.0.0.0", "Microsoft Edge";v="116.0.1938.29"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-model: ""' \
  -H 'sec-ch-ua-platform: "Windows"' \
  -H 'sec-ch-ua-platform-version: "15.0.0"' \
  -H 'sec-fetch-dest: document' \
  -H 'sec-fetch-mode: navigate' \
  -H 'sec-fetch-site: none' \
  -H 'sec-fetch-user: ?1' \
  -H 'sec-ms-gec: B3F47AD4A283CAB374C0451C46AAFD147C6A4DACAFF6A1C13F34B2C72B024494' \
  -H 'sec-ms-gec-version: 1-116.0.1938.29' \
  -H 'upgrade-insecure-requests: 1' \
  -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.0.0' \
  -H 'x-client-data: eyIxIjoiMiI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BING_COOKIE 意味着你将自己的账号共享给所有使用此服务的人,如果不需要免登录画图的功能,不建议设置此变量

打开 https://www.bing.com 并登录,然后访问 https://www.bing.com/turing/captcha/challenge ,通过人机校验(如果显示无效域,意味着需要自行准备梯子),然后

BING_COOKIE

复制出来的内容应该如下所示。确认格式无误后,打开 https://bing.github1s.tk/#dialog=%22settings%22 ,粘贴进去,点击“转成 BING_COOKIE 并复制”,然后从剪切板粘贴即可得到。(你也可以先在网页上进行验证)

鸣谢

  • 感谢 EdgeGPT 提供的代理 API 的方法。
  • 感谢 Vercel AI 提供的基础脚手架和 ChatHub go-proxy-bingai 提供的部分代码。
  • 感谢 Happy-clo, SokWith, player868 等及群里的小伙伴的大力协助(名单不全,如有遗漏,欢迎指出)

答疑及交流

Telegram 由此进

Star History

Star History Chart

License

MIT © LICENSE.

About

Bingo,一个让你呼吸顺畅 New Bing。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 69.2%
  • SCSS 27.0%
  • JavaScript 2.4%
  • Other 1.4%