gitmyhub

go-proxy-bingai

HTML ★ 8.5k updated 2y ago

用 Vue3 和 Go 搭建的微软 New Bing 演示站点,拥有一致的 UI 体验,支持 ChatGPT 提示词,国内可用。

A self-hosted web app that mirrors Microsoft's Bing AI chat interface so you can access it from regions where the official site is blocked, with Docker, Railway, Vercel, and Render deployment options.

GoVue3HTMLDockerCloudflare Workerssetup: moderatecomplexity 3/5

Go-proxy-bingai is a self-hosted web application that creates a mirror of Microsoft's New Bing AI chat interface. It was built primarily to make that AI accessible from mainland China, where the official Bing AI site is not reliably reachable. The app is written in Go for the backend and Vue3 for the frontend, and it replicates the same look and feel as the official Bing chat UI.

Visitors can start chatting without logging in. Logging in with a Microsoft account unlocks extra features such as image generation, which requires selecting the more creative conversation mode. The app also supports importing prompt libraries from the open-source ChatGPT prompt community, so you can feed it pre-written instruction sets for specific tasks.

Behind the scenes, the app routes chat traffic through a configurable server. By default it uses a Cloudflare Workers relay, which has a daily request limit, so the README recommends deploying your own relay using the included worker script. If you are running the app inside China, you can point it at a SOCKS proxy so outbound requests bypass local network restrictions.

Deployment options are covered in detail for Docker, Railway, Vercel, and Render. Docker is the most straightforward: one command pulls the image and starts a container on port 8080. Vercel is noted as not supporting WebSocket connections, so it requires using a specific server option. Environment variables let you set the port, configure the SOCKS proxy, pre-load account cookies, and add a simple password to restrict who can access your instance.

The README is written in Chinese with English sections for setup and configuration. The project appears to have been actively developed while Bing AI access restrictions were a common concern, covering features like chat history, message export to Markdown or PDF, and a sidebar view compatible with the Edge browser.

Where it fits