ChatGPT-Web
Introduction to ChatGPT-Web
ChatGPT-Web is an easy-to-use online chat platform implemented using the official ChatGPT API. It has been adjusted from its original form to provide a simple HTML-based interface for real-time online conversations. This project, available at this link, focuses on providing a minimalistic chat experience by employing the OpenAI ChatGPT API. For users interested in a free version of ChatGPT, they can access chatgpt-html.
Features
The ChatGPT-Web project is designed with simplicity in mind, particularly aimed at beginners. It may not boast an extensive range of features, but it covers essential capabilities like continuous dialogue, isolation of multiple user sessions, and markdown format output. These core features ensure that users can engage in seamless and structured conversations online.
Deployment
Acquiring the OpenAI API KEY
Before setting up ChatGPT-Web, it is recommended to obtain an OpenAI API Key through official channels at https://platform.openai.com/account/api-keys.
Configuration
The project offers two main configuration methods:
-
Configuring from Source: Detailed instructions are available in the original author's GitHub repository.
-
Using Docker Compose: This approach involves:
-
Creating a
.env
configuration file and adding the following line:OPENAI_API_KEY="Your OpenAI API KEY"
-
Creating a
docker-compose.yml
file with the following content:services: chatgpt: image: sheepgreen/chatgpt-web container_name: webchat volumes: - ./.env:/chatgpt-web/.env # Default UI is built-in; to use a custom UI, uncomment the line below: # - ./chat.html:/chatgpt-web/templates/chat.html ports: - "8888:8088" # Change the external port as needed restart: always
-
Executing the command
docker-compose up -d
to start the chat service.
-
Important Notes
- The chat service can be accessed at
http://ip:port/chat
. - If there are any changes made to the
chat.html
file, it is necessary to restart the Docker container usingdocker restart webchat
for the modifications to take effect.
Related Projects
ChatGPT-Web is part of a broader ecosystem of projects aimed at integrating AI chat capabilities across different platforms. Some of these include:
- ChatGPT Telegram Bot
- ChatGPT WeChat Enterprise Bot
- ChatGPT QQ Channel Bot (Docker Version)
- Microsoft Bing Telegram Bot (Docker Version)
- Google BARD Web Version
- Google BARD Telegram Bot
These projects offer diverse implementations and integrations of AI, showcasing different features and experimental interfaces. For instance, there is a testing platform inspired by danny-avila available at this site which allows users to switch models and test different AI versions including BingAI
(GPT-4) and Sydney
(a version of BingAI without typical conversation limits).