ChatGPT-Plus: A Comprehensive Introduction
Overview
ChatGPT-Plus is an application that harnesses the power of the official ChatGPT API by OpenAI. It serves as a convenient web-based client to utilize the advanced capabilities of ChatGPT, enabling seamless interaction with AI through a user-friendly interface.
Features
- Complete Client: ChatGPT-Plus offers a full-featured client for easy access to ChatGPT functionalities.
- Responsive Design: Built using Nextjs and Nestjs, the application features a responsive design supporting both desktop and mobile access.
- Multi-Theme Support: Users can switch between day and night modes, enhancing usability under different lighting conditions.
- Internationalization: Currently available in Chinese and English, with plans for more languages.
- Custom Prompts: Users can input their own custom prompts and explore recommended options online.
- CSS-in-JS: Utilizes CSS-in-JS for theme customization, allowing a personalized experience.
- Deployment Options: Supports deployment using Docker and Vercel for ease of use.
Operation Modes
ChatGPT-Plus offers two methods for integration, allowing choices based on cost and performance needs:
- ChatGPTAPI: Uses the official OpenAI chat completion API with the
gpt-3.5-turbo-0301
model, providing robust and high-quality interactions. This method requires an API key and incurs cost, but offers full customization capabilities. - ChatGPTUnofficialProxyAPI: Accesses ChatGPT through an unofficial proxy server, which is free and uses the real ChatGPT model but is dependent on third-party servers and has rate limitations.
Development and Deployment
ChatGPT-Plus supports online development through platforms like Gitpod which facilitate setting up development environments with minimal effort.
Getting Started
- Clone the Project: Use
git clone https://github.com/zhpd/chatgpt-plus.git
to clone the repository. - Environment Setup: Requires Node.js (version 14+). Ensure you have the necessary API keys from OpenAI.
- Frontend and Backend: Configure environment variables in
.env
files for both frontend and backend settings. - Run the Application: Use
npm install
andnpm run dev
to install dependencies and start the application.
Packaging and Deployment
- Docker & Vercel: Deployment through Docker provides a containerized environment, while Vercel supports quick, serverless deployments.
- Manual Packaging: Detailed instructions are provided for manually building and deploying both frontend and backend components.
Additional Information
- API Key & Access Token: The project requires OpenAI's API key and access token for full functionality. Detailed instructions are available on how to obtain and configure these.
- Reverse Proxy Options: A list of community-maintained reverse proxies is provided for those opting for the
ChatGPTUnofficialProxyAPI
method.
Community and Contributions
The project is open-source and welcomes contributions from the community. This collaborative approach has been instrumental in expanding its features and usability.
Acknowledgments
The development of ChatGPT-Plus is inspired and supported by various contributions from the open-source community. A special thanks to OpenAI for creating ChatGPT and to the projects that inspired the initial build.
Support and Sponsorship
ChatGPT-Plus is free to use and benefits greatly from user support and sponsorship. Users can contribute by sharing and starring the project, which helps in its ongoing development and improvement.
License
ChatGPT-Plus is licensed under the MIT License, promoting the free and open use of this software within the community.