{"id":18890394,"url":"https://github.com/workingdog/googleai","last_synced_at":"2026-02-25T15:30:15.399Z","repository":{"id":244180992,"uuid":"777028266","full_name":"workingDog/GoogleAI","owner":"workingDog","description":"SwiftUI Google Gemini REST API demo App","archived":false,"fork":false,"pushed_at":"2024-10-31T05:31:48.000Z","size":4538,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-12-31T06:13:09.276Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/workingDog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.txt","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":"2024-03-25T03:36:04.000Z","updated_at":"2024-10-31T05:31:51.000Z","dependencies_parsed_at":"2024-06-13T09:41:45.518Z","dependency_job_id":"8cc012bc-61c0-4748-8370-fc85fc2e82b4","html_url":"https://github.com/workingDog/GoogleAI","commit_stats":null,"previous_names":["workingdog/googleai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workingDog%2FGoogleAI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workingDog%2FGoogleAI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workingDog%2FGoogleAI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workingDog%2FGoogleAI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workingDog","download_url":"https://codeload.github.com/workingDog/GoogleAI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239861688,"owners_count":19709266,"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":[],"created_at":"2024-11-08T07:55:25.496Z","updated_at":"2026-02-25T15:30:15.334Z","avatar_url":"https://github.com/workingDog.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftUI Google Gemini AI demo App\n\nA chat-like SwiftUI Google Gemini REST API demo App, includes text and image input.\n\nUsing, the **Google AI SDK for Swift** Client Library in Swift [Google AI SDK for Swift](https://github.com/google/generative-ai-swift).\n\n\n\u003cp float=\"left\"\u003e\n  \u003cimg src=\"Images/s2.png\" width=\"333\"  height=\"444\" /\u003e\n    \u003cimg src=\"Images/s1.png\" width=\"333\"  height=\"444\" /\u003e\n\u003c/p\u003e\n\n\n### Usage\n\n-   **Pick** the conversation mode first, `Chat`, `Image` or `Camera`, \nthen type a question **before** you tap on the main button.\n\n    - `Chat` for chat like interaction,\n    - `Image` for selecting one or more images from the Photos library,\n    - `Camera` to take one picture using the camera.\n    \n-   **Tap** on a question or answer text, to **copy** the text to the `Pasteboard` and enable you to paste it elsewhere or `share` it. Similarly, tap on the picture to copy just the image.\n  \n-   **Swipe left** on a question/answer, to deleted it.\n  \n-   **Tap** on the `trash can`, to delete **all** questions and answers. \n\n-   **Tap** on the `share`, to share the previously tapped text or picture. \n\n\n#### Settings\n\nPress the **gear shape** icon to:\n\n-   enter the **required** api key,\n-   select the model parameters,\n-   select the UI colors,\n-   select the UI language\n\nNote, the [Google AI key](https://ai.google.dev/) is stored securely on the device keychain.\n\n  \n### References and dependencies\n\n-    [Google AI SDK for Swift](https://github.com/google/generative-ai-swift)\n-    [MarkdownUI](https://github.com/gonzalezreal/swift-markdown-ui)\n\n### Requirement\n\n**Requires** a valid API key, see:\n\n-    [Google AI for developers](https://ai.google.dev/)\n-    [REST API](https://ai.google.dev/tutorials/rest_quickstart)\n\nCopy and paste the key into the **Settings** (\"gear shape\") and save it in the `Enter key` area.\n\n### License\n\nThe MIT License (MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkingdog%2Fgoogleai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkingdog%2Fgoogleai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkingdog%2Fgoogleai/lists"}