Code Buddy is an AI-powered coding assistant that can explain code, suggest optimizations, and generate quizzes for any code snippet you provide. Perfect for learning, teaching, or quick code reviews.
- Frontend: https://code-buddy-virid.vercel.app/
- Backend API: https://code-buddy-4mtq.onrender.com
- GitHub Repository: https://github.com/Karthikeya172001/code-buddy
- Explain Code: Paste any code snippet and get a clear explanation.
- Suggest Optimizations: Get suggestions to improve your code.
- Generate Quiz: Create a short quiz to test knowledge based on the code.
- Mobile-Friendly: Fully responsive UI for laptops, tablets, and phones.
- Interactive UI: Buttons with hover animations and gradients for a modern feel.
- Frontend: React, JSX, CSS
- Backend: Node.js, Express
- API: OpenAI GPT-4.1-mini for code explanations, optimizations, and quiz generation
- Hosting: Vercel (frontend), Render (backend)
- HTTP Client: Axios
- Open the live demo.
- Paste your code in the textarea.
- Click Explain Code, Suggest Optimizations, or Generate Quiz.
- See results instantly below the buttons.
