{"repo":"mbabicz/SwiftAI","free":true,"listed":false,"github":"https://github.com/mbabicz/SwiftAI","clone":"git clone https://github.com/mbabicz/SwiftAI.git","description":"iOS app that features a chat powered by ChatGPT and DALL·E 2","language":"Swift","stars":138,"topics":["chatgpt","dalle2","swift","swiftui","gpt-3","gpt-4","chatgpt3","chatgpt4","ios","openai"],"license":"GPL-3.0","category":"mobile-apps","readme_excerpt":"SwiftAI — Claude & DALL·E iOS App ABOUT THE PROJECT SwiftAI is a native iOS application built with SwiftUI that integrates: - Anthropic Claude — conversational AI chat with real-time streaming responses, powered by the Claude REST API directly (no third-party wrapper) - OpenAI DALL·E 2 — AI image generation from text prompts The Claude chat uses the claude-sonnet-4-6 model with Server-Sent Events (SSE) streaming for a smooth, real-time experience. Users provide their own API keys directly in the app — no hardcoded secrets. :-: :-: INSTALLATION 1. Clone the repository 2. Open SwiftGPT.xcodeproj in Xcode 3. Build and run on a simulator or device (iOS 16+) 4. In the app, tap the ⚙ Settings icon and enter: - Your Claude API key from console.anthropic.com - Your OpenAI API key from platform.openai.com (for DALL·E only) CLAUDE CHAT Real-time streaming chat powered by Anthropic's Claude API: - Direct REST integration with https://api.anthropic.com/v1/messages - Streaming via URLSession async bytes + Server-Sent Events - Conversation history maintained per session - Model: claude-sonnet-4-6 :-: :-: DALL·E 2 IMAGE GENERATION Generate images from text prompts using OpenAI's DALL·E 2: - Context menu to share or save generated images to Photos - Requires a separate OpenAI API key (entered in Settings) :-: :-: BUILT WITH - Anthropic Claude API — LLM chat backend - OpenAIKit — DALL·E image generation - SFSafeSymbols — type-safe SF Symbols","default_branch":null,"files":null,"tree":[],"storefront":"/r/mbabicz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mbabicz/SwiftAI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}