A web-based quiz application to stay sharp on AI, Machine Learning, and coding topics. Features daily quizzes generated from scraped AI news and a comprehensive topic-based question bank.
- Daily Quiz: Questions generated from latest AI news scraped from Reddit, Hacker News, ArXiv, and YouTube
- Topic Quiz: Choose from 12+ topics (Python, ML, DL, LLM, CNN, RNN, Transformer, YOLO, AWS, Infra, etc.)
- 20-second Timer: Each question has a countdown timer with color transitions (green → yellow → red)
- Difficulty Levels: Beginner, Intermediate, Advanced
- History & Review: Track all past quiz attempts with detailed answer reviews and source links
- Keyboard Shortcuts: Press 1-4 or A-D to select answers, Enter to confirm
- Local LLM: Uses Ollama + Qwen2.5:3b for question generation (no cloud API needed)
- Frontend: React + Vite + TypeScript + Tailwind CSS + Zustand
- Backend: FastAPI + SQLAlchemy + SQLite
- Scraping: Playwright (headless Chromium)
- LLM: Ollama + Qwen2.5:3b
- Python 3.10+
- Node.js 18+
- Ollama (optional, for daily quiz generation)
cd backend
python -m venv ../.venv
source ../.venv/bin/activate
pip install -r requirements.txt
playwright install chromium
python seed/seed_db.py # Seed 120 questions
uvicorn app.main:app --reload --port 8000cd frontend
npm install
npm run dev# Install Ollama from https://ollama.com
ollama pull qwen2.5:3bOpen http://localhost:5173 and start quizzing!
- Topic Quiz: Select a topic and difficulty → answer questions within 20 seconds → review results
- Daily Quiz: Auto-generated from latest AI news → run scraper first via the UI
- History: Review all past attempts with explanations and source links