A Flutter real-time chat app based on the chatbot GPT-3.
- Users can input their own messages to interact with the chatbot.
 - Supports copying messages from chat logs to paste into other applications.
 
- 
Clone the repository.
git clone git@github.com:h7ml/chatgpt-flutter.git
 - 
Getting Started
 
- Install dependencies
flutter pub get
 - Copy the 
.env.examplefile, then rename it to.envcp .env.example .env
 - Add your OpenAI API key to the 
.envfile.API_KEY=YOUR_OPENAI_API_KEY
 
- Run the app.
 
- To run the app on an Web Server:
flutter run -d web-server --web-renderer html
 - To run the app on an iOS simulator:
flutter run -d iPhone
 - To run the app on a specific Android emulator:
flutter run -d emulator-5554
 - To run the app on a connected iOS device:
flutter run -d device-name
 - To run the app on the web using the Chrome browser:
flutter run -d chrome
 - To run the app on a macOS desktop:
flutter run -d macos
 - To run the app on a Windows desktop:
flutter run -d windows
 - To run the app on a Linux desktop:
flutter run -d linux
 
You can customize the flutter run command with many options to run the app on different platforms and devices. For more information, check out the Flutter documentation.
- Author: h7ml
 - Email: h7ml@qq.com