Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Panl/AICat
Multiplatform Client for ChatGPT using SwiftUI, support iOS, iPadOS & MacOS
https://github.com/Panl/AICat
assistant-chat-bots chat chatbot chatgpt chatgpt-app gpt-3-5-turbo gpt-4 ios macos swift swiftui
Last synced: about 2 months ago
JSON representation
Multiplatform Client for ChatGPT using SwiftUI, support iOS, iPadOS & MacOS
- Host: GitHub
- URL: https://github.com/Panl/AICat
- Owner: Panl
- Created: 2023-03-19T16:11:03.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-09T03:45:54.000Z (11 months ago)
- Last Synced: 2024-11-05T08:50:17.986Z (about 2 months ago)
- Topics: assistant-chat-bots, chat, chatbot, chatgpt, chatgpt-app, gpt-3-5-turbo, gpt-4, ios, macos, swift, swiftui
- Language: Swift
- Homepage: https://github.com/Panl/AICat/releases/
- Size: 30.1 MB
- Stars: 251
- Watchers: 8
- Forks: 47
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AICat - Apple Platform Client for ChatGPT
> This project demonstrates how to develop a cross-platform Apple app from scratch using SwiftUI, including network requests, database storage, and in-app purchases. The project was written in a relatively short amount of time, so if you have any questions or suggestions for improvement, please feel free to provide feedback.
### Build
- Xcode 14.3 (Not verified on other version)
- Create Credential.Swift
```Swift
// for App Crash Tracking
let appCenterSecretKey = "{Your AppCenter App Secret}"
// for in app purchase
let appHudKey = "{Your AppHud App Key}"
// open ai
let openAIKey = "{Your OpenAI API Key}"
let proxyAPIHost = "https://api.openai.com"
let monthlyPremiumId = "monthly premium subscription product id"
let catFoodId = "consumable in-app purchase product id"
```
- [AppCenter](https://appcenter.ms/)
- [AppHud](https://apphud.com/)- [x] [Features of ChatGPT Web App](https://chat.openai.com/chat)
- [x] Create Chat with prompt
- [x] Command mode inspired by Telegram
- [x] Custom request parameters for every conversation
- [x] CRUD for Chat and Messages
- [x] Use your own OpenAI API Key
- [x] Custom API Host
- [x] Share message as image
- [x] Export messages as Markdown
- [x] New session in Conversation when ContextMessages count more than 0
- [x] iCloud Sync
- [x] Copy code block> the command mode depends on chats with prompt, creating more prompts is important
### Requirements
- iOS, iPadOS 15 and later version
- macOS 13 and later version### How to use
- For people who have OpenAI account, you can input [OpenAI API Key](https://platform.openai.com/account/api-keys) to access all features(called developer mode)
- For people who do not have OpenAI API key, subscribe monthly premium to access all features
- Long press version number text for more than 5s in bottom of Settings page to switch developer mode### Screenshots
- **iOS**
![](Screenshots/iOS_post.png)- **MacOS**
![](Screenshots/mac_post.png)
### Links
- Join [TestFlight](https://testflight.apple.com/join/ow799Vvb)
- Join [AICat News](https://t.me/aicatevents)
- [App Store](https://apps.apple.com/us/app/aicat-ultimate-ai-assistant/id6446479308)