Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

StudyLeave πŸŽ“βœ¨

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.

πŸ€– Advanced AI Features

Intelligent AI Tutor

  • 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

Revolutionary Text Explanation

  • 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

Smart Content Management

  • 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

πŸ“ Advanced Note-Taking System

Rich Text Editor

  • 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

AI-Enhanced Writing

  • 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

🧠 Comprehensive Study Tools

Interactive Flashcards

  • 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

Subject Management

  • 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

Quick Notes & Search

  • 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

🎨 Modern User Experience

Responsive Design

  • 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

Smart Interface

  • 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

πŸš€ Technical Excellence

Performance & Reliability

  • 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

Modern Architecture

  • 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

πŸ“¦ Quick Setup

Development

# Clone and navigate to the project
cd StudyLeave

# Install dependencies
npm install

# Start development server
npm run dev

Visit http://localhost:3000 to experience StudyLeave!

Environment Configuration

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.local file is automatically ignored by Git.

🌐 Deployment Options

Vercel (Recommended)

  1. Create a new project on Vercel Dashboard
  2. Connect your GitHub repository
  3. Add environment variables:
    • OPENAI_API_KEY: Your OpenAI API key
    • MODEL_NAME: gpt-4o
  4. Deploy with one click!

Other Platforms

StudyLeave works seamlessly on any platform that supports Next.js:

  • Netlify
  • Railway
  • Heroku
  • DigitalOcean App Platform

πŸ›  Built With

Core Technologies

  • 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

Key Libraries

  • 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

🎯 Use Cases

For Students

  • πŸ“š 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

For Educators

  • πŸ“ 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

For Professionals

  • πŸ“– 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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages