Next.js app for private ChatGPT deployment, WeChat style
Top 45.8% on sourcepulse
This project provides a WeChat-style ChatGPT interface built with Next.js, targeting users who need a private, self-hostable solution for interacting with AI models. It offers a familiar chat bubble UI, supports various deployment options, and allows for API key aliasing for secure sharing.
How It Works
The application leverages Next.js for a performant, server-rendered user experience. It communicates with OpenAI's API, allowing users to configure their own API keys. A key feature is the OPENAI_API_KEY_ALIAS
environment variable, which enables users to create shareable links with specific API keys, abstracting the actual key from the end-user.
Quick Start & Requirements
npx chatgpt-next
or docker run --name chatgpt-next -d -p 3000:3000 -e OPENAI_API_KEY_ALIAS xcatliu/chatgpt-next:latest
pnpm i
.Highlighted Details
?api-key=firstkey
).Maintenance & Community
The project is maintained by xcatliu. Community contributions for additional deployment mirrors are welcomed.
Licensing & Compatibility
Limitations & Caveats
Directly accessing OpenAI APIs from mainland China may lead to account suspension; the project notes that development environments skip API requests by default, requiring manual uncommenting of code for testing. The project's primary domain may be subject to blocking.
7 months ago
1 day