Overview
ChatGPTDemo-Wrapper is a local Flask server that serves as a reverse-proxy for the site https://chat.chatgptdemo.net. The primary purpose of this project is for educational use, providing a demonstration of how to interact with the ChatGPT API. The server supports proxy configurations and allows for seamless integration into other applications.
Features
- Reverse Proxy: Hosts a local server that acts as a reverse-proxy for the ChatGPT API.
- Educational Purpose: Designed for educational purposes to showcase API interactions and proxy support.
- Proxy Support: Offers the option to use proxies for enhanced privacy and security.
Getting Started
Prerequisites
Python (3.9 or higher, 3.10 tested)
Install dependencies using pip install -r requirements.txt
Configuration
Modify the assets/config.json
file to configure proxy usage:
{ "use_proxies": false }
Running the Server
Execute the following command to start the server:
python app.py
The server will be accessible at http://localhost:5000.