How srikargovindula/sih_mindsaathi works
Smriti-NER is a local-first cognitive therapy and memory-support application for older adults with dementia or MCI, with caregiver and clinician tools. The patient workflow is to enter the app, choose a culturally grounded game or wellness activity, receive adaptive feedback, and have session data retained for tracking and later sync. Reminders, multilingual voice interaction, reminiscence, dashboards, and offline PWA operation are distinct supporting capabilities. The graph follows documented capabilities and sampled call paths; some unsampled module wiring is therefore left unspecified.
Main entry points: app.js Game selection · storage-db.js IndexedDB and sync queue · memory-match.js Memory match · cogni-adapt-engine.js CogniAdapt engine
Components 25
Patient experience
- App navigation
js/app.js - Game selection
js/app.js
Cognitive therapy
- Memory match
js/games/memory-match.js - Tea garden
js/games/tea-garden.js - Routine sequence
js/games/routine-sequence.js - Pattern weave
js/games/pattern-weave.js - Calm breathing
js/games/calm-breathing.js - CogniAdapt engine
js/cogni-adapt-engine.js - Reminiscence prompts
js/reminiscence-engine.js
Care support
- Smart reminders
js/reminders.js - Caregiver dashboard
js/caregiver-dashboard.js - Doctor portal
js/doctor-dashboard.js - Role access
js/auth-manager.js
Local data and sync
- IndexedDB and sync queue
js/storage-db.js - Telemetry API
backend/server.py - Backend telemetry store
backend/server.py
Language and offline
- Voice assistant
js/voice-assistant.js - Translations
js/i18n.js - AI caretaker
js/ai-caretaker.js - Fallback responses
js/ai-caretaker-responses.js - Gemini service
js/gemini-ai-service.js - Offline app cache
sw.js
Other components
- Older adult
- Caregiver / ASHA
- Network / sync service
Connections 28
- Older adult → App navigation: uses
- Caregiver / ASHA → App navigation: opens portal
- App navigation → Role access: checks role
- App navigation → Game selection: routes to
- Game selection → Memory match: starts
- Game selection → Tea garden: starts
- Game selection → Routine sequence: starts
- Game selection → Pattern weave: starts
- Game selection → Calm breathing: starts
- Memory match → CogniAdapt engine: starts session
- Routine sequence → CogniAdapt engine: starts session
- Pattern weave → CogniAdapt engine: starts session
- Memory match → Voice assistant: speaks story
- Memory match → Reminiscence prompts: uses prompts
- Calm breathing → Caregiver dashboard: logs mood
- CogniAdapt engine → IndexedDB and sync queue: stores telemetry
- Smart reminders → IndexedDB and sync queue: stores logs
- Caregiver dashboard → IndexedDB and sync queue: reads history
- Doctor portal → IndexedDB and sync queue: reads records
- App navigation → Translations: sets language
- App navigation → Voice assistant: plays greeting
- AI caretaker → Fallback responses: uses fallbacks
- AI caretaker → Gemini service: requests response
- Reminiscence prompts → Voice assistant: adds chat bubble
- IndexedDB and sync queue → Telemetry API: posts queued items
- Network / sync service → Telemetry API: serves sync API
- Telemetry API → Backend telemetry store: reads and writes
- Offline app cache → Network / sync service: fetches uncached assets