How lauraevan/polarisbeta works
Polaris One is a browser-based multi-service app presented through a desktop-style shell. Users enter through routed pages, then use browser/app discovery, games and emulation, media and music, AI tools, chat, and account or personalization features. The source index and excerpts confirm the router, shell, settings, authentication, chat, and storage relationships shown; most feature implementations were not sampled, so their links are dashed where the tree alone suggests the capability but does not establish its wiring.
Main entry points: routeTree.gen.ts Page routes · settings.tsx Settings · AppShell.tsx Desktop shell · ChatRoom.tsx Chat rooms
Components 19
App experience
- Router
src/router.tsx - Page routes
src/routeTree.gen.ts - Desktop shell
src/components/polaris/AppShell.tsx
Product features
- Browser and apps
src/routes/apps.tsx - Games and emulation
src/components/polaris/games - Streaming and media
src/components/polaris/streaming - Music
src/components/polaris/music - AI tools
src/components/polaris/ai - Chat rooms
src/components/polaris/chat/ChatRoom.tsx
Identity and settings
- Settings
src/routes/settings.tsx - Profile
src/components/polaris/ProfileSheet.tsx - Authentication
src/lib/auth-context.tsx - Customization
src/components/polaris/premium/ProCustomization.tsx
Data services
- Safe browser storage
src/lib/safe-storage.ts - Music library storage
src/lib/music-storage.ts - Supabase client
src/integrations/supabase/client.ts - Bot commands
src/lib/polaris-bot.ts
Other components
- User
- Supabase
Connections 22
- User → Router: opens app
src/router.tsx - Router → Page routes: loads routes
src/router.tsx - Page routes → Browser and apps: registers page
src/routeTree.gen.ts - Browser and apps → Desktop shell: renders in
src/routes/apps.tsx - Page routes → Games and emulation: routes to
- Page routes → Streaming and media: routes to
- Page routes → Music: routes to
- Page routes → AI tools: routes to
- Page routes → Chat rooms: routes to
- Page routes → Settings: routes to
src/routeTree.gen.ts - Desktop shell → Settings: opens settings
src/routes/settings.tsx - Desktop shell → Profile: shows profile
src/components/polaris/AppShell.tsx - Settings → Customization: renders
src/routes/settings.tsx - Settings → Safe browser storage: uses preferences
- Customization → Safe browser storage: persists settings
src/components/polaris/premium/ProCustomization.tsx - Authentication → Supabase client: queries auth
src/lib/auth-context.tsx - Supabase client → Supabase: connects
- Profile → Authentication: reads identity
src/components/polaris/ProfileSheet.tsx - Chat rooms → Supabase client: reads and writes
src/components/polaris/chat/ChatRoom.tsx - Chat rooms → Bot commands: runs commands
src/components/polaris/chat/ChatRoom.tsx - Music library storage → Safe browser storage: persists library
src/lib/music-storage.ts - Music → Music library storage: uses library