FocusForge - Learning Focus App

A Tauri 2.0 desktop application for enhanced learning through Pomodoro-style focus sessions, AI-powered knowledge consolidation, and gamification. Features TensorFlow.js face detection for distraction tracking with eye gaze analysis, Gemini AI (2.5 Flash / 3 Pro) for Socratic learning analysis, AI Timer Assistant v2 with context-aware recommendations, 11 achievement badges, Analytics Dashboard with productivity heatmap, and global Quick Notes (Ctrl+Alt+N).

Proof points

  • Face Detection
  • AI Timer Assistant
  • 11 Badges

Technologies

Tauri 2.0, React, TypeScript, TensorFlow.js, Gemini AI, SQLite, Zustand

Links

Problem

Students and learners struggle with maintaining focus during study sessions and lack tools to track their attention and consolidate knowledge effectively.

Approach

Built a Tauri 2.0 desktop app with TensorFlow.js MediaPipe face detection to track eye gaze and detect distractions. Integrated Gemini AI (2.5 Flash / 3 Pro) for post-session Socratic analysis that compares active recall with session notes. Added AI Timer Assistant v2 with dual integration points (task selector + task creation) providing context-aware timer suggestions based on topic complexity, learning style, and energy level. Gamification with 11 achievement badges across streak, focus, and milestone categories.

Results

Cross-platform desktop app with real-time distraction detection, AI-powered learning consolidation, and comprehensive badge system. Features system tray integration with live timer display, global shortcuts (Ctrl+Alt+N for quick notes), Picture-in-Picture camera mode, cross-window state sync via Tauri events, and desktop + Pushover phone notifications.