What’s NextChat
One-Click to get a well-designed cross-platform ChatGPT web UI, with GPT3, GPT4 & Gemini Pro support.
NextChat is an innovative chat application built on the OpenAI GPT model, designed primarily to provide users with conversational AI capabilities in a seamless and user-friendly manner. Utilizing advanced machine learning algorithms, NextChat aims to foster natural interactions, allowing users to engage in informative and entertaining conversations on a variety of topics. The application is highly customizable, enabling developers to tailor it to specific use cases, from customer support to personal assistance and everything in between. The features are as follows:
- Deploy for free with one-click on Vercel in under 1 minute
- Compact client (~5MB) on Linux/Windows/MacOS, download it now
- Fully compatible with self-deployed LLMs, recommended for use with RWKV-Runner or LocalAI
- Privacy first, all data is stored locally in the browser
- Markdown support: LaTex, mermaid, code highlight, etc.
- Responsive design, dark mode and PWA
- Fast first screen loading speed (~100kb), support streaming response
- New in v2: create, share and debug your chat tools with prompt templates (mask)
- Awesome prompts powered by awesome-chatgpt-prompts-zh and awesome-chatgpt-prompts
- Automatically compresses chat history to support long conversations while also saving your tokens
Update the System
sudo apt update
sudo apt upgrade
Install environment
- NextChat requires a Node.js environment:
sudo apt install nodejs npm
- Check the installation:
node -v
npm -v
Clone the Project
- Choose an appropriate directory, clone the project, and navigate into it:
cd /var/www
git clone https://github.com/Yidadaa/ChatGPT-Next-Web.git
cd ChatGPT-Next-Web
Install Dependencies
- Install all necessary libraries and modules listed in the
package.json
file:
npm install
Configure Environment Variables
- Create a
.env
file to store your configuration information. You can create it by copying the template.env.template
file and editing its contents:
cp .env.template .env
- Edit the
.env
file to configure your environment variables:
nano .env
Refer to the official documentation for variable configuration.
Run the Application
- In the project directory, run the following command (development mode):
npm run dev
- Visit
http://<YOUR_SERVER_IP>:3000
to check if the application is running.
123