EduMind AI
Powered by Google Gemini โ 100% Free
Hello! I'm EduMind AI ๐
Your intelligent academic assistant. Ask anything about courses, assignments, study planning, exams, or university life.
EduMind AI โ Smart Student Assistant
An AI-powered academic assistant for university students. Powered by Google Gemini (free) via PHP backend. Get instant help with assignments, exams, course guidance, and more โ 24/7.
How It Works
The frontend (index.html) sends messages to chat.php on your server. PHP calls the Google Gemini API โ which is 100% free โ adds your API key securely, and returns the AI reply. The key stays on the server, never exposed to users.
Tech Stack
- Frontend: HTML5, CSS3, Vanilla JavaScript
- Backend: PHP (runs on all shared hosting)
- AI: Google Gemini 1.5 Flash โ free at aistudio.google.com
- Hosting: Any cPanel hosting โ Hostinger, GoDaddy, Namecheap etc.
Viva Q & A
Q1: Why Google Gemini instead of paid APIs?Google Gemini 1.5 Flash offers a generous free tier (1500 requests/day) with no credit card required, making it perfect for student projects and academic demos.
Q2: Why PHP for the backend?PHP runs on every shared hosting provider without any extra configuration. The free API key cannot be exposed in frontend JS โ PHP keeps it server-side and secure.
Q3: How does the chatbot remember context?All messages are stored in a JavaScript array and sent with every request. Gemini reads the full history and responds in context, giving multi-turn memory.
Q4: How is dark mode done?CSS custom properties switch between two palettes. JavaScript toggles a .light class on the body and saves the choice to localStorage so it persists on reload.
Future Improvements
- Real MySQL database for user authentication
- PDF upload for assignment analysis
- AI-generated flashcards and quizzes
- Voice input & text-to-speech
- Multi-language support (Urdu, Arabic)
- University timetable integration