swiftchat
swiftchat copied to clipboard
An open source native ChatGPT app for iOS built in SwiftUI.
SwiftChat
An open source native ChatGPT app for iOS.
Quick Start
- Clone the project from GitHub:
git clone https://github.com/zahidkhawaja/swiftchat.git
- Navigate into the project directory:
cd swiftchat
- Copy
secrets.plist.example
tosecrets.plist
:
cp secrets.plist.example secrets.plist
-
Enter your OpenAI API key and organization ID in your
secrets.plist
file. -
Open the project in Xcode:
open SwiftChat.xcodeproj
Make sure you have Xcode installed on your Mac. If you run into issues, verify the keys OPENAI_API_KEY
and OPENAI_ORG_ID
in secrets.plist
and set the iOS deployment target to the latest version.
🧠 OpenAI Docs
- OpenAI API from the creators of GPT-4.