How rharshith2005/glanceflowai works
GlanceFlow turns camera, voice, or pasted input into structured tasks and deadlines, then presents and stores them as visual “glances.” The README documents offline OCR/ASR, local and optional cloud understanding, calendar/archive views, companion sync, and reminders. The supplied source excerpts contain no runtime code, so relationships below are based on README statements; implementation-level wiring cannot be verified.
Main entry points: AIUnderstandingEngine.kt Understanding Interface · CaptureScreen.kt Capture Screen · ImagePreprocessor.kt Image Preprocessor · TextRecognitionEngine.kt Text Recognition
Components 23
Capture & Recognition
- Capture Screen
app/src/main/java/com/example/ui/capture/CaptureScreen.kt - Image Preprocessor
app/src/main/java/com/example/ai/preprocessing/ImagePreprocessor.kt - Text Recognition
app/src/main/java/com/example/ai/ocr/TextRecognitionEngine.kt - Speech Recognition
app/src/main/java/com/example/ai/speech/SpeechRecognitionEngine.kt
Understanding
- Understanding Interface
app/src/main/java/com/example/ai/understanding/AIUnderstandingEngine.kt - Local Gemma
app/src/main/java/com/example/ai/understanding/GemmaLocalEngine.kt - Offline Rules
app/src/main/java/com/example/ai/understanding/OfflineUnderstandingEngine.kt - Cloud Gemini
app/src/main/java/com/example/ai/understanding/GeminiUnderstandingEngine.kt
Glance Data
- Glance Models
app/src/main/java/com/example/domain/model/GlanceModels.kt - Glance Repository
app/src/main/java/com/example/data/repository/GlanceRepository.kt - Room Database
app/src/main/java/com/example/data/local/GlanceDatabase.kt
App Experience
- Glance ViewModel
app/src/main/java/com/example/ui/viewmodel/GlanceViewModel.kt - Home Screen
app/src/main/java/com/example/ui/home/HomeScreen.kt - Calendar Screen
app/src/main/java/com/example/ui/calendar/CalendarScreen.kt - Glances Archive
app/src/main/java/com/example/ui/glances/GlancesScreen.kt - Settings Screen
app/src/main/java/com/example/ui/settings/SettingsScreen.kt - Sync Screen
app/src/main/java/com/example/ui/sync/SyncScreen.kt
Device Services
- Companion Sync
app/src/main/java/com/example/sync/SyncEngine.kt - Reminder Receiver
app/src/main/java/com/example/notifications/AssignmentReminderReceiver.kt - Notification Manager
app/src/main/java/com/example/notifications/GlanceNotificationManager.kt
Other components
- User
- Gemini Service
- Laptop Browser
Connections 21
- User → Capture Screen: captures input
README.md - Capture Screen → Image Preprocessor: enhances images
README.md - Image Preprocessor → Text Recognition: feeds images
README.md - Capture Screen → Speech Recognition: records voice
README.md - Text Recognition → Understanding Interface: provides text
README.md - Speech Recognition → Understanding Interface: provides speech
README.md - Understanding Interface → Local Gemma: uses local model
README.md - Understanding Interface → Offline Rules: falls back
README.md - Understanding Interface → Cloud Gemini: optionally uses
README.md - Cloud Gemini → Gemini Service: sends requests
README.md - Understanding Interface → Glance Models: structures results
README.md - Glance Models → Glance Repository: persists glances
README.md - Glance Repository → Room Database: stores locally
README.md - User → Home Screen: views glances
README.md - User → Calendar Screen: views upcoming
README.md - User → Glances Archive: browses archive
README.md - User → Settings Screen: manages AI
README.md - User → Sync Screen: opens sync
README.md - Sync Screen → Companion Sync: starts server
README.md - Companion Sync → Laptop Browser: serves dashboard
README.md - Reminder Receiver → Notification Manager: schedules alerts
README.md