Skip to content

Add config file, server auto-start, and bug fixes#5

Merged
csheaff merged 3 commits intomainfrom
dev
Feb 14, 2026
Merged

Add config file, server auto-start, and bug fixes#5
csheaff merged 3 commits intomainfrom
dev

Conversation

@csheaff
Copy link
Owner

@csheaff csheaff commented Feb 14, 2026

Summary

  • Config file support (~/.config/talktype/config) — works from GNOME shortcuts, Sway, cron without env var setup
  • Server backends auto-start the daemon on first transcribe call
  • Fix race condition: poll until recorder exits before reading WAV (ffmpeg needs time to finalize header after SIGTERM)
  • Fix ydotool dropping characters with 50ms key-delay
  • Fix parakeet CTC truncation: use forward pass instead of generate()
  • Persistent GNOME notifications using replace-id + critical urgency
  • Dep check accepts ffmpeg or pw-record; ffmpeg added to make deps
  • README updated with config docs, auto-start workflow, parakeet punctuation note

Test plan

  • F11 hotkey starts recording, notification stays visible
  • F11 again stops, shows "Transcribing...", types full text
  • Server auto-starts if not running on first transcribe
  • Config file picked up from GNOME shortcut context
  • Unit tests pass: bats test/talktype.bats test/server.bats

🤖 Generated with Claude Code

csheaff and others added 3 commits February 14, 2026 13:46
- Source ~/.config/talktype/config on startup so TALKTYPE_CMD works
  from GNOME shortcuts, Sway, cron — no env var setup needed
- Server backends auto-start the daemon on first transcribe call
- Fix race condition: poll until recorder exits before reading WAV
  (ffmpeg needs time to finalize the header after SIGTERM)
- Fix ydotool dropping characters by adding 50ms key-delay
- Fix parakeet truncation: use forward pass + argmax instead of
  generate() which had a default max_length
- Persistent notifications on GNOME using replace-id + critical urgency
- Dep check accepts ffmpeg or pw-record (not just pw-record)
- Update README with config file docs and auto-start workflow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…dd ffmpeg to deps

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@csheaff csheaff merged commit f67aefd into main Feb 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant