A comprehensive student learning platform with AI-powered focus tracking, PDF summarization, beautiful UI, and interactive study materials.
π Beautiful Login System - Stunning authentication with particle effects
π Welcome Screen - Personalized onboarding experience
π¨ Ultra-Modern UI - Glassmorphism design with smooth animations
π Session Management - Smart login/logout with auto-extension
π± Mobile Optimized - Perfect experience on all devices
- Real-time camera monitoring to track student attention levels
- Eye tracking technology using face detection APIs
- Focus analytics with detailed charts and statistics
- Session management with start/stop controls
- Data persistence to track progress over time
- AI-powered summarization using OpenAI GPT-3.5-turbo
- Drag-and-drop upload for easy file handling
- Comprehensive summaries with key topics, takeaways, and study tips
- Fallback mode for offline functionality
- Progress tracking of summarized documents
- Multiple subjects including Mathematics, Computer Science, Science, Languages, History, and Arts
- Interactive learning paths for different skill levels
- Programming language resources with hands-on tools
- Practice exercises and quizzes
- Progress tracking per subject
- Real-time statistics showing study time, focus levels, and achievements
- Interactive charts displaying focus trends over time
- Activity tracking with detailed session logs
- Insights and recommendations based on performance
- Data export functionality
- Pomodoro timer for focused study sessions
- Flashcards for memorization
- Todo lists for task management
- Progress trackers for goal setting
- Modern web browser (Chrome, Firefox, Safari, Edge)
- Camera access for focus tracking
- Internet connection for PDF summarization
- OpenAI API key (provided)
-
Download or clone the project files
git clone <repository-url> cd edu-tech -
Open the website
- Simply open
index.htmlin your web browser - Or use a local web server (recommended):
# Using Python python -m http.server 8000 # Using Node.js npx serve . # Using Live Server extension in VS Code
- Simply open
-
Access the website
- Open your browser and go to
http://localhost:8000(if using local server) - Or directly open the
index.htmlfile
- Open your browser and go to
- Navigate to the Focus Tracker section
- Click "Start Tracking" to begin monitoring
- Allow camera access when prompted
- Position yourself in front of the camera
- The system will track your focus levels in real-time
- Click "Stop Tracking" to end the session
- Go to the PDF Summarizer section
- Upload a PDF file by:
- Clicking "Choose File" button
- Or dragging and dropping the file
- Wait for the AI to process and summarize
- Review the comprehensive summary with key insights
- Use the "Upload Another" button for additional files
- Visit the Study Materials section
- Choose from available subjects
- Click on any subject card to explore resources
- Access interactive tools and practice exercises
- Track your progress through each topic
- Check the Dashboard for your statistics
- View focus trends and study time
- Review recent activity and achievements
- Export your data for external analysis
- Frontend: HTML5, CSS3, JavaScript (ES6+)
- Styling: Custom CSS with responsive design
- Charts: Chart.js for data visualization
- Face Detection: Face-api.js library
- PDF Processing: PDF.js library
- AI Integration: OpenAI API for text summarization
edu-tech/
βββ index.html # Main homepage
βββ css/
β βββ styles.css # All styling
βββ js/
β βββ app.js # Main application logic
β βββ focus-tracker.js # Focus tracking functionality
β βββ pdf-summarizer.js # PDF processing and AI integration
β βββ dashboard.js # Analytics and charts
βββ pages/
β βββ mathematics.html # Mathematics resources
β βββ computer-science.html # Computer Science resources
βββ images/ # Image assets
- Chrome 70+ β
- Firefox 65+ β
- Safari 12+ β
- Edge 79+ β
- Lazy loading for better performance
- Responsive design for all devices
- Local storage for offline data persistence
- Progressive enhancement for graceful degradation
The OpenAI API key is already configured in the code. If you need to update it:
- Open
js/pdf-summarizer.js - Update the
apiKeyvariable with your new key - Ensure you have sufficient API credits
Adjust focus tracking sensitivity in the Profile section:
- Go to Profile > Preferences
- Use the Focus Sensitivity slider (1-10)
- Higher values = more sensitive detection
- Gradient backgrounds with professional color scheme
- Glass morphism effects for modern appearance
- Smooth animations and transitions
- Interactive hover effects
- Responsive layout for all screen sizes
- High contrast color combinations
- Keyboard navigation support
- Screen reader friendly markup
- Focus indicators for better usability
The website is fully responsive and works on:
- π± Smartphones (iOS/Android)
- π Tablets (iPad, Android tablets)
- π» Laptops (All screen sizes)
- π₯οΈ Desktops (All resolutions)
- Touch-friendly interface
- Swipe gestures support
- Mobile-optimized navigation
- Responsive text and images
- Local storage only - no data sent to external servers (except OpenAI for summarization)
- Camera data processed locally - never stored or transmitted
- PDF content only sent to OpenAI for summarization
- User preferences stored locally in browser
- HTTPS required for camera access
- No user registration required
- Privacy-focused design
- Secure API communication
- Sit up straight and face the camera directly
- Minimize distractions in your environment
- Take breaks when focus levels drop
- Review analytics to identify patterns
- Upload clear PDFs with readable text
- Start with shorter documents to test the system
- Review summaries carefully and take notes
- Use summaries as study guides, not replacements for reading
- Set daily goals using the dashboard
- Use the Pomodoro timer for focused sessions
- Track progress across different subjects
- Review analytics weekly to adjust study habits
Camera not working:
- Ensure camera permissions are granted
- Check if camera is being used by another application
- Try refreshing the page and allowing permissions again
PDF upload fails:
- Check file size (must be under 10MB)
- Ensure file is a valid PDF format
- Try with a different PDF file
Focus tracking inaccurate:
- Improve lighting conditions
- Position camera at eye level
- Adjust sensitivity in settings
- Minimize background movement
Charts not displaying:
- Ensure JavaScript is enabled
- Check browser compatibility
- Clear browser cache and reload
Ctrl/Cmd + D- Go to DashboardCtrl/Cmd + F- Start Focus TrackingCtrl/Cmd + P- Open PDF SummarizerCtrl/Cmd + S- Open Study Materials
- Go to Dashboard
- Click "Export Data" button
- Save the JSON file with all your data
- Import later or use with external tools
The website supports preference customization:
- Light/Dark mode toggle
- Focus sensitivity adjustment
- Notification preferences
- Improved focus through real-time monitoring
- Better comprehension with AI-generated summaries
- Organized learning with structured materials
- Progress tracking for motivation
- Student engagement insights through analytics
- Study pattern analysis for better guidance
- Resource organization with categorized materials
- Performance tracking across subjects
If you encounter any issues or need help:
- Check this README for common solutions
- Review browser console for error messages
- Ensure all permissions are granted
- Try in a different browser if issues persist
Planned features for future versions:
- Voice recognition for hands-free control
- Collaborative study rooms
- Advanced AI tutoring with personalized responses
- Integration with learning management systems
- Offline mode with local AI models
- Mobile app for iOS and Android
This project uses several open-source libraries and services:
- Chart.js for data visualization
- Face-api.js for face detection
- PDF.js for PDF processing
- OpenAI API for text summarization
- Font Awesome for icons
- Inter Font for typography
Happy Learning! πβ¨
Start your focused learning journey today and track your progress with EduFocus!