SmartQuest AI is a modern, responsive, and AI-native web application designed to revolutionize how students and educators manage learning materials. By leveraging Next.js 15, Supabase, and LLMs (GPT-4o / Gemini), it transforms static PDF documents into interactive, auto-graded exam simulations.
Our philosophy: "Clean, Distraction-Free, Academic Focus".
- PDF to JSON: Drag & drop PDFs to automatically extract text, questions, and options using AI.
- Smart OCR: Handles complex layouts, math formulas (LaTeX), and images.
- Review Dashboard: Split-screen interface to verify and correct AI extractions before adding to the bank.
- Organized Library: Filter by tags, difficulty, type, and source.
- AI Operations: Auto-tagging, content translation, and context-aware explanations.
- Rich Text Support: Full Markdown and LaTeX support for math and scientific content.
- Distraction-Free UI: Immersive full-screen mode for taking exams.
- Simulation Tools: Built-in timer, question palette, and progress tracking.
- Mobile First: Optimized touch controls for studying on the go.
- Instant Feedback: Auto-grading for objective questions.
- AI Grader: Subjective answers (text or handwritten images) are graded by AI with detailed feedback and scoring.
- Framework: Next.js 15 (App Router, Server Actions)
- Language: TypeScript (Strict Mode)
- Styling: Tailwind CSS v4 + Shadcn/UI + Framer Motion
- Database: PostgreSQL (via Supabase)
- Auth: Supabase Auth (OAuth support)
- AI: Vercel AI SDK + LangChain.js
- State: Zustand + Nuqs
- Node.js 18+
- pnpm (recommended) or npm
-
Clone the repository
git clone https://github.com/your-username/smart-quest-ai.git cd smart-quest-ai -
Install dependencies
npm install # or pnpm install -
Environment Setup Create a
.env.localfile in the root directory and add your credentials:# Supabase NEXT_PUBLIC_SUPABASE_URL=your_supabase_url NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key # AI Keys OPENAI_API_KEY=your_openai_key # or GOOGLE_GENERATIVE_AI_API_KEY=your_gemini_key # Database DATABASE_URL=your_prisma_connection_string
-
Run the development server
npm run dev
Open http://localhost:3000 with your browser to see the result.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.