How nghia2904/notein works
NoteIn is a personal schedule app with mobile maintenance and finance features, plus a broader web workspace. The main workflow is selecting a day or daily schedule, reading and editing schedule data through the local API/store, and deriving a timeline; mobile app coordination also syncs lock-screen activity and Android notifications. README documents persistence and major platform capabilities. Some feature modules were not excerpted, so their internal relationships are included only where the source index or README supports them.
Main entry points: index.tsx Home screen · WebWorkspace.tsx Web workspace · VehicleMaintenanceModal.tsx Vehicle maintenance · MonthlyExpensesModal.tsx Expense ledger
Components 28
Schedule
- Home screen
src/app/index.tsx - Daily schedule
src/components/DailyTab.tsx - Calendar events
src/components/CalendarTab.tsx - Settings
src/components/OtherTab.tsx
State and logic
- Schedule API
src/api/schedule.api.ts - Timeline engine
src/engine/schedule.ts - Persisted state
src/store/scheduleStore.ts - Schedule types
src/types/schedule.ts
Mobile integrations
- Live Activity sync
src/services/lockScreenSync.ts - Android schedule alerts
src/services/androidScheduleNotification.ts - iOS widget bridge
plugins/withNoteInLockScreen.js - Maintenance reminders
src/services/maintenanceNotifications.ts
Personal tools
- Periodic tools
src/components/PeriodicTab.tsx - Vehicle maintenance
src/components/VehicleMaintenanceModal.tsx - Maintenance engine
src/maintenance/engine.ts - Vehicle parts catalog
src/maintenance/catalog.ts - Expense ledger
src/components/MonthlyExpensesModal.tsx - Expense engine
src/expenses/engine.ts - Expense catalog
src/expenses/catalog.ts
Web workspace
- Web workspace
src/components/web/WebWorkspace.tsx - Web dashboard
src/components/web/WebDashboardTab.tsx - Web finance
src/components/web/WebFinanceTab.tsx - Web projects
src/components/web/WebProjectTab.tsx - Web quick notes
src/components/web/WebQuickNoteTab.tsx - Web reminders
src/components/web/WebReminderTab.tsx - Web tasks
src/components/web/WebTasksTab.tsx
Other components
- User
- Mobile OS
Connections 31
- User → Home screen: uses
- Home screen → Daily schedule: renders
src/app/index.tsx - Home screen → Calendar events: renders
src/app/index.tsx - Home screen → Settings: renders
src/app/index.tsx - Home screen → Periodic tools: renders
src/app/index.tsx - Daily schedule → Schedule API: reads and edits
src/components/DailyTab.tsx - Calendar events → Schedule API: reads and edits
src/components/CalendarTab.tsx - Schedule API → Persisted state: reads and writes
src/api/schedule.api.ts - Schedule API → Timeline engine: builds timeline
src/api/schedule.api.ts - Timeline engine → Schedule types: uses types
src/engine/schedule.ts - Persisted state → Schedule types: stores schedule data
src/store/scheduleStore.ts - Home screen → Live Activity sync: syncs activity
src/app/index.tsx - Home screen → Android schedule alerts: refreshes alerts
src/app/index.tsx - Live Activity sync → Mobile OS: updates Live Activity
- iOS widget bridge → Mobile OS: provides widget bridge
- Periodic tools → Vehicle maintenance: opens
src/components/PeriodicTab.tsx - Vehicle maintenance → Maintenance engine: calculates status
src/components/VehicleMaintenanceModal.tsx - Vehicle maintenance → Vehicle parts catalog: loads part definitions
src/components/VehicleMaintenanceModal.tsx - Vehicle maintenance → Persisted state: reads and updates
src/components/VehicleMaintenanceModal.tsx - Vehicle maintenance → Maintenance reminders: schedules reminders
src/components/VehicleMaintenanceModal.tsx - Maintenance reminders → Mobile OS: schedules alerts
- Periodic tools → Expense ledger: opens
src/components/PeriodicTab.tsx - Expense ledger → Expense engine: calculates ledger
src/components/MonthlyExpensesModal.tsx - Expense ledger → Expense catalog: uses categories
src/components/MonthlyExpensesModal.tsx - Expense ledger → Persisted state: reads and updates
src/components/MonthlyExpensesModal.tsx - Web workspace → Web dashboard: hosts
- Web workspace → Web finance: hosts
- Web workspace → Web projects: hosts
- Web workspace → Web quick notes: hosts
- Web workspace → Web reminders: hosts
- Web workspace → Web tasks: hosts