How maria-biruk/hearme works
HearMe is an accessible conversation interface centered on short Amharic speech recordings: the speaker records audio, the frontend submits it for transcription, and the recognized text appears as captions for the other participant. That participant can reply by typing or choosing a quick reply. The frontend also provides accessibility settings and localized interface text. Backend routing and ASR invocation are visible in the excerpts; the README documents the broader audio-processing/model workflow, but the audio processor implementation was not sampled, so its internal connections are omitted.
Main entry points: Home.jsx Conversation workspace · routes.py API routes · Microphone.jsx Microphone capture · SettingsPanel.jsx Accessibility settings
Components 17
Conversation interface
- Application shell
frontend/src/App.jsx - Conversation workspace
frontend/src/pages/Home.jsx - Microphone capture
frontend/src/components/Microphone.jsx - Caption display
frontend/src/components/CaptionDisplay.jsx - Quick replies
frontend/src/components/QuickReplies.jsx - Accessibility settings
frontend/src/components/SettingsPanel.jsx
Frontend support
- Transcription API client
frontend/src/services/api.js - Interface translations
frontend/src/i18n.js - Settings persistence
frontend/src/settings.js
Transcription backend
- API routes
backend/app/api/routes.py - FastAPI application
backend/app/main.py - API configuration
backend/app/config.py - Audio processing
backend/app/services - ASR service
backend/app/services/asr_service.py
Speech recognition
- Amharic ASR inference
backend/model_code/hearme_asr.py
Other components
- Speaker
- Conversation partner
Connections 27
- Application shell → Conversation workspace: renders
frontend/src/App.jsx - Application shell → Settings persistence: loads and saves
frontend/src/App.jsx - Application shell → Interface translations: uses text
frontend/src/App.jsx - Conversation workspace → Microphone capture: renders
frontend/src/pages/Home.jsx - Conversation workspace → Caption display: renders
frontend/src/pages/Home.jsx - Conversation workspace → Quick replies: renders
frontend/src/pages/Home.jsx - Conversation workspace → Accessibility settings: renders
frontend/src/pages/Home.jsx - Conversation workspace → Transcription API client: checks health
frontend/src/pages/Home.jsx - Microphone capture → Transcription API client: submits recording
frontend/src/components/Microphone.jsx - Microphone capture → Conversation workspace: reports captions
frontend/src/pages/Home.jsx - Quick replies → Conversation workspace: sends reply
frontend/src/pages/Home.jsx - Accessibility settings → Application shell: updates settings
frontend/src/App.jsx - Accessibility settings → Settings persistence: uses defaults
frontend/src/components/SettingsPanel.jsx - Caption display → Interface translations: uses text
frontend/src/components/CaptionDisplay.jsx - Microphone capture → Interface translations: uses text
frontend/src/components/Microphone.jsx - Accessibility settings → Interface translations: uses text
frontend/src/components/SettingsPanel.jsx - Transcription API client → API routes: sends audio
README.md - FastAPI application → API routes: registers routes
backend/app/main.py - API routes → API configuration: checks limits
backend/app/api/routes.py - API routes → ASR service: invokes transcription
backend/app/api/routes.py - ASR service → Amharic ASR inference: loads inference
backend/app/services/asr_service.py - API routes → Transcription API client: returns transcript
README.md - Speaker → Microphone capture: records speech
README.md - Caption display → Conversation partner: shows captions
README.md - Conversation partner → Conversation workspace: types replies
README.md - API routes → Audio processing: processes audio
backend/app/api/routes.py - Audio processing → Amharic ASR inference: feeds recognition