How watninja68/projecttheata_frontend works
Project type and purpose
• This is a single-page React application (bootstrapped with Create React App) with PWA capabilities.
• It serves as a multimedia chat/agent interface: capturing audio, camera video, screen shares, transcribing speech, and interacting with AI agents (Gemini, Deepgram, WolframAlpha, Google Search).
• It relies on Supabase as a backend (for auth, storage or real-time features) and uses WebSockets for streaming or event handling.
File structure
• Top level: package.json, public/, src/
• public/: static assets (HTML shell, audio worklet script, PWA manifest)
• src/: React entry (index.js), core App, global CSS, reportWebVitals, tests
• src/components/: UI building blocks (AudioVisualizerComponent, ChatMessage, MediaControls, SettingsDialog, etc.)
• src/hooks/: custom React hooks orchestrating auth, AI agent interactions, settings
• src/lib/: functional libraries grouped by domain
• audio (recorder, streamer, visualizer, worklets)
• camera, screen capture
• supabase client
• websocket client
• tools (Google search, WolframAlpha, tool manager)
• transcription (Deepgram)
• utils and config
README
• Confirms use of CRA build, test, eject, deploy scripts
• No backend code shipped—implies all server-side is external (Supabase or third-party APIs)