Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 14:20
· 1 commit to main since this release

scribe 0.2.0

a reliability and correctness pass across the application. same purpose: local, offline, cpu-only speech-to-text in the terminal.

fixes

  • model resolution: "--model" now accepts catalog names, "ggml-*.bin" filenames and explicit paths. unknown names return a clear error.
  • config safety: preferences are written to a temporary file, fsynced and atomically renamed. failed writes leave the existing config untouched.
  • cancellation: cancellation now propagates through URL ingestion, model downloads and fallback downloads. child processes are killed and reaped, partial files are cleaned up, and socket timeouts limit delays.
  • memory: fixed a per-job string leak in transcription and removed unnecessary clones.
  • subtitles: SRT/VTT cues are sorted, non-overlapping and single-line. VTT output uses the correct "WEBVTT" header, with consistent segment and word-level output.
  • cli: implemented the previously documented "--translate" flag. invalid YouTube URLs no longer generate timestamp links.
  • tui: fixed a completion popup panic on narrow terminals. search state no longer leaks between jobs. corrected help text and keybind hints.
  • models: cached models are size-checked on use and SHA-256 verified before activation. downloads are verified before being committed.

verification

  • 93 tests passing, up from 63.
  • added local-server tests for successful downloads, checksum failures, interrupted transfers and cancellation.
  • "cargo fmt --all -- --check" passes.
  • "cargo clippy --all-targets --all-features -- -D warnings" passes.
  • "cargo test --all-targets --all-features" passes.
  • "cargo build --release" passes.

notes

transcription remains fully offline once a model is installed. fetching URLs and downloading models require network access.

see the README for supported formats, models and keybinds.