A simple desktop app that uses Google Gemini AI to suggest step-by-step approaches for coding problems. This project was built as a fun learning exercise to understand how AI APIs can be integrated into Python GUI applications.
- 🖥️ Modern, clean GUI built with CustomTkinter
- 🤖 Asks Gemini AI for both brute-force and optimized approaches to coding questions
- 🚫 No code or explanations—just concise, actionable steps
⚠️ Error handling for API issues
- ✍️ Enter your coding question in the input box.
- 👉 Click Get Approach.
- 🤩 The app queries Gemini AI and displays two styles of solution steps: brute-force and optimized.
git clone <repo-url>
cd <project-folder>
- 🐍 Python 3.7+
- CustomTkinter:
pip install customtkinter - google-generativeai:
pip install google-generativeai
- Sign up for Gemini API access from Google (see official docs).
- Save your API key in a file named
.apikeyin the project root (same folder asmain_gui.py). The file should contain only your API key, nothing else.
python main_gui.py
This was a simple, fun project to learn how to connect Python apps to AI APIs and build modern GUIs. It helped me understand API integration, prompt engineering, and error handling in a real-world context. The project is intentionally minimal—just enough to demonstrate the core idea and make learning enjoyable!