screenshot of

一套基于React + Vite + Express的ChatGPT新ui聊天界面,支持gpt4


The document provides an update on the developments of a project, mentioning the work done on the PLUS version and plans to incorporate its features into the open-source version. It highlights the ability to deploy using environment variables, the availability of different AI models, the ease of connecting to personal APIs, and the support provided by the project's built-in server for local development or online hosting purposes.


  • Environment Variables Deployment: Deploy using environment variables.
  • AI Models Support: Choose between different AI models like gpt-3.5-turbo and gpt4.
  • Personal API Integration: Connect to personal APIs or API standards.
  • Built-in Server: Project includes a server for local development and debugging.
  • Model Customization: Modify models like gpt4 with available API keys.


  1. Use node 18.x.0 or higher.
  2. If using nvm, run nvm use before proceeding.
  3. Run npm run dev:env to set up the environment.
  4. For local server usage, generate a .env.development file in the /api directory with the correct API KEY.


The document provides insights regarding the project's progress, including the PLUS version development, plans for integrating features into the open-source version, and suggestions for future improvements. Users are guided on deploying the project using environment variables, selecting AI models, connecting to personal APIs, and setting up the project's local server. The document also outlines features such as historical conversations, markdown rendering, math formula support, and dark mode. Additionally, it lists upcoming functionalities like GitHub actions, custom API keys, prompt store, and more, encouraging user feedback and contributions.


React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components


Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects


Less CSS is a dynamic stylesheet language that extends the capabilities of CSS, allowing developers to write cleaner, more modular, and reusable stylesheets with features like variables, mixins, and nested rules.


Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.


ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.


PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.


TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.