AI DevHelper is a full-stack web application that uses GPT-4 to explain, optimize, and comment code across multiple programming languages.
This project was built to help developers quickly understand unfamiliar code and improve productivity using AI.
- 🧠 GPT-powered code assistant
- 💡 Supports Python, JavaScript, Java, and C++
- 🛠️ Tools:
- Explain Code
- Optimize Code (in progress)
- Add Comments (in progress)
- 🎨 Modern React frontend with TailwindCSS
- ⚙️ FastAPI backend with LangChain and OpenAI API
- 🔄 Real-time interaction between frontend and backend
- Paste your code into the input box
- Select a tool (e.g., "Explain Code")
- Choose the programming language
- Click Run AI Tool
- View the AI-generated response instantly
- React
- TailwindCSS
- Framer Motion
- Axios
- Prism.js
- FastAPI
- LangChain
- OpenAI API (GPT-4)
- Python
git clone https://github.com/revaadi/DevHelper.git
cd DevHelpercd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtCreate a .env file inside /backend and add:
OPENAI_API_KEY=your_api_key_hereRun the backend:
uvicorn main:app --reloadBackend runs on:
http://127.0.0.1:8000
cd frontend
npm install
npm startFrontend runs on:
http://localhost:3000
- Requires a valid OpenAI API key
- AI responses may vary slightly
- Some tools are still under development
As a computer science student, I often needed a faster way to understand unfamiliar code.
AI DevHelper was built to solve that problem while also helping me learn full-stack development using modern tools like FastAPI and LangChain.