StudMaster is an AI-powered practice test web application designed to help students prepare effectively for academic subjects and competitive examinations. It provides a clean, modern, and distraction-free interface with dynamically generated questions based on user input β no login or profile required.
-
π§ AI-Generated Practice Tests Questions are generated in real time using an AI model based on the topic and number of questions selected by the user.
-
π Multiple Learning Domains
- School (Classes 6β12)
- College (Course, semester, topic-based)
- Competitive Exams (JEE, NEET, CUET, etc.)
-
βοΈ Fully Dynamic No predefined questions. Every test is generated fresh using AI.
-
π§ͺ Real Exam Interface
- One question at a time
- MCQ format with four options
- Progress bar and timer
- Exit Test button to return to home anytime
-
π¨ Smooth UI & Animations Includes a fade-in animation when the site loads for a polished user experience.
-
π No Login Required Students can start practicing instantly without creating an account.
- FastAPI (Python)
- OpenRouter API (AI question generation)
- Environment-based configuration using
.env
- HTML
- CSS
- Vanilla JavaScript
StudMaster/
β
βββ backend/
β βββ app/
β β βββ ai_generator.py
β β βββ config.py
β β βββ main.py
β β βββ models.py
β β βββ session_manager.py
β βββ .env.example
β βββ requirements.txt
β
βββ docs/
β βββ index.html
β βββ style.css
β βββ test.html
β βββ test.js
β βββ config.js
β
βββ .gitignore
git clone https://github.com/your-username/StudMaster.git
cd StudMastercd backend
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txtCreate a .env file:
OPENROUTER_API_KEY=your_api_key_here
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
OPENROUTER_MODEL=deepseek/deepseek-chat
SESSION_EXPIRE_MINUTES=30Run the backend:
uvicorn app.main:app --reloadSimply open docs/index.html in your browser.
- This project is intended for educational purposes.
- Ensure your OpenRouter API key has access to the selected model.
- No user data is stored.
This project is open-source and free to use.
β If you like this project, consider giving it a star!