CodeHelper is an AI-powered code analysis tool built with Flask and the Google Gemini API. It allows users to upload project files and receive professional README documentation, debugging analysis, and code improvement suggestions.
- Multi-file Upload: Support for uploading multiple source files, configurations, images, or videos for context.
- Gemini AI Integration: Leverages the
gemini-3-flash-previewmodel for intelligent code review. - Interactive UI: Drag-and-drop file interface with real-time file previews.
- Automated Generation:
- README.md: Generates professional documentation based on code structure.
- Debugging: Identifies potential bugs and provides fix suggestions.
- Improvements: Suggests refactoring, performance optimizations, and best practices.
- Markdown Rendering: Results are rendered directly in the browser with syntax highlighting support.
- Export: Built-in functionality to download the generated
README.md.
- Backend: Python, Flask
- AI Engine:
google-genai(Google Gemini) - Frontend: HTML5, CSS3, Vanilla JavaScript
- Libraries:
marked.js(Markdown parsing)
- Ensure you have Python installed.
- Install the required dependencies:
pip install flask google-genai
- Set up a Gemini API Key from Google AI Studio.
- Run the Flask application:
python app.py
- Open your browser and navigate to
http://127.0.0.1:5000. - Enter your Google Gemini API Key.
- Select the desired analysis options (README, Debug, Suggest).
- Drag and drop your project files and click Generate.
The whole readme is genetated with this tool :)