epicenter
epicenter copied to clipboard
feat: auto enter on over
Add automatic Enter key press on "Over" voice command
This feature enables hands-free message submission by automatically pressing Enter when transcribed audio ends with "Over".
What it does
When recording audio that ends with "Over" (case-insensitive, with optional punctuation), the system will:
- Remove "Over" from the transcribed text before delivery
- Deliver the cleaned text normally (clipboard/cursor writing)
- Automatically press Enter to submit the message
Use case
Perfect for voice-to-chat workflows with Claude or other interfaces where you want to record a message, have it transcribed and automatically submitted without manual interaction.
Example:
- Say: "Hello Claude, can you help me debug this code? Over."
- Result: "Hello Claude, can you help me debug this code?" → Enter pressed automatically
Implementation
Backend (Rust):
- Added
press_enter()function using existingenigolibrary with cross-platform key codes - Registered new Tauri command handler
Frontend (TypeScript):
- Extended text service interface with
pressEnter()method - Added detection utilities in
transcription-triggers.ts:shouldTriggerEnterOnOver()- detects "Over" at text endremoveOverFromEnd()- cleanly strips "Over" and punctuation
- Integrated into delivery pipeline to process text before clipboard/cursor operations
Flow:
- Transcription completes with "Over" detection
- Text gets cleaned (Over removed) before any delivery operations
- Normal delivery proceeds with cleaned text (clipboard, notifications, etc.)
- Enter key automatically pressed after 200ms delay
What happens when I am transcribing something and it actually has the word over? does it stop and press enter? That would not be an ideal behaviour.
What happens when I am transcribing something and it actually has the word over? does it stop and press enter? That would not be an ideal behaviour.
Thanks for asking the question.I'm using whispering to answer the question. I say over, but it doesn't trigger the Enter key.Only when I say over at the end.like this. And it will hit the enter key.