How harsha-27-cyber/seri-ai works
Seri is a multilingual screen-understanding and voice assistant. Users upload a screenshot from the home or analyzer view; the frontend sends it to the backend, then presents the returned explanation and safety guidance. Voice interaction and spoken output are separate capabilities. The README describes backend AI, risk, language, and voice services, but the sampled backend excerpt is incomplete, so those internals are represented together rather than as independently verified modules. The desktop assistant is present in the tree, but its behavior is not described in the shown evidence.
Main entry points: api.js API and audio client · App.jsx App flow · Home.jsx Screenshot upload · main.py Screen and voice services
Components 14
Web experience
- App flow
frontend/src/App.jsx - Screenshot upload
frontend/src/pages/Home.jsx - Screen analyzer
frontend/src/components/ScreenAnalyzer.jsx - Scan progress
frontend/src/components/ScanAnimation.jsx - Safety results
frontend/src/pages/Result.jsx - Translations
frontend/src/services/i18n.js - API and audio client
frontend/src/services/api.js
Voice interaction
- Voice overlay
frontend/src/components/SeriOverlay.jsx - Voice assistant
frontend/src/components/SeriVoiceAssistant.jsx
Analysis backend
- Screen and voice services
backend/main.py - Multimodal AI
- Google TTS
Desktop assistant
- Desktop assistant
desktop_assistant/seri_desktop.py
Other components
- User
Connections 18
- User → Screenshot upload: uploads screen
frontend/src/pages/Home.jsx - App flow → Screenshot upload: renders home
frontend/src/App.jsx - App flow → Screen analyzer: renders analyzer
frontend/src/App.jsx - App flow → Scan progress: shows progress
frontend/src/App.jsx - App flow → Safety results: shows result
frontend/src/App.jsx - Screenshot upload → API and audio client: submits screenshot
frontend/src/pages/Home.jsx - Screen analyzer → API and audio client: submits screenshot
frontend/src/components/ScreenAnalyzer.jsx - API and audio client → Screen and voice services: calls REST API
frontend/src/services/api.js - Screen and voice services → Multimodal AI: analyzes screen
README.md - Safety results → API and audio client: requests audio
frontend/src/pages/Result.jsx - Safety results → Translations: gets labels
frontend/src/pages/Result.jsx - Screenshot upload → Translations: gets labels
frontend/src/pages/Home.jsx - Voice overlay → API and audio client: sends voice command
frontend/src/components/SeriOverlay.jsx - Voice overlay → Translations: gets labels
frontend/src/components/SeriOverlay.jsx - Voice assistant → API and audio client: sends voice command
frontend/src/components/SeriVoiceAssistant.jsx - API and audio client → Screen and voice services: requests TTS
frontend/src/services/api.js - Screen and voice services → Google TTS: fetches speech audio
backend/main.py - App flow → Voice overlay: renders assistant
frontend/src/App.jsx