Paste your code, get instant AI-generated explanations.
Powered by Gemini AI and DeepSeek LLM.
π Live Demo β’ Features β’ Tech Stack β’ Setup
AI Code Explainer is a full-stack GenAI tool that simplifies complex code into human-readable explanations using state-of-the-art LLMs. Ideal for students, developers, and interview prep.
- π€ Paste your source code
- π AI explains it in plain language
- π‘ Supports multiple languages (via LLMs)
- π Hosted on Vercel (frontend) and Render (backend)
- π API keys secured via environment variables
π Frontend: https://ai-code-explainer-pi.vercel.app
βοΈ Backend: https://ai-code-explainer-cwd2.onrender.com
- Node.js β₯ v16
- Yarn or npm
# Clone repo
git clone https://github.com/yourusername/ai-code-explainer.git
cd ai-code-explainer
# Install frontend
cd frontend
npm install
echo "REACT_APP_API_URL=http://localhost:5000/api" > .env
# Install backend
cd ../backend
npm install
echo "PORT=5000
GEMINI_API_KEY=your_gemini_key" > .env
# Start backend
node server.js
# Start frontend (in separate terminal)
cd ../frontend
npm start