AI-powered math problem solver for iOS. Take a photo, get step-by-step solutions.
Problem: View Original Problem | Solution: View Full Solution
Problem/Solution: View original on problem on Paul's Online Math Notes
- iOS: SwiftUI, WKWebView (KaTeX), URLSession streaming
- Backend: FastAPI, OpenAI GPT-4o-mini, Redis caching
- Deployment: Fly.io
- 📸 Camera-to-solution in seconds
- 🧠 Detailed Step by Step Solutions
- ⚡ Streaming responses
- 💾 Redis cache
flowchart TD
A[User inputs photo] --> B{Check Cache}
B -->|✅ Cache Hit| C[Return Cached Response]
B -->|❌ Cache Miss| D[Send to OpenAI]
D --> E[Cache Image and Response]
D --> F[Send Response]
linkStyle 1 stroke:#00ff00,stroke-width:3px
linkStyle 2 stroke:#ff0000,stroke-width:3px
style A fill:#1E3A8A,stroke:#1E40AF,stroke-width:2px,color:#fff
style B fill:#1E3A8A,stroke:#1E40AF,stroke-width:2px,color:#fff
style E fill:#1E3A8A,stroke:#1E40AF,stroke-width:2px,color:#fff
style F fill:#1E3A8A,stroke:#1E40AF,stroke-width:2px,color:#fff

