How nixhantb/grind-well works
GrindWell is a local-first trainer for learning algorithm implementations through spaced repetition. Learners browse a fixed pattern/problem curriculum, practice typing solutions from memory, log the quality of each attempt, and return when the scheduler says a repetition is due. Separate screens present protocol guidance and retention data, while progress and accepted solutions persist locally and can be exported or imported. The graph reflects documented capabilities and indexed imports; source excerpts were partial, so uncertain implementation links are omitted.
Main entry points: index.ts Screen routing · progress.ts Progress store · DataView.vue Data management · TrainerView.vue Trainer screen
Components 22
Learning experience
- App shell
src/App.vue - Screen routing
src/router/index.ts - Dashboard
src/views/DashboardView.vue
Curriculum and protocols
- Pattern browser
src/views/PatternsView.vue - Pattern detail
src/views/PatternDetailView.vue - Problem detail
src/views/ProblemDetailView.vue - Curriculum content
src/content/index.ts - Practice protocols
src/views/ProtocolsView.vue - Protocol content
src/content/protocols.ts
Practice and scheduling
- Due queue
src/views/QueueView.vue - Trainer screen
src/views/TrainerView.vue - Typing and rep flow
src/components/MotorTrainer.vue - Code editor
src/components/CodeEditor.vue - Rep scheduler
src/lib/scheduler.ts - Date utilities
src/lib/date.ts
Progress and data
- Progress store
src/stores/progress.ts - Local persistence
src/lib/storage.ts - Data management
src/views/DataView.vue - Backup store
src/stores/backup.ts - JSON backup
src/lib/exportImport.ts - Stuck-line tracking
src/lib/stuckLines.ts
Other components
- Learner
Connections 31
- Learner → App shell: uses
README.md - App shell → Screen routing: renders routes
src/App.vue - Screen routing → Dashboard: routes to
src/router/index.ts - Screen routing → Pattern browser: routes to
src/router/index.ts - Screen routing → Pattern detail: routes to
src/router/index.ts - Screen routing → Problem detail: routes to
src/router/index.ts - Screen routing → Trainer screen: routes to
src/router/index.ts - Screen routing → Due queue: routes to
src/router/index.ts - Screen routing → Practice protocols: routes to
src/router/index.ts - Screen routing → Data management: routes to
src/router/index.ts - Dashboard → Progress store: reads progress
src/views/DashboardView.vue - Dashboard → Rep scheduler: computes streaks
src/views/DashboardView.vue - Pattern browser → Curriculum content: reads curriculum
src/views/PatternsView.vue - Pattern browser → Progress store: reads completion
src/views/PatternsView.vue - Pattern detail → Curriculum content: reads curriculum
src/views/PatternDetailView.vue - Problem detail → Curriculum content: reads curriculum
src/views/ProblemDetailView.vue - Problem detail → Progress store: uses progress
src/views/ProblemDetailView.vue - Practice protocols → Protocol content: renders guidance
src/views/ProtocolsView.vue - Trainer screen → Curriculum content: loads problem
src/views/TrainerView.vue - Trainer screen → Progress store: logs reps
src/views/TrainerView.vue - Trainer screen → Rep scheduler: uses schedule
src/views/TrainerView.vue - Trainer screen → Typing and rep flow: renders trainer
src/views/TrainerView.vue - Typing and rep flow → Code editor: accepts typing
src/components/MotorTrainer.vue - Progress store → Rep scheduler: computes due dates
src/stores/progress.ts - Progress store → Date utilities: gets current date
src/stores/progress.ts - Progress store → Local persistence: reads and writes
src/stores/progress.ts - Data management → Progress store: manages progress
src/views/DataView.vue - Data management → Backup store: uses backup state
src/views/DataView.vue - Data management → JSON backup: exports and imports
src/views/DataView.vue - Data management → Stuck-line tracking: reads stuck lines
src/views/DataView.vue - Data management → Local persistence: manages local data