How aryansharma-hub/signsense works
SignSense is a two-way communication aid: a signer composes signs through direct manipulation, while a hearing person speaks or types for conversion into signs. Both directions feed one conversation transcript and use the same signer performer. The graph preserves the documented offline and optional AI tiers, vocabulary service, and draft-data store. Some subsystem internals were not excerpted, so documented relationships are included while uncertain implementation links are omitted.
Main entry points: app.js API router · Stage.jsx Shared signing stage · useSpeechToText.js Speech recognition · useReverseAssembler.js Speech turn controller
Components 30
Client experience
- App coordinator
client/src/App.jsx - Conversation transcript
client/src/components/Conversation.jsx - Shared signing stage
client/src/components/Stage.jsx - Signer figure
client/src/components/SignerDummy.jsx - Pose and movement
client/src/lib/pose.js - API client
client/src/api/client.js
Sign composition
- Sign composer
client/src/hooks/useComposer.js - Parameter controls
client/src/components/ParameterPanels.jsx - Step timeline
client/src/components/StepsBar.jsx - Sign suggestions
client/src/components/Suggestions.jsx - Parameter search
client/src/lib/search.js - Sentence builder
client/src/components/SentenceBuilder.jsx - Sentence assembly
client/src/lib/sentenceAssembler
Speech to sign
- Speech recognition
client/src/hooks/useSpeechToText.js - Browser recognition
client/src/lib/stt/nativeTier.js - Server transcription
client/src/lib/stt/serverTier.js - Speech turn controller
client/src/hooks/useReverseAssembler.js - Speech to concepts
client/src/lib/speechToGloss
API and vocabulary
- API router
server/src/app.js - Vocabulary service
server/src/routes/vocabulary.js - AI endpoints
server/src/routes/ai.js - Transcription endpoint
server/src/routes/stt.js - LLM integration
server/src/llm.js - Vocabulary queries
server/src/db/queries.js - Vocabulary database
server/src/db/adapter.js - Service configuration
server/src/config.js
Other components
- Signer
- Hearing person
- Anthropic API
- Transcription API
Connections 34
- Signer → Parameter controls: sets parameters
- Parameter controls → Sign composer: updates steps
client/src/App.jsx - Step timeline → Sign composer: edits steps
client/src/App.jsx - Sign composer → Shared signing stage: supplies pose
client/src/App.jsx - Sign suggestions → Parameter search: searches parameters
- Parameter search → API router: loads vocabulary
- Sentence builder → Sentence assembly: assembles glosses
client/src/components/SentenceBuilder.jsx - Sentence builder → Shared signing stage: requests playback
- Sentence builder → Conversation transcript: adds signer turn
client/src/App.jsx - Hearing person → Speech recognition: speaks or types
- Speech recognition → Browser recognition: selects tier
client/src/hooks/useSpeechToText.js - Speech recognition → Server transcription: selects tier
client/src/hooks/useSpeechToText.js - Speech recognition → Speech turn controller: submits transcript
client/src/App.jsx - Speech turn controller → Speech to concepts: analyzes transcript
client/src/hooks/useReverseAssembler.js - Speech turn controller → Shared signing stage: performs signs
client/src/hooks/useReverseAssembler.js - Speech turn controller → Conversation transcript: adds hearing turn
client/src/App.jsx - Shared signing stage → Signer figure: renders signs
client/src/components/Stage.jsx - Signer figure → Pose and movement: uses targets
client/src/components/SignerDummy.jsx - App coordinator → Conversation transcript: displays turns
client/src/App.jsx - App coordinator → Sign composer: creates state
client/src/App.jsx - App coordinator → Shared signing stage: shows performer
client/src/App.jsx - API client → API router: requests endpoints
- API router → Vocabulary service: routes requests
server/src/app.js - API router → AI endpoints: routes requests
server/src/app.js - API router → Transcription endpoint: routes requests
server/src/app.js - Vocabulary service → Vocabulary queries: reads vocabulary
server/src/routes/vocabulary.js - AI endpoints → Vocabulary queries: loads keywords
server/src/routes/ai.js - AI endpoints → LLM integration: requests completion
server/src/routes/ai.js - LLM integration → Anthropic API: sends prompt
server/src/llm.js - Vocabulary queries → Vocabulary database: queries data
- Server transcription → Transcription endpoint: uploads audio
- Transcription endpoint → Transcription API: requests transcription
- Service configuration → Anthropic API: configures access
- Service configuration → Transcription API: configures access