Convert any topic or text into an interactive multiple-choice quiz using the power of Google's Gemini AI.
- AI-Powered Generation: Uses Google's Gemini model to generate high-quality questions.
- Instant Quizzes: Just enter a topic and get a quiz in seconds.
- User Authentication: Secure Login/Register system to protect quiz generation.
- History: View and retake recent quizzes.
- Responsive Design: Validated glassmorphism UI.
-
Clone the repository
git clone https://github.com/alterpix/AI-Quiz-Generator.git cd AI-Quiz-Generator -
Install Dependencies
pip install -r requirements.txt
-
Configure Environment Create a
.envfile in the root directory:GOOGLE_API_KEY=your_google_ai_studio_key SECRET_KEY=your_secret_key
-
Run the Application
python app.py
-
Access Open
http://localhost:5000in your browser.
- Backend: Flask, SQLAlchemy
- AI: LangChain, Google Gemini
- Frontend: HTML5, CSS3, JavaScript
- Database: SQLite
MIT