feat: announce batch scan results aloud #70

Merged
jfro merged 1 commit from jtk/batch-scanner-speech into main 2026-10-25 17:16:58 +00:00
Owner

Reads batch scanner results aloud with the browser's speech synthesis, so you can keep your eyes on the books while scanning.

Outcome Spoken
Book added "Added title"
Already in library "Already in library: title"
Truncated / misread barcode "Bad scan, try again"
No provider found it "Book not found"
Other add failure "Could not add book"
Network / unexpected error "Network error" / "Scan failed"
  • A speaker toggle next to the scanner status turns announcements on and off; the choice is kept in localStorage. It's hidden when the browser has no speech synthesis.
  • It's a button rather than a checkbox, so it can't take keyboard focus away from the scanner.
  • On Linux the voice comes from speech-dispatcher (espeak-ng by default), so expect it to sound robotic there.

🤖 Generated with Claude Code

Reads batch scanner results aloud with the browser's speech synthesis, so you can keep your eyes on the books while scanning. | Outcome | Spoken | |---|---| | Book added | "Added *title*" | | Already in library | "Already in library: *title*" | | Truncated / misread barcode | "Bad scan, try again" | | No provider found it | "Book not found" | | Other add failure | "Could not add book" | | Network / unexpected error | "Network error" / "Scan failed" | - A speaker toggle next to the scanner status turns announcements on and off; the choice is kept in `localStorage`. It's hidden when the browser has no speech synthesis. - It's a button rather than a checkbox, so it can't take keyboard focus away from the scanner. - On Linux the voice comes from speech-dispatcher (espeak-ng by default), so expect it to sound robotic there. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat: announce batch scan results aloud
All checks were successful
CI / test (pull_request) Successful in 46s
cbd7e3cfc7
Speaks the book title when a scan adds a book or finds it already in the
library, and a short message when a scan fails, using the browser's
speech synthesis. A speaker toggle next to the scanner status turns it
off; the choice is kept in localStorage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jfro merged commit 33e5e9b14d into main 2026-10-25 17:16:58 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfro/fuzzy_catalog!70
No description provided.