swiftchat icon indicating copy to clipboard operation
swiftchat copied to clipboard

An open source native ChatGPT app for iOS built in SwiftUI.

SwiftChat SwiftChat

An open source native ChatGPT app for iOS.

Quick Start

  1. Clone the project from GitHub:
git clone https://github.com/zahidkhawaja/swiftchat.git
  1. Navigate into the project directory:
cd swiftchat
  1. Copy secrets.plist.example to secrets.plist:
cp secrets.plist.example secrets.plist
  1. Enter your OpenAI API key and organization ID in your secrets.plist file.

  2. 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

Follow Zahid for updates 🚀