SiliconSage is an AI-powered PC building assistant that optimizes computer builds for value and performance using machine learning.
A hybrid application combining a Next.js frontend with a Python (FastAPI) ML backend. It goes beyond compatibility checking to provide real-time performance analytics and architectural advice.
- PC Builder & Visualizer: Interactive drag-and-drop interface with schematic visualization.
- ML Performance Lab: Real-time FPS prediction, bottleneck detection, and build integrity analysis (PSU efficiency & Motherboard tier checks).
- AI Advisor: Expert persona ("SiliconSage") powered by Llama 3 for context-aware part recommendations and troubleshooting.
- Ecosystem Comparison: Analytical tool comparing custom builds against consoles (PS5/Xbox) and laptops to ensure optimal value.
- Framework: Next.js 16 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS
- Animations: Framer Motion
- Icons: Lucide React
- Framework: FastAPI (Python)
- ML Libraries: Scikit-Learn, Pandas, NumPy
- Server: Uvicorn
- Database: Supabase (PostgreSQL)
- AI Inference: Groq API (Llama 3)
- Node.js 18+
- Python 3.10+
- A Supabase project
- A Groq API Key
Clone the repository:
git clone https://github.com/sammy200-ui/SiliconSage.git
cd SiliconSageNavigate to the frontend directory and install dependencies:
cd frontend
npm installCreate a .env.local file in the frontend directory:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_key
GROQ_API_KEY=your_groq_api_keyRun the frontend development server:
npm run devThe application will be available at http://localhost:3000.
Open a new terminal and navigate to the ml_engine directory:
cd ml_engineCreate a virtual environment and activate it:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activateInstall Python dependencies:
pip install fastapi uvicorn scikit-learn pandas numpy joblibRun the ML Engine server:
uvicorn main:app --reload --host 0.0.0.0 --port 8000The API will be available at http://localhost:8000.
The Frontend and ML Engine are designed to run concurrently. The frontend makes direct API calls to localhost:8000/predict/fps to fetch real-time analytics. Ensure both servers are running for the full application experience.