{"id":13616738,"url":"https://github.com/alfianlosari/ChatGPTSwiftUI","last_synced_at":"2025-04-14T03:31:22.497Z","repository":{"id":65813531,"uuid":"596638705","full_name":"alfianlosari/ChatGPTSwiftUI","owner":"alfianlosari","description":"A ChatGPT native iOS, macOS, watchOS, tvOS SwiftUI Application","archived":false,"fork":false,"pushed_at":"2024-04-10T08:06:55.000Z","size":87,"stargazers_count":663,"open_issues_count":12,"forks_count":98,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-04T12:58:21.491Z","etag":null,"topics":["appletv","applewatch","chatgpt","ios","macos","macos-app","palm2","palmapi","swift","swiftui","tvos","tvos-app","watchos"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alfianlosari.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-02T16:11:45.000Z","updated_at":"2025-04-03T00:02:39.000Z","dependencies_parsed_at":"2024-01-15T10:57:40.287Z","dependency_job_id":"891cd013-b6c2-490b-a3b0-975f0488462e","html_url":"https://github.com/alfianlosari/ChatGPTSwiftUI","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfianlosari%2FChatGPTSwiftUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfianlosari%2FChatGPTSwiftUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfianlosari%2FChatGPTSwiftUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfianlosari%2FChatGPTSwiftUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alfianlosari","download_url":"https://codeload.github.com/alfianlosari/ChatGPTSwiftUI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248815527,"owners_count":21165941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appletv","applewatch","chatgpt","ios","macos","macos-app","palm2","palmapi","swift","swiftui","tvos","tvos-app","watchos"],"created_at":"2024-08-01T20:01:32.658Z","updated_at":"2025-04-14T03:31:21.499Z","avatar_url":"https://github.com/alfianlosari.png","language":"Swift","funding_links":[],"categories":["HarmonyOS","SDK, Libraries, Frameworks"],"sub_categories":["Windows Manager","Swift"],"readme":"# PaLMChat \u0026 ChatGPT SwiftUI iOS, macOS, watchOS, tvOS App\n\n![Alt text](https://imagizer.imageshack.com/v2/640x480q70/924/4Qgrta.jpg \"image\")\n\nThis is a native iOS, macOS, watchOS, tvOS App for interacting with PaLM API \u0026 ChatGPT LLM Chatbots built using SwiftUI, OpenAPI Official ChatGPT API, \u0026 Google Generative AI SDK SPM.\n\nIt is also able to render response with markdown and code syntax highlighting.\n\n## Video tutorial\n- [iOS YouTube](https://youtu.be/PLEgTCT20zU)\n- [macOS YouTube](https://youtu.be/Wl1cDvwpJoE)\n- [watchOS YouTube](https://youtu.be/DwXy0gKz1GY)\n- [tvOS YouTube](https://youtu.be/7RQHG7GXJ_U)\n- [Upgrade to Official API YouTube](https://youtu.be/9byLhs5hQjI)\n\n## Requirements\n- Xcode 14 \n- Register at openai.com/api\n- Create API Key from either OpenAI or PaLM API MakerSuite\n\n## ChatGPTSwift API Lib\nYou can use this standalone api client to access ChatGPT API, you can add dependency for [ChatGPTSwift](https://github.com/alfianlosari/ChatGPTSwift) to access the API only if you want to integrate into your own app.\n\n## GPT Encoder Lib\nI've also created [GPTEncoder](https://github.com/alfianlosari/GPTEncoder) Swift BPE Encoder/Decoder for OpenAI GPT Models. A programmatic interface for tokenizing text for OpenAI GPT API.\n\n## GPT Tokenizer UI Lib\nI've also created [GPTTokenizerUI](https://github.com/alfianlosari/GPTTokenizerUI), a SPM lib you can integrate in your app for providing GUI to input text and show the tokenization results used by GPT API.\n\n![Alt text](https://imagizer.imageshack.com/v2/640x480q70/922/CEVvrE.png \"image\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfianlosari%2FChatGPTSwiftUI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falfianlosari%2FChatGPTSwiftUI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfianlosari%2FChatGPTSwiftUI/lists"}