Skip to content
MeezaUniPublic

About

AI-Powered Hardware Diagnostic & Repair Hub

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

FixFlow: AI-Powered Hardware Diagnostic & Repair Hub

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.


Core Features

  • 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.

Tech Stack

Frontend

  • React.js (Vite)
  • Tailwind CSS (for responsive, true Dark Mode UI)
  • Lucide-React (Iconography)

Backend

  • Python 3
  • FastAPI (High-performance API routing and file handling)
  • SQLite + SQLAlchemy (Relational database for permanent case EMR tracking)

AI Engine

  • Google Gemini 2.5 Flash (via google-genai SDK) for V1 Cloud Vision.
  • (Upcoming V2 Architecture: Local Execution via Ollama & Llama 3.2 Vision)

How to Run Locally

You will need two terminal windows open to run the frontend and backend simultaneously.

1. Clone & Backend Setup (Terminal 1)

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).

⚠️ Important: Before starting the server, open 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 --reload

2. Frontend Setup (Terminal 2)

Open a new terminal window, copy and paste this block to start the UI:

cd FixFlow/frontend
npm install
npm run dev

Usage Workflow

  1. Open http://localhost:5173 in your browser.
  2. Click Start New Diagnosis.
  3. Upload a photo of a device sticker to auto-extract the model, or type it manually.
  4. Upload a photo of the device's damage/error screen.
  5. Wait for the AI Vision Processing Engine to complete its analysis.
  6. Choose your route: Self-Repair (Interactive Step-by-Step) or Professional (Cost Analysis & Map Locating).
  7. 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.

About

AI-Powered Hardware Diagnostic & Repair Hub

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages