Turn any GitHub repository into an interactive quiz to test your knowledge and learn more about the codebase.
This project was entirely implemented using Cursor, the AI-powered code editor, as a Proof of Concept (PoC) to evaluate the IDE's capabilities for rapid application development.
- No manual coding: All code was generated and implemented through Cursor's AI assistance
- No tests included: As this is a PoC focused on development speed and AI capabilities, comprehensive testing was not prioritized
- Rapid development: The entire application was built from scratch in a short timeframe
- AI-first approach: Demonstrates how AI can accelerate full-stack development
This serves as a demonstration of Cursor's ability to understand complex requirements, generate appropriate code, and maintain consistency across a full application stack.
- GitHub Repository Integration: Input any GitHub repository URL to generate a quiz
- AI-Powered Quiz Generation: Dynamic quiz creation using OpenAI GPT-4
- Categorized Questions: Questions organized into Domain (60%), Code (30%), and General (10%) categories
- Interactive Quiz Experience: Multiple choice questions with explanations
- Progress Tracking: Visual progress bar and question navigation
- Responsive Design: Works seamlessly on desktop and mobile devices
- Real-time Feedback: Immediate feedback on answers with explanations
- Score Tracking: Final score display with percentage calculation
- Smart Fallbacks: Graceful degradation when APIs are unavailable
See ROADMAP.md for development plans and future features.
-
Clone the repository
git clone https://github.com/yourusername/quizzify.git cd quizzify -
Install dependencies
npm install
-
Set up environment variables Create a
.env.localfile in the project root:QUIZZIFY_OPENAI_API_KEY=your_openai_api_key_here QUIZZIFY_GITHUB_TOKEN=your_github_token_here
-
Run the development server
npm run dev
-
Open your browser Navigate to http://localhost:3000
- Enter a GitHub URL: Paste any GitHub repository URL in the input field
- Generate Quiz: Click "Generate Quiz" to create AI-powered questions based on the repository
- Take the Quiz: Answer 10 categorized multiple choice questions about the repository
- Review Results: See your score and explanations for each question
