How omsai29-ctrl/daycraft works
My Planner is an offline-first personal planner, usable as a web app or installable PWA, with optional Supabase account sync and an Android file plugin. The main user workflow is to manage schedules and study-life records in the planner, keep changes locally, and optionally sign in to sync across devices. The JavaScript source index identifies the main domain modules, but excerpts do not show most of their call wiring; edges are limited to relationships documented in the README or visible in excerpts.
Main entry points: 08-sync.js Cloud sync and auth · DaycraftFilesPlugin.java Android file access · 01-core.js State and persistence · 06-forms.js Forms and attachments
Components 17
Planner app
- Navigation and events
src/js/07-events.js - State and persistence
src/js/01-core.js - Scheduling logic
src/js/02-logic.js - Dashboard and views
src/js/03-views-a.js - Forms and attachments
src/js/06-forms.js - PWA install and offline shell
dist/sw.js - PWA manifest
dist/manifest.webmanifest
Planning
- Planner and task views
src/js/04-views-b.js - Timetable
src/js/09-timetable.js
Study and tracking
- Study and review views
src/js/05-views-c.js - Flashcards
src/js/09-flashcards.js
Storage and sync
- Browser local storage
- Cloud sync and auth
src/js/08-sync.js - Supabase
Device files
- Android app entry
android/app/src/main/java/com/omsai/daycraft/MainActivity.java - Android file access
android/app/src/main/java/com/omsai/daycraft/DaycraftFilesPlugin.java
Other components
- Planner user
Connections 6
- Planner user → Navigation and events: uses planner
README.md - Planner user → Cloud sync and auth: signs in
README.md - Cloud sync and auth → Supabase: syncs data
README.md - State and persistence → Browser local storage: caches changes
README.md - Android app entry → Android file access: registers plugin
android/app/src/main/java/com/omsai/daycraft/MainActivity.java - Forms and attachments → Android file access: requests device files