How nisarg-modi/nexoraai works
Nexora is a real-time messaging and communication app with AI assistance, semantic search, translation, calls, document tools, and social features. Users authenticate, enter the main workspace, then choose contacts or conversations and use messaging, search, scanning, or other feature views. The sampled files show the app routing and authentication flow, workspace composition, chat feature integrations, and Supabase access. Other substantial capabilities are represented from the file tree, but their runtime wiring is not inferred where source excerpts do not show it.
Main entry points: Index.tsx Main workspace · client.ts Supabase client · App.tsx App routing · ChatInterface.tsx Chat interface
Components 23
App and identity
- App routing
src/App.tsx - Sign-in and auth
src/pages/Auth.tsx - Auth state
src/hooks/useAuth.tsx - Main workspace
src/pages/Index.tsx
Messaging and search
- Contacts and groups
src/components/ContactsList.tsx - Chat interface
src/components/ChatInterface.tsx - Semantic search
src/components/SemanticSearch.tsx - Search indexing
src/hooks/useSemanticSearch.tsx
Calls and presence
- Call interface
src/components/CallInterface.tsx - WebRTC calls
src/hooks/useWebRTC.tsx - Incoming call listener
src/components/GlobalIncomingCallListener.tsx - Online presence
src/hooks/useOnlinePresence.tsx
AI and utilities
- Nexora AI chat
src/components/NexoraAIChat.tsx - Scan and translate
src/components/ScannerTranslator.tsx - Document wallet
src/components/DocumentWallet.tsx
Social and account
- Profile editor
src/components/ProfileEditor.tsx - Communities
src/hooks/useCommunities.tsx - Streams
src/hooks/useStreams.tsx - Admin dashboard
src/components/AdminDashboard.tsx
Backend services
- Supabase client
src/integrations/supabase/client.ts - Supabase functions
supabase/functions - MCP tools
src/lib/mcp
Other components
- User
Connections 31
- User → App routing: opens
src/App.tsx - App routing → Auth state: checks session
src/App.tsx - App routing → Sign-in and auth: routes to
src/App.tsx - Sign-in and auth → Supabase client: authenticates
src/pages/Auth.tsx - Auth state → Supabase client: reads auth
src/hooks/useAuth.tsx - App routing → Main workspace: routes to
src/App.tsx - Main workspace → Auth state: uses
src/pages/Index.tsx - Main workspace → Contacts and groups: renders
src/pages/Index.tsx - Main workspace → Chat interface: renders
src/pages/Index.tsx - Main workspace → Semantic search: renders
src/pages/Index.tsx - Main workspace → Scan and translate: renders
src/pages/Index.tsx - Main workspace → Profile editor: renders
src/pages/Index.tsx - Main workspace → Admin dashboard: renders
src/pages/Index.tsx - Contacts and groups → Supabase client: accesses data
src/components/ContactsList.tsx - Chat interface → Supabase client: accesses data
src/components/ChatInterface.tsx - Chat interface → Nexora AI chat: includes
src/components/ChatInterface.tsx - Chat interface → Call interface: includes
src/components/ChatInterface.tsx - Semantic search → Supabase client: searches
src/components/SemanticSearch.tsx - Search indexing → Supabase client: subscribes to messages
src/hooks/useSemanticSearch.tsx - Call interface → WebRTC calls: uses
- App routing → Incoming call listener: mounts
src/App.tsx - Incoming call listener → Supabase client: listens for calls
src/components/GlobalIncomingCallListener.tsx - Online presence → Supabase client: tracks presence
src/hooks/useOnlinePresence.tsx - Main workspace → Online presence: initializes
src/pages/Index.tsx - Search indexing → Supabase functions: invokes embedding
src/hooks/useSemanticSearch.tsx - Main workspace → Communities: offers feature
- Main workspace → Streams: offers feature
- Document wallet → Supabase client: accesses data
src/components/DocumentWallet.tsx - Profile editor → Supabase client: accesses data
- Admin dashboard → Supabase client: accesses data
src/components/AdminDashboard.tsx - MCP tools → Supabase client: queries data