{"id":21668461,"url":"https://github.com/hrsshopnil/ai-chatbot","last_synced_at":"2026-04-27T18:05:07.337Z","repository":{"id":263478057,"uuid":"889877713","full_name":"hrsshopnil/Ai-Chatbot","owner":"hrsshopnil","description":"A SwiftUI-based AI chat application leveraging the Gemini API to deliver dynamic, conversational AI capabilities.","archived":false,"fork":false,"pushed_at":"2024-11-18T18:36:23.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T07:18:33.211Z","etag":null,"topics":["ai","chatbot","gemini-api","ios","swift","swiftui","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hrsshopnil.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-11-17T13:28:12.000Z","updated_at":"2024-11-18T18:49:28.000Z","dependencies_parsed_at":"2024-11-19T05:33:12.779Z","dependency_job_id":null,"html_url":"https://github.com/hrsshopnil/Ai-Chatbot","commit_stats":null,"previous_names":["hrsshopnil/ai-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hrsshopnil/Ai-Chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrsshopnil%2FAi-Chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrsshopnil%2FAi-Chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrsshopnil%2FAi-Chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrsshopnil%2FAi-Chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrsshopnil","download_url":"https://codeload.github.com/hrsshopnil/Ai-Chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrsshopnil%2FAi-Chatbot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262382027,"owners_count":23302256,"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":["ai","chatbot","gemini-api","ios","swift","swiftui","xcode"],"created_at":"2024-11-25T12:15:59.947Z","updated_at":"2026-04-27T18:05:07.310Z","avatar_url":"https://github.com/hrsshopnil.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftUI AI Chat App\n\nA SwiftUI-based AI chat application leveraging the Gemini API to deliver dynamic, conversational AI capabilities.\n\n## Features\n\n- **Real-Time Chat**: Chat with an AI in a seamless and interactive user interface.\n- **Powered by Gemini API**: Leverages state-of-the-art AI models for contextual and accurate responses.\n- **Customizable UI**: Built with SwiftUI, allowing easy customization and theming.\n\n---\n## Screenshots\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/524b6b14-c7b7-4008-b372-a5e753e607ef\" alt=\"Image 1\" style=\"margin: 10px; width: 280px;\"\u003e\n\u003c/p\u003e\n\n---\n## Requirements\n\n- **iOS 16.0+**\n- **Xcode 14.0+**\n- **Gemini API Key** (Signup and get your API key from the [Gemini API](https://gemini-api.com))\n\n---\n\n## Installation\n\n1. **Clone the Repository**:\n    ```bash\n    git clone https://github.com/yourusername/swiftui-ai-chat-app.git\n    cd swiftui-ai-chat-app\n    ```\n\n2. **Install Dependencies**:\n    This project uses `Swift Package Manager` (SPM). Open the project in Xcode, and it will automatically fetch dependencies.\n\n3. **Set up Gemini API Key**:\n    - Create a property list file and add a item named API_KEY, then put your api key as value\n---\n\n## Usage\n\n1. **Run the Project**:\n    - Open the project in Xcode and select your target device.\n    - Click `Run` (⌘R) to build and launch the app.\n\n2. **Start Chatting**:\n    - Enter your query in the chat box and hit \"Send.\"\n    - The AI will respond instantly with context-aware replies.\n\n---\n\n## Gemini API Integration\n\nThis app integrates with the Gemini API using the following endpoints:\n\n- **Chat**: For sending user messages and receiving AI responses.\n  ```http\n  POST https://api.gemini.com/v1/chat\n  Headers: \n  - Authorization: Bearer YOUR_API_KEY_HERE\n  Body: \n  {\n      \"message\": \"Your query here\"\n  }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrsshopnil%2Fai-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrsshopnil%2Fai-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrsshopnil%2Fai-chatbot/lists"}