An intelligent study companion powered by Google's Gemini AI that helps students master complex topics through interactive learning. The application provides detailed explanations, generates practice questions, and offers topic-specific guidance.
- Topic Understanding: Get detailed, easy-to-understand explanations of complex topics
- Practice Questions: Generate subject-specific practice questions with solutions
- Interactive Learning: Engage with concepts through an interactive Q&A interface
- Subject-Specific Focus: Tailored explanations based on the academic subject
- Animated UI: Modern, responsive interface with smooth animations
- Frontend: HTML, CSS (Tailwind CSS), JavaScript
- Backend: Flask (Python)
- AI Integration: Google Gemini API
- Deployment: Gunicorn
- Styling: Tailwind CSS
- Python 3.8 or higher
- Google Gemini API key
- Modern web browser
- Internet connection
- Clone the repository
git clone https://github.com/prabOG7/ai-study-assistant.git
cd ai-study-assistant
- Install dependencies
pip install flask google-generativeai flask-cors gunicorn
- Set up environment variables
Create a
.env
file in the root directory:
GOOGLE_API_KEY=your_gemini_api_key_here
- Run the application
python app.py
The application will be available at http://localhost:8000
- Create a Render account at render.com
- Create a new Web Service
- Connect your GitHub repository
- Configure the service:
- Environment: Python 3
- Build Command:
pip install -r requirements.txt
- Start Command:
gunicorn app:app
- Add your
GOOGLE_API_KEY
to environment variables - Deploy!
- Open the application in your web browser
- Enter your study topic or concept
- Choose the type of help you need:
- Detailed explanation
- Practice questions
- Interactive learning
- Review the AI-generated content and engage with the interactive elements
ai-study-assistant/
├── app.py # Flask application
├── templates/
│ └── index.html # Main HTML template
├── requirements.txt # Python dependencies
└── README.md # Documentation
- Fork the repository
- Create a new branch (
git checkout -b feature/improvement
) - Make your changes
- Commit your changes (
git commit -am 'Add new feature'
) - Push to the branch (
git push origin feature/improvement
) - Create a Pull Request
GOOGLE_API_KEY
: Your Google Gemini API key
This project is licensed under the MIT License - see the LICENSE file for details
- Google Gemini API for powering the AI capabilities
- Flask framework for the backend
- Tailwind CSS for the styling
- All contributors and users of this application
Made with ❤️ for students everywhere @prabOG7