Lintrix is an interactive Python programming learning platform that uses Gemini 3 to offer a unique and personalized learning experience.
Learning programming alone can be frustrating. Traditional AI tools give you the answer directly, but you don't actually learn. Lintrix offers a Socratic AI tutor that guides students with questions instead of ready-made answers, promoting critical thinking and real understanding.
Intelligent chat that asks questions instead of giving direct answers, helping students develop logical reasoning and problem-solving skills.
Automatically generates visual diagrams of the algorithm flow from the code, helping students understand the logic step by step.
Analyzes the code and shows time and space complexity with colored badges and optimization suggestions.
The AI creates unique exercises based on the topic and difficulty level chosen by the student.
When you don't understand a concept, ask the AI to explain any topic in depth - it adapts to your level.
| Frontend | Backend | AI |
|---|---|---|
| React 18 | FastAPI | Gemini 3 Flash |
| Tailwind CSS | Python 3.11 | Gemini 3 Multimodal |
| Shadcn UI | Piston API | - |
| Vite | Docker | - |
| Firebase | Cloud Run | - |
| Mermaid.js | - | - |
- Node.js 20+
- Python 3.11+
- Gemini API Key
cd lintrix
npm install
npm run devcd lintrix/backend
pip install -r requirements.txt
python main.pyAccess: http://localhost:5173
# Backend
cd backend
gcloud builds submit --tag gcr.io/YOUR-PROJECT/lintrix-backend
gcloud run deploy lintrix-backend --image gcr.io/YOUR-PROJECT/lintrix-backend --platform managed --allow-unauthenticated
# Frontend
cd ..
gcloud builds submit --tag gcr.io/YOUR-PROJECT/lintrix-frontend
gcloud run deploy lintrix-frontend --image gcr.io/YOUR-PROJECT/lintrix-frontend --platform managed --allow-unauthenticatedlintrix/
├── src/
│ ├── components/ # React Components
│ ├── pages/ # Application Pages
│ ├── services/ # Services (Gemini, CodeRunner)
│ └── data/ # Exercises and Curriculum
├── backend/
│ ├── main.py # FastAPI API
│ ├── piston_executor.py # Code Executor
│ └── security.py # Security Validation
└── Dockerfile
- Configure API Key - Go to settings and enter your Gemini key
- Choose an Exercise - From the learning path or exercises page
- Write Code - Use the integrated Monaco editor
- Execute - Test your code with real test cases
- Ask the Tutor - The AI chat guides you through questions, not answers
This project was built for the Gemini 3 Hackathon demonstrating 5 innovative uses of Gemini AI:
| Feature | Gemini Usage |
|---|---|
| Socratic Tutor | Interactive Q&A that promotes thinking |
| Flowchart Generation | Mermaid diagrams from problem description |
| Exercise Generator | Unique problems adapted to skill level |
| Deep Explanations | Topic explanations within context |
| Code Analysis | Error detection and improvement suggestions |
Developed for the Gemini 3 Hackathon by AI and Education enthusiasts.
MIT License - Feel free to use for studies and personal projects.
⭐ Star this repo if you found it helpful!
