FixFlow is a full-stack, multimodal AI application designed to bridge the gap between broken electronics and accessible repair. By leveraging cutting-edge Vision AI, FixFlow acts as an automated digital technician—reading device stickers, analyzing visual hardware damage, and intelligently routing users toward interactive self-repair or professional service centers.
- AI Sticker Extraction (OCR): Upload a photo of a device's back panel or serial sticker, and the Vision AI will automatically extract the Brand and Model to configure the workspace.
- Multimodal Visual Diagnostics: Upload an image of the error (e.g., cracked screen, BSOD). The AI returns a structured assessment detailing the primary diagnosis, confidence probabilities, and difficulty rating.
- Interactive Action Center (Self-Repair): A dynamic state-machine that generates step-by-step repair guides. If a user skips a step, the AI evaluates their feedback and recalculates an alternative route (e.g., falling back from software to hardware diagnostics).
- Smart YouTube Shield: Automatically extracts context from AI-generated repair steps to form precise, 3-5 word YouTube search queries, preventing search hallucination.
- Pro Repair Cost Engine: Dynamically calculates estimated repair costs based on the device model and a configurable "Labor Rate Multiplier," comparing it against the estimated replacement value.
- Live Geolocation Mapping: Embeds a live Google Map that uses HTML5 Geolocation (or manual Pincode entry) to find brand-specific service centers nearby.
- Automated EMR PDF Reports: Automatically generates and downloads an "Electronic Medical Record" for the device, injecting the complete database timeline, AI reasoning, and evidence photos into a printable PDF.
- React.js (Vite)
- Tailwind CSS (for responsive, true Dark Mode UI)
- Lucide-React (Iconography)
- Python 3
- FastAPI (High-performance API routing and file handling)
- SQLite + SQLAlchemy (Relational database for permanent case EMR tracking)
- Google Gemini 2.5 Flash (via
google-genaiSDK) for V1 Cloud Vision. - (Upcoming V2 Architecture: Local Execution via Ollama & Llama 3.2 Vision)
You will need two terminal windows open to run the frontend and backend simultaneously.
Copy and paste this entire block into your terminal (Windows):
git clone [https://github.com/MeezaUni/FixFlow.git](https://github.com/MeezaUni/FixFlow.git)
cd FixFlow/backend
python -m venv venv
.\venv\Scripts\activate
pip install fastapi uvicorn sqlalchemy python-multipart pillow google-genai(Mac/Linux users: Use python3 and source venv/bin/activate instead).
backend/main.py and replace YOUR_GEMINI_API_KEY_HERE on line 49 with your actual Google Gemini API key.
Start the backend server:
uvicorn main:app --reloadOpen a new terminal window, copy and paste this block to start the UI:
cd FixFlow/frontend
npm install
npm run dev- Open
http://localhost:5173in your browser. - Click Start New Diagnosis.
- Upload a photo of a device sticker to auto-extract the model, or type it manually.
- Upload a photo of the device's damage/error screen.
- Wait for the AI Vision Processing Engine to complete its analysis.
- Choose your route: Self-Repair (Interactive Step-by-Step) or Professional (Cost Analysis & Map Locating).
- Close the case to generate your PDF EMR Report.
Built as a capstone project exploring the integration of Large Multimodal Models (LMMs) with real-world consumer electronics repair.