Giter VIP home page Giter VIP logo

aicat's Introduction

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
    // 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"

Buy Me A Coffee

Features

  • Features of ChatGPT Web App
  • Create Chat with prompt
  • Command mode inspired by Telegram
  • Custom request parameters for every conversation
  • CRUD for Chat and Messages
  • Use your own OpenAI API Key
  • Custom API Host
  • Share message as image
  • Export messages as Markdown
  • New session in Conversation when ContextMessages count more than 0
  • iCloud Sync
  • 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 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

  • MacOS

Links

aicat's People

Contributors

panl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.