How sachinguptaa056-gif/echolytix works
EcholytiX is a browser-based assistive communication app. Patients sign in and choose a communication mode: blinks, hand signs, manual Morse, or a remote phone camera input are translated into text that can be spoken aloud or saved as phrase history. The React app routes between these features; its Express backend provides authentication, history, SOS, and remote-camera APIs backed by SQLite. The README documents the major modes and optional AI phrase completion, but sampled source does not show every component’s internal wiring, so uncertain links are omitted.
Main entry points: App.tsx App Router · server.ts Express API · BlinkToText.tsx Blink to Text · RemoteReceiver.tsx Remote Receiver
Components 19
Patient App
- App Router
src/App.tsx - Sign-in
src/components/AuthPortal.tsx - Caregiver Dashboard
src/components/Dashboard.tsx - Emergency SOS
src/components/SosModal.tsx
Communication Modes
- Blink to Text
src/components/BlinkToText.tsx - Sign Recognition
src/components/SignLanguage.tsx - Gesture Classifier
src/utils/gesture.ts - Manual Morse
src/components/MorseTranslator.tsx - Remote Sender
src/components/RemoteSender.tsx - Remote Receiver
src/components/RemoteReceiver.tsx - Remote Helpers
src/utils/remote.ts - Text to Speech
src/components/TextToSpeech.tsx - Audio Helpers
src/utils/sound.ts
Backend Services
- Express API
server.ts
Persistent State
- Database Access
database.ts - SQLite
database.ts
Other components
- Patient
- Gemini API
- Browser Camera
Connections 24
- Patient → App Router: uses
- App Router → Sign-in: routes to
- App Router → Caregiver Dashboard: routes to
- App Router → Blink to Text: routes to
- App Router → Sign Recognition: routes to
- App Router → Manual Morse: routes to
- App Router → Remote Receiver: routes to
- App Router → Remote Sender: routes to
- App Router → Text to Speech: routes to
- App Router → Emergency SOS: opens
- Sign Recognition → Gesture Classifier: classifies
- Blink to Text → Audio Helpers: plays and speaks
- Blink to Text → Remote Helpers: sends events
- Patient → Browser Camera: provides camera
- Browser Camera → Blink to Text: captures blinks
- Browser Camera → Sign Recognition: captures signs
- Remote Sender → Express API: sends camera data
- Remote Receiver → Express API: connects for stream
- Remote Receiver → Remote Helpers: uses
- Express API → Database Access: reads and writes
- Database Access → SQLite: queries
- App Router → Express API: calls API
- Express API → Gemini API: requests completion
- Text to Speech → Audio Helpers: uses speech