Recording.2025-02-05.165625.mp4
Mind Mentor is an intelligent study companion that leverages AI to transform the learning experience. It combines personalized study planning, resource curation, and interactive assistance to help students achieve their academic goals efficiently.
- Dynamic Plan Generation
- Subject-based customization
- Exam date optimization
- Weekly learning milestones
- Daily task breakdown
- Progress Tracking
- Visual progress indicators
- Completion status
- Adjustable schedules
- Performance analytics
- AI-Driven Content Discovery
- Tavily API integration for relevant search
- Quality scoring algorithm
- Content type diversity
- Resource Types Support
- Video tutorials
- Online courses
- Documentation
- Practice exercises
- Academic papers
- Smart Filtering
- Difficulty level categorization
- Format-based organization
- Topic relevance ranking
- Document Analysis
- Upload and process PDF documents
- AI-powered document comprehension
- Contextual question answering
- Smart Features
- Source page references
- Relevant excerpt highlighting
- Chat history persistence
- Context-aware responses
- PDF Viewer Integration
- Page navigation and tracking
- Zoom and rotation controls
- Fullscreen mode
- Synchronized chat and document view
- Modern Interface
- Clean, responsive design
- Toast notifications
- Loading states
- Navigation Features
- Pagination system
- Framework: Next.js 14 with App Router
- Language: TypeScript
- Styling:
- Tailwind CSS for utility-first styling
- Shadcn UI for component library
- State Management:
- Zustand for global state
- React Query for server state
- Authentication: NextAuth.js with JWT
- PDF Processing:
- React-PDF for document viewing
- PDF.js for text extraction
- Custom chat interface
- Runtime: Node.js with Express
- Database: MongoDB with Mongoose ODM
- AI Services:
- Groq API for study plan generation and PDF analysis
- HuggingFace for document embeddings
- Tavily API for resource curation
- Security:
- JWT authentication
- Rate limiting
- Input validation
- Clone the repository:
git clone https://github.com/KartikLabhshetwar/mind-mentor
cd mind-mentor
- Install dependencies for both frontend and backend:
npm install
cd server
npm install
- Set up environment variables:
Create .env.local
file with the following variables:
# Frontend Environment Variables
NEXT_PUBLIC_API_URL=http://localhost:5000
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-secret-key
# Database
MONGODB_URI=your-mongodb-uri
Create .env
file in server directory:
PORT=5000
MONGODB_URI=your-mongodb-uri
GROQ_API_KEY=your-groq-api-key
TAVILY_API_KEY=your-tavily-api-key
HUGGINGFACE_API_KEY=your-huggingface-api-key
JWT_SECRET=your-jwt-secret
- Start the development servers:
Frontend:
npm run dev
Backend:
cd server
npm run dev
Used for:
- Study plan generation
- Resource description enhancement
- Learning path recommendations
Used for:
- Educational resource curation
- Content relevance scoring
- Resource metadata extraction
- Navigate to the study plan section
- Enter your subject and exam date
- Click "Generate Plan"
- View and customize your personalized study schedule
- A 25 minute timer work/break duration
- Start your study session
- Follow the timer prompts for breaks
- View your session history and statistics
- Adjust intervals based on productivity patterns
- Create new notes with rich text formatting
- Organize notes by subjects/topics
- Use the search function to find specific content
- Export notes in various formats
- Access your notes across devices
- Upload your PDF document
- Ask questions about the content
- View source pages and relevant excerpts
- Navigate through the document while chatting
- Access chat history for previous conversations
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to your branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Built with 💡 by Kartik Labhshetwar