How rajeshbakthavachalam/ai-code-generator works
AI-Code-Generator is a browser-based app that turns a natural-language request into code using CodeGemma through local Ollama. The principal flow is a user prompt, app-side generation, and displayed code; the README also describes shell-command execution and offline/private operation. The tree and README support the product outline, but the app.py excerpt is unavailable, so internal call details and the exact execution path cannot be verified.
Main entry points: app.py Generator App
Components 7
User Interface
- Generator App
app.py - Streamlit
Local Generation
- Ollama
- CodeGemma
- Generated Code
Code Execution
- Shell Execution
Other components
- User
Connections 6
- User → Generator App: submits prompt
README.md - Generator App → Streamlit: renders interface
app.py - Generator App → Ollama: requests generation
README.md - Ollama → CodeGemma: runs model
README.md - Generator App → Generated Code: returns code
README.md - Generator App → Shell Execution: executes commands
README.md