Skip to content

atipre/MathMind

Repository files navigation

MathMind 🤓

Static Badge Static Badge Static Badge

AI-powered math problem solver for iOS. Take a photo, get step-by-step solutions.

Demo

Demo 1

Problem: View Original Problem | Solution: View Full Solution

Demo 2

Problem/Solution: View original on problem on Paul's Online Math Notes

Tech Stack

  • iOS: SwiftUI, WKWebView (KaTeX), URLSession streaming
  • Backend: FastAPI, OpenAI GPT-4o-mini, Redis caching
  • Deployment: Fly.io

Features

  • 📸 Camera-to-solution in seconds
  • 🧠 Detailed Step by Step Solutions
  • ⚡ Streaming responses
  • 💾 Redis cache

Architecture

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
Loading

About

Mobile app that provides AI powered solutions for homework help.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published