The Ultimate AI-Powered Study Companion
StudyLeave is a cutting-edge study management application that combines advanced AI tutoring, intelligent note-taking, and comprehensive study tools into one seamless experience. Powered by GPT-4o, it's like having a personal tutor, note organizer, and study assistant all in one.
- GPT-4o Integration: Powered by OpenAI's most advanced language model
- Real-Time Streaming: Experience natural conversations with live typing effects
- Context-Aware Assistance: AI understands your current subject and notes
- Multi-Modal Chat: Global chat input and in-page note-specific conversations
- Smart Content Generation: Create comprehensive study notes on any topic instantly
- Select-to-Explain: Highlight any text in your notes for instant AI explanations
- Structured Learning: Get explanations with:
- π Summary - Quick 2-3 sentence overview
- π― Key Points - Essential concepts highlighted
- π Detailed Explanation - Step-by-step breakdown
- π’ Formulas/Equations - Mathematical concepts clarified
- π‘ Why It Matters - Real-world significance and applications
- Auto-Subject Creation: AI automatically organizes content into relevant subjects
- Content Discovery: AI can find and reference your existing notes
- Anti-Duplication: Intelligent content generation that complements existing material
- Cross-Reference Capability: Links related concepts across different subjects
- Block-Based Editing: Notion-style content blocks for flexible formatting
- Rich Formatting: Bold, italic, underline, strikethrough, colors, and highlights
- Multiple Content Types:
- π Paragraphs and text blocks
- π Headings (H1, H2, H3)
- π Bullet and numbered lists
- β Interactive todo lists with checkboxes
- π» Code blocks with syntax highlighting
- π¬ Quote blocks and dividers
- π€ AI-generated content blocks
- Smart Formatting Suggestions: AI recommends optimal text formatting
- Mathematical Support: Proper rendering of formulas and equations
- Code Highlighting: Syntax highlighting for programming concepts
- Intelligent Auto-Save: Real-time persistence with conflict resolution
- Hover-to-Flip Animation: Smooth card interactions using Framer Motion
- Category Filtering: Organize flashcards by subject and topic
- Progress Tracking: Monitor your study sessions and performance
- Responsive Design: Perfect experience across all devices
- Hierarchical Organization: Subjects β Topics β Individual Notes
- Visual Progress Tracking: Color-coded progress indicators and completion estimates
- Dynamic Statistics: Real-time analytics on study time, scores, and activity
- Collapsible Navigation: Expandable subject trees with context menus
- Rapid Note Capture: Instant note creation for quick thoughts
- Global Search: Find content across all subjects and notes
- Recent Activity: Track your latest study sessions and achievements
- Upcoming Tests: Manage and prepare for scheduled exams
- Mobile-First: Optimized for all screen sizes and devices
- Dark/Light Theme: Complete theming with smooth transitions
- Accessibility: Proper contrast ratios and keyboard navigation
- Custom Animations: Polished interactions and micro-animations
- Resizable AI Panel: Draggable AI tutor with persistent width settings
- Context-Sensitive Tooltips: Helpful guidance exactly when you need it
- Keyboard Shortcuts: Efficient navigation and content creation
- Visual Feedback: Loading states, progress indicators, and status updates
- Real-Time Streaming: Live AI responses with typing effects
- Request Optimization: Smart throttling and duplicate prevention
- Error Recovery: Robust fallback systems for seamless experience
- Efficient Caching: Strategic data persistence for fast loading
- Next.js 13: App router with server-side rendering
- TypeScript: Full type safety throughout the application
- Tailwind CSS: Modern utility-first styling
- React Hooks: Contemporary state management patterns
# Clone and navigate to the project
cd StudyLeave
# Install dependencies
npm install
# Start development server
npm run devVisit http://localhost:3000 to experience StudyLeave!
Create a .env.local file in the root directory:
OPENAI_API_KEY=your_openai_api_key_here
MODEL_NAME=gpt-4oπ Security Note: Never commit API keys to version control. The
.env.localfile is automatically ignored by Git.
- Create a new project on Vercel Dashboard
- Connect your GitHub repository
- Add environment variables:
OPENAI_API_KEY: Your OpenAI API keyMODEL_NAME:gpt-4o
- Deploy with one click!
StudyLeave works seamlessly on any platform that supports Next.js:
- Netlify
- Railway
- Heroku
- DigitalOcean App Platform
- Next.js 13 - React framework with app router
- TypeScript - Type-safe development
- OpenAI API - GPT-4o integration for AI features
- Tailwind CSS - Modern utility-first styling
- Framer Motion - Smooth animations and transitions
- Lucide React - Modern icon system
- React Markdown - Markdown rendering with GitHub flavors
- DOMPurify - XSS protection for user content
- Marked - Advanced markdown parsing
- π Comprehensive Note-Taking: Organize all your study materials
- π€ AI Tutoring: Get instant help with any topic or concept
- π Exam Preparation: Create and practice with interactive flashcards
- π Progress Tracking: Monitor your learning journey and achievements
- π Lesson Planning: Organize teaching materials and resources
- π§ Content Creation: Generate structured educational content quickly
- π Student Progress: Track learning outcomes and engagement
- π‘ Teaching Enhancement: Use AI to explain complex concepts
- π Skill Development: Organize learning materials for new skills
- π― Training Documentation: Create and maintain training resources
- π Research Organization: Structure research notes and findings
- πΌ Knowledge Management: Build comprehensive knowledge bases