Skip to content

Karthikeya172001/code-buddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

96 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ§‘β€πŸ’» Code Buddy – AI Coding Assistant

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.


πŸš€ Live Demo


πŸŽ₯ Demo Video

Watch the project demo here:
Code Buddy Demo


πŸ“ Features

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

πŸ’» Built With

  • 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

⚑ How to Use

  1. Open the live demo.
  2. Paste your code in the textarea.
  3. Click Explain Code, Suggest Optimizations, or Generate Quiz.
  4. See results instantly below the buttons.

About

AI-powered coding assistant for code explanations, optimizations, and quiz generation.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages