GitHunt
IA

iamafridi/OopsFixer

OopsFixer is an AI-powered tool that simplifies debugging by helping developers detect and fix errors effortlessly. Integrated with Gemini Flash 2.0, it streamlines the debugging process for faster results.

OopsFixer ๐Ÿš€

OopsFixer is an AI-powered debugging assistant designed to help developers analyze, detect, and fix code errors effortlessly. With its sleek interface and seamless integration with Gemini flash 2.0 's cutting-edge technology, OopsFixer makes debugging smarter and faster!


alt text

๐Ÿ”ฅ Features

โœ… AI-Powered Code Review โ€“ Get instant feedback on your code with AI-driven analysis.
โœ… Syntax Highlighting โ€“ Readable, structured, and beautifully formatted code.
โœ… Real-Time Debugging Insights โ€“ Identify issues and optimize your code instantly.
โœ… Responsive UI โ€“ Fully optimized for all devices, ensuring a smooth experience.
โœ… Dark & Light Mode โ€“ Enjoy coding in your preferred theme.
โœ… Fast & Scalable Backend โ€“ Deployed on Vercel with seamless API integration.


๐ŸŒŽ Live Demo

๐Ÿ”— Frontend (Netlify): OopsFixer Live


๐Ÿ› ๏ธ Tech Stack

Frontend:

  • โš› React โ€“ JavaScript library for building UI components
  • ๐ŸŽจ Tailwind CSS 4.0 โ€“ Utility-first CSS framework for styling
  • ๐Ÿ“ react-simple-code-editor โ€“ Lightweight code editor component
  • ๐ŸŒˆ PrismJS โ€“ Syntax highlighting for code blocks
  • ๐Ÿ“„ react-markdown โ€“ Renders Markdown content
  • ๐Ÿ” rehype-highlight โ€“ Syntax highlighting for Markdown-rendered code
  • ๐Ÿ”„ Axios โ€“ HTTP client for API requests

Backend:

  • ๐Ÿ”„ CORS & Body-Parser
  • ๐ŸŸข Node.js โ€“ JavaScript runtime for server-side logic
  • โšก Express.js โ€“ Web framework for handling API requests
  • ๐Ÿ” dotenv โ€“ Manages environment variables
  • ๐Ÿค– Google Gemini AI โ€“ AI model used for generating code reviews

๐Ÿš€ Installation & Setup

1๏ธโƒฃ Clone the Repository

 git clone https://github.com/iamafridi/oopsfixer.git
 cd oopsfixer

2๏ธโƒฃ Set Up Backend

 cd backend
 npm install  # Install dependencies

Create a .env file in the backend/ directory and add:

GEMINI_API_KEY=your_GEMINI_api_key

Run the backend locally:

npm run dev

3๏ธโƒฃ Set Up Frontend

 cd ../frontend
 npm install  # Install dependencies
Run the frontend locally:
```sh
npm run dev

๐ŸŽฏ Usage Guide

1๏ธโƒฃ Enter your code in the editor.
2๏ธโƒฃ Click "Review Code" to get AI-powered feedback.
3๏ธโƒฃ Read the analysis and implement fixes.
4๏ธโƒฃ Enjoy bug-free, optimized code! ๐ŸŽ‰



๐Ÿ“ž Contact

๐Ÿ”— Portfolio: iamafridi-portfolio


โญ Show Your Support!

If you found OopsFixer helpful, please give it a โญ on GitHub!

Happy Debugging! ๐Ÿš€

iamafridi/OopsFixer | GitHunt