How arnaaavvv/catalyst works
Catalyst is a single-user life-management app connecting health, habits, goals, tasks, and academics. A user authenticates, enters the app, and works across domain views backed by shared state; Quick Add turns natural-language input into typed records. Derived metrics power daily tracking, timelines, and insights, while account reports summarize activity. The README documents Gemini parsing with a local regex fallback and Supabase for auth and persistence. Some subsystem links are documented rather than verified in sampled implementation, so those are marked dashed.
Main entry points: App.tsx App shell · useLifeOSStore.ts LifeOS state · CommandPalette.tsx Quick Add · route.ts Quick Add parser API
Components 22
App entry and navigation
- App shell
components/App.tsx - Authentication
components/auth/AuthScreen.tsx - Navigation
components/layout/NavRail.tsx - Quick Add
components/quickadd/CommandPalette.tsx - Quick Add parser API
app/api/parse/route.ts
Life tracking domains
- Today
components/views/TodayView.tsx - Health tracking
components/views/HealthView.tsx - Habit tracking
components/views/HabitsView.tsx - Goals map
components/views/GoalsView.tsx - Task management
components/views/TasksView.tsx - Academics
components/views/AcademicsView.tsx
Insights and account
- Timeline
components/views/TimelineView.tsx - Insights
components/views/InsightsView.tsx - Account report
components/account/ReportView.tsx - Personality analysis
lib/personality.ts
State and integrations
- LifeOS state
hooks/useLifeOSStore.ts - Derived metrics
lib/derived.ts - State persistence
lib/storage.ts - Auth services
lib/auth.ts - Supabase
lib/supabaseClient.ts
Other components
- User
- Gemini API
Connections 32
- User → App shell: uses
README.md - App shell → Authentication: shows when signed out
components/App.tsx - App shell → Auth services: checks session
components/App.tsx - App shell → Navigation: renders navigation
components/App.tsx - App shell → Quick Add: opens
components/App.tsx - App shell → LifeOS state: loads user state
components/App.tsx - App shell → Today: selects view
components/App.tsx - App shell → Health tracking: selects view
components/App.tsx - App shell → Habit tracking: selects view
components/App.tsx - App shell → Goals map: selects view
components/App.tsx - App shell → Task management: selects view
components/App.tsx - App shell → Academics: selects view
components/App.tsx - App shell → Timeline: selects view
components/App.tsx - App shell → Insights: selects view
components/App.tsx - Quick Add → LifeOS state: adds typed records
components/quickadd/CommandPalette.tsx - Quick Add → Quick Add parser API: parses sentences
README.md - Quick Add parser API → Gemini API: uses for parsing
README.md - Quick Add parser API → Quick Add: returns parsed result
README.md - Today → LifeOS state: reads and updates
components/views/TodayView.tsx - Health tracking → LifeOS state: reads and updates
components/views/HealthView.tsx - Habit tracking → LifeOS state: reads and updates
components/views/HabitsView.tsx - Goals map → LifeOS state: reads and updates
components/views/GoalsView.tsx - Task management → LifeOS state: reads and updates
components/views/TasksView.tsx - Academics → LifeOS state: reads and updates
components/views/AcademicsView.tsx - Timeline → Derived metrics: uses activity data
components/views/TimelineView.tsx - Insights → Derived metrics: computes metrics
components/views/InsightsView.tsx - Insights → Personality analysis: uses analysis
components/views/InsightsView.tsx - Account report → Derived metrics: summarizes activity
components/account/ReportView.tsx - Account report → Personality analysis: uses analysis
components/account/ReportView.tsx - LifeOS state → State persistence: loads and saves
hooks/useLifeOSStore.ts - State persistence → Supabase: persists data
lib/storage.ts - Auth services → Supabase: authenticates and reads profiles
lib/auth.ts