How dinakargowdan585/productive works
DHARIN is an offline-first personal productivity web app. Users move through the SPA to plan and complete tasks, review progress and streaks, schedule time, keep Cornell notes and encrypted secrets, or use StandBy focus tools. The shared store fronts IndexedDB-backed local state; optional cloud authentication and synchronization provide multi-device backup. Core feature capabilities are retained from the README, while connections among unsampled modules are omitted or marked unverified rather than inferred. The excerpts show storage and selected feature calls; README statements support the broader cloud and product capabilities.
Main entry points: app.js SPA router · store.js App state service · planner.js Planner and focus · syncEngine.js Cloud sync engine
Components 16
App experience
- SPA router
js/app.js - StandBy display
js/standby.js - Effects and feedback
js/fx.js
Planning and tracking
- Dashboard and streaks
js/dashboard.js - Streak rollover
js/dayRollover.js - Planner and focus
js/planner.js - Calendar blocking
js/calendar.js
Knowledge tools
- Cornell notes
js/notes.js - Encrypted vault
js/vault.js
Persistence and sync
- App state service
js/store.js - IndexedDB
storage/database.js - Entity repositories
storage/repositories/baseRepository.js - Cloud sync engine
storage/sync/syncEngine.js - Supabase auth and cloud
js/supabase.js
Other components
- User
- Supabase service
Connections 23
- User → SPA router: opens and navigates
README.md - SPA router → Dashboard and streaks: selects dashboard
- SPA router → Planner and focus: selects planner
- SPA router → Calendar blocking: selects calendar
- SPA router → Cornell notes: selects notes
- SPA router → Encrypted vault: selects vault
- SPA router → StandBy display: opens StandBy
- SPA router → App state service: initializes storage
js/app.js - Planner and focus → App state service: saves tasks
js/planner.js - Calendar blocking → App state service: saves tasks
js/calendar.js - Cornell notes → App state service: saves notes
js/notes.js - Encrypted vault → App state service: persists vault data
- Dashboard and streaks → App state service: reads progress
js/dashboard.js - Streak rollover → App state service: updates streak state
- StandBy display → Planner and focus: runs focus timer
- Planner and focus → Effects and feedback: plays completion effects
js/planner.js - App state service → Entity repositories: loads and saves entities
- Entity repositories → IndexedDB: reads and writes
storage/repositories/baseRepository.js - App state service → Cloud sync engine: schedules sync
js/store.js - Cloud sync engine → Entity repositories: reads and saves records
storage/sync/syncEngine.js - Cloud sync engine → Supabase service: reconciles remote data
storage/sync/syncEngine.js - SPA router → Supabase auth and cloud: auth actions
js/app.js - Supabase auth and cloud → Supabase service: authenticates and syncs