explaingit

chanzhaoyu/chatgpt-web

Analysis updated 2026-06-20

31,680VueAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

A self-hostable ChatGPT-style chat interface you deploy on your own server using your OpenAI API key, giving you full control over the UI, access, and data.

Mindmap

mindmap
  root((chatgpt-web))
    What it does
      Self-hosted chat interface
      Connects to OpenAI API
      Access control built in
    Tech Stack
      Vue 3 frontend
      Express Node.js backend
      Docker deployment
    Use Cases
      Private team chat UI
      Controlled API access
      Custom ChatGPT interface
    Audience
      Developers
      Small teams
      Self-hosters
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Host a private ChatGPT interface on your own server so your team can use it without sharing login credentials.

USE CASE 2

Add password-based access control so only authorized users can access your deployed chat instance.

USE CASE 3

Deploy a ChatGPT UI with conversation history, syntax-highlighted code, and dark mode for internal use at your company.

USE CASE 4

Run a self-hosted ChatGPT interface with Docker in under 30 minutes using your own OpenAI API key.

What is it built with?

VueNode.jsExpresspnpmDocker

How does it compare?

chanzhaoyu/chatgpt-webvbenjs/vue-vben-adminqier222/yesplaymusic
Stars31,68032,28232,787
LanguageVueVueVue
Setup difficultymoderatemoderatemoderate
Complexity3/53/53/5
Audiencedevelopervibe codervibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a paid OpenAI API key, Docker deployment is straightforward but the unofficial web-token method is unstable and exposes your session to a third-party proxy.

MIT, use freely for any purpose including commercial, modify and redistribute with minimal restrictions.

In plain English

ChatGPT Web is an open-source project that lets you self-host a ChatGPT-style chat interface on your own server, connecting to OpenAI's API using your own API key. The description is in Chinese and the README explains it is intended purely as an open-source learning project, free to use, with no commercial offering attached. The project supports two ways of connecting to ChatGPT. The first uses an official OpenAI API key with the GPT-3.5-turbo model, which is reliable but costs money per request. The second uses a web access token obtained from the ChatGPT website, which bypasses the paid API through an unofficial reverse proxy, though this approach is less stable and exposes your session token to a third-party server. The application has a Vue 3 frontend that provides a familiar chat interface with conversation history, code formatting with syntax highlighting, light and dark themes, multiple language support, and the ability to export conversations as images. The backend is an Express server written in Node.js that handles the communication with OpenAI and manages configuration. It supports proxy settings, rate limiting, and optional password-based access control to restrict who can use the deployed instance. You would use this when you want a self-hosted, customizable ChatGPT interface that you control, rather than relying on OpenAI's own website. It can be deployed with Docker or manually and works on any server that can run Node.js. The tech stack is Vue 3 for the frontend and Express with Node.js for the backend. Package management uses pnpm. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
I'm deploying chanzhaoyu/chatgpt-web with Docker. Show me the docker-compose.yml that sets my OpenAI API key, enables password protection, and maps port 3002.
Prompt 2
Using chanzhaoyu/chatgpt-web, how do I configure a proxy so the app routes OpenAI API calls through my own proxy server?
Prompt 3
I want to add a new UI language to chanzhaoyu/chatgpt-web. Where are the i18n translation files and what format do they use?
Prompt 4
How do I set a rate limit in chanzhaoyu/chatgpt-web so each user can only send 20 messages per hour?
Prompt 5
I'm customizing chanzhaoyu/chatgpt-web's Vue 3 frontend to add a sidebar showing saved conversations. Which components should I modify?

Frequently asked questions

What is chatgpt-web?

A self-hostable ChatGPT-style chat interface you deploy on your own server using your OpenAI API key, giving you full control over the UI, access, and data.

What language is chatgpt-web written in?

Mainly Vue. The stack also includes Vue, Node.js, Express.

What license does chatgpt-web use?

MIT, use freely for any purpose including commercial, modify and redistribute with minimal restrictions.

How hard is chatgpt-web to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is chatgpt-web for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub chanzhaoyu on gitmyhub

Verify against the repo before relying on details.