777genius/voice-to-text
Voice to text using AI. Onlline/Offline mode.
What's novel
Voice to text using AI. Onlline/Offline mode.
Code Analysis
6 files read · 2 roundsA robust, pluggable Speech-to-Text (STT) engine for Tauri applications that supports local Whisper models and cloud providers (Deepgram, AssemblyAI), featuring persistent WebSocket connections, audio level visualization, and intelligent stall recovery.
Strengths
Exceptional adherence to Clean Architecture with strict separation between domain ports and infrastructure implementations. The error handling is sophisticated, providing structured connection details rather than generic strings, and the system handles edge cases like zero-sample streams and network stalls gracefully.
Weaknesses
Test coverage appears moderate; while unit tests exist for providers, integration tests covering the full audio pipeline and complex stall scenarios might be limited. Some internal state management in the main controller relies on `Arc` which can make debugging concurrent state slightly harder if not carefully managed.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
170
Contributors
2
Files
435
Active weeks
13
Repository
Language
Rust
Stars
2
Forks
1
License
Apache-2.0