How saksham1387/repeet works
Repeet is a local-first Chrome extension for capturing accepted LeetCode solutions, attaching reflection notes, and reviewing problems with spaced repetition. Its main workflow runs from a LeetCode submission through capture and persistence into a review card, then resurfaces due cards for rated recall. The dashboard also supports library management, backups, rescheduling, and activity history; the popup summarizes due work and activity. Relationships for unsampled UI modules are based on README-described capabilities, not inspected implementation.
Main entry points: index.ts Message and deck worker · dashboard/App.tsx Dashboard shell · popup/App.tsx Popup summary · NotePanel.tsx Reflection panel
Components 16
Capture and notes
- Submission detector
src/content/inject.ts - Content entry
src/content/index.tsx - Reflection panel
src/content/NotePanel.tsx
Review scheduling
- SM-2 scheduler
src/shared/srs.ts - Review session
src/dashboard/ReviewTab.tsx
Extension surfaces
- Dashboard shell
src/dashboard/App.tsx - Library and backups
src/dashboard/LibraryTab.tsx - Daily activity log
src/dashboard/DailyLogTab.tsx - Popup summary
src/popup/App.tsx - Theme control
src/components/ThemeToggle.tsx
Shared runtime
- Message and deck worker
src/background/index.ts - Question storage
src/shared/storage.ts - Local deck
- Deck queries
src/shared/query.ts
Other components
- LeetCode
- User
Connections 21
- LeetCode → Submission detector: submits solution
README.md - Submission detector → Message and deck worker: reports accepted
README.md - Content entry → Reflection panel: shows reflection
README.md - Message and deck worker → Question storage: reads and writes
src/background/index.ts - Question storage → Local deck: persists deck
src/shared/storage.ts - Message and deck worker → SM-2 scheduler: applies rating
src/background/index.ts - Message and deck worker → Deck queries: counts due cards
src/background/index.ts - User → Review session: rates recall
README.md - Review session → Message and deck worker: submits review
- User → Reflection panel: writes notes
README.md - Reflection panel → Message and deck worker: saves notes
- User → Library and backups: manages deck
README.md - Library and backups → Message and deck worker: requests deck changes
- Dashboard shell → Review session: hosts review
- Dashboard shell → Library and backups: hosts library
- Dashboard shell → Daily activity log: hosts activity log
- Daily activity log → Deck queries: summarizes activity
- User → Popup summary: opens summary
README.md - Popup summary → Question storage: loads deck
src/popup/App.tsx - Popup summary → Deck queries: computes summary
src/popup/App.tsx - User → Theme control: changes theme
README.md