How peermoh/flowquest works
FlowQuest is a mood-aware task, habit, focus, and learning-path PWA. The main user loop is mood and task selection, focused work, reflection, and progress; separate branches cover AI assistance, learning paths, collaboration/privacy, offline support, and reminders. The large app.js owns much of the client workflow, while sampled edge functions and offline.js show distinct integration layers. Some features are documented but their implementation was not sampled, so their links are omitted rather than inferred.
Main entry points: app.js App workflows · paths Built-in paths · push/index.ts Push scheduler · mcp/index.ts MCP server
Components 23
PWA client
- App workflows
flowquest/app.js - Tasks and habits
flowquest/app.js - Mood suggestions
flowquest/app.js - Focus and reflection
flowquest/app.js - Progress and data
flowquest/app.js - Passkey and lock
flowquest/app.js
Learning and coaching
- Path experience
flowquest/app.js - Built-in paths
flowquest/paths - Roadmap content
flowquest/roadmap.js - Kubernetes path
flowquest/paths/kubernetes.js - Cybersecurity path
flowquest/paths/cybersecurity.js - AI coach prompts
flowquest/coach.js - Competency map
flowquest/coach-competencies.js
Supabase services
- MCP server
flowquest/supabase/functions/mcp/index.ts - Suggestion service
flowquest/supabase/functions/suggest/index.ts - Supabase data
flowquest/supabase/schema.sql
Offline and notifications
- Offline data layer
flowquest/offline.js - PWA worker
flowquest/sw.js - Push scheduler
flowquest/supabase/functions/push/index.ts
Other components
- User
- Claude API
- Web Push
- Claude / MCP client
Connections 23
- User → App workflows: uses
README.md - App workflows → Tasks and habits: manages
README.md - App workflows → Mood suggestions: captures mood
README.md - App workflows → Focus and reflection: runs sessions
README.md - App workflows → Progress and data: reports
README.md - App workflows → Passkey and lock: protects lists
README.md - App workflows → Path experience: presents paths
README.md - Path experience → Built-in paths: loads examples
- Built-in paths → Roadmap content: includes
- Built-in paths → Kubernetes path: includes
- Built-in paths → Cybersecurity path: includes
- App workflows → AI coach prompts: provides prompts
README.md - AI coach prompts → Competency map: uses map
flowquest/coach-competencies.js - Claude / MCP client → MCP server: calls tools
flowquest/supabase/functions/mcp/index.ts - MCP server → Supabase data: reads and writes
flowquest/supabase/functions/mcp/index.ts - App workflows → Suggestion service: requests ranking
- Suggestion service → Claude API: requests ranking
flowquest/supabase/functions/suggest/index.ts - App workflows → Offline data layer: uses fetch layer
- Offline data layer → Supabase data: syncs data
- PWA worker → Push scheduler: receives alerts
- Push scheduler → Web Push: sends notifications
- Push scheduler → Supabase data: reads jobs
flowquest/supabase/functions/push/index.ts - App workflows → MCP server: configures access
README.md