How achyuth072/kagelin works
Kagelin is an offline-first productivity PWA for tasks, habits, focus sessions, calendars, reminders, and insights; accounts add cloud sync. The main user workflow is to work with personal productivity data in the app, optionally connect calendars or an account, and review progress or export and back up data. The graph preserves the documented product branches and shows selected runtime layers. Relationships for unsampled features are included only where the README documents them; implementation details for those branches were not inspected.
Main entry points: AppShell.tsx App navigation · TaskView.tsx Tasks and projects · SettingsClient.tsx Settings and backup · page.tsx Calendar
Components 24
App experience
- Home entry
app/page.tsx - App navigation
src/components/layout/AppShell.tsx - Settings and backup
src/components/settings/SettingsClient.tsx
Product workflows
- Tasks and projects
src/components/tasks/TaskView.tsx - Habits
src/components/habits/HabitView.tsx - Focus timer
app/focus/page.tsx - Calendar
app/calendar/page.tsx
Data and privacy
- Task queries
src/lib/hooks/useTasks.ts - Timer state
src/lib/store/timerStore.ts - Authentication
src/components/AuthProvider.tsx - Supabase client
src/lib/supabase/client.ts - Query and mutations
src/components/QueryProvider.tsx - Device data
src/lib/store/uiStore.ts - Content encryption
src/lib/crypto/keyManager.ts - Cloud service
Integrations
- Habit entries
app/api/habits/entry/route.ts - Calendar sync
src/lib/sync/orchestrator.ts - Calendar APIs
app/api/calendar/discover/route.ts - WebDAV backup
app/api/webdav/[[...path]]/route.ts - Calendar providers
Reminders and insights
- Stats and insights
src/components/stats/StatsClient.tsx - Push notifications
app/api/push/send/route.ts - Daily briefings
supabase/functions/daily-briefing/index.ts
Other components
- User
Connections 26
- User → Home entry: opens
app/page.tsx - Home entry → App navigation: renders
- App navigation → Tasks and projects: navigates to
- App navigation → Habits: navigates to
- App navigation → Focus timer: navigates to
- App navigation → Calendar: navigates to
- App navigation → Stats and insights: navigates to
- Tasks and projects → Task queries: loads tasks
- Task queries → Supabase client: queries
src/lib/hooks/useTasks.ts - Habits → Habit entries: records entries
- Focus timer → Timer state: tracks sessions
app/focus/page.tsx - Calendar → Calendar sync: syncs events
- Calendar → Calendar APIs: discovers calendars
app/calendar/page.tsx - Calendar APIs → Calendar providers: connects
- Stats and insights → Task queries: summarizes activity
- User → Authentication: signs in
README.md - Authentication → Supabase client: authenticates
src/components/AuthProvider.tsx - Tasks and projects → Query and mutations: uses mutations
- Query and mutations → Supabase client: uses client
src/components/QueryProvider.tsx - Tasks and projects → Device data: works offline
README.md - Settings and backup → Content encryption: manages keys
- Settings and backup → WebDAV backup: backs up
README.md - Settings and backup → Cloud service: enables sync
README.md - Authentication → Cloud service: enables account sync
README.md - Push notifications → User: sends reminders
README.md - Daily briefings → User: delivers plans
README.md