Commit Graph

51 Commits

Author SHA1 Message Date
f143e66e80 [test] add comprehensive tests for select_backend ensuring proper backend priority and error guidance 2025-08-12 04:24:51 +02:00
7832545033 [test] add Unix-only tests for with_suppressed_stderr ensuring stderr redirection and restoration, including panic handling 2025-08-12 04:22:55 +02:00
152fde36ae [build] pin whisper-rs dependency to a specific commit for reproducible builds; update documentation accordingly 2025-08-12 04:16:09 +02:00
df6faf6436 [refactor] remove dialoguer dependency; migrate selection prompts to cliclack 2025-08-12 04:12:53 +02:00
e954902aa9 [feat] enhance progress logging, introduce TTY-aware banners, and implement hardened SHA-256 verification for model downloads 2025-08-12 04:10:24 +02:00
37c43161da [feat] integrate global progress manager for unified log handling; enhance model download workflow with progress tracking and SHA-256 verification 2025-08-12 03:46:39 +02:00
9120e8fb26 [feat] introduce Config for centralized runtime settings; refactor progress management and backend selection to leverage config 2025-08-12 02:57:42 +02:00
ee67b56d6b [feat] enhance error handling, CLI options, and progress display; add --continue-on-error flag and improve maintainability 2025-08-12 02:43:20 +02:00
d531ac0b96 [refactor] extract summary table rendering logic into render_summary_lines for improved readability and reusability; add associated tests 2025-08-11 10:05:37 +02:00
66f0062ffb [feat] add --out-format CLI option for customizable output formats; update tests and README 2025-08-11 10:01:29 +02:00
d46b23a4f5 [refactor] extract and centralize output writing logic into write_outputs function in output.rs for improved code reuse and maintainability 2025-08-11 09:35:29 +02:00
255be1e413 [feat] implement centralized UI helpers with cliclack; refactor interactive prompts to improve usability and consistency 2025-08-11 08:45:20 +02:00
9bab7b75d3 [feat] add robust progress management utilities and new tests 2025-08-11 06:59:24 +02:00
cd25b526c6 [feat] add panic hook and normal exit cleanup for .last_model file handling 2025-08-11 02:14:59 +02:00
8c9fac80db [docs] add initial TODO.md with actionable backlog and prioritization 2025-08-08 20:57:01 +02:00
ac7fcef0f3 [docs] update README with improved prerequisites, installation, and troubleshooting sections 2025-08-08 20:33:19 +02:00
11b4f63c16 [chore] add MIT license and copyright notices across project files 2025-08-08 20:29:45 +02:00
49f992c74b [chore] remove unused libloading dependency from Cargo.toml and Cargo.lock 2025-08-08 20:18:58 +02:00
a0dcc239aa [refactor] centralize logging logic with log_with_level macro; clean up imports and optimize code organization across modules 2025-08-08 20:16:44 +02:00
fe98bd36b6 [refactor] clean up string formatting, improve control flow, and enhance readability in core modules and tests 2025-08-08 20:01:56 +02:00
ff9de91dcf [chore] remove completed tasks from TODO.md 2025-08-08 19:53:17 +02:00
f47f3f32a3 [feat] add example scripts for transcription, model downloading, and updates; improve documentation with guides for CI, packaging, and development 2025-08-08 19:53:00 +02:00
e2504ec3c6 [refactor] optimize string formatting, cleanup imports, and implement default trait for backends 2025-08-08 19:42:10 +02:00
cd076c5a91 [feat] enhance CLI flags with --quiet and --no-interaction; update logging to respect verbosity and quiet modes; refactor log macros and add related tests 2025-08-08 19:33:47 +02:00
a0216a0e18 [feat] improve error handling for file operations and subprocess execution; refactor main to modularize execution flow 2025-08-08 17:04:42 +02:00
c27af0b89a [refactor] modularize code by moving logic to polyscribe crate; cleanup imports and remove redundant functions 2025-08-08 16:52:18 +02:00
bc8bbdc381 [feat] add GPU backend support with runtime selection; refactor transcription logic; update CLI and tests 2025-08-08 16:19:02 +02:00
7a6a313107 [feat] add tests for video file support in is_audio_file; update TODOs to reflect completion 2025-08-08 14:10:11 +02:00
933d01d7ec [feat] add auxiliary CLI commands for shell completions and man page generation; refactor logging with verbosity levels and macros; update tests and TODOs 2025-08-08 14:02:36 +02:00
1cad6d593d [feat] improve model selection prompt with two-stage filtering and formatted output; add corresponding tests 2025-08-08 13:21:51 +02:00
53a7471b99 [feat] add --set-speaker-names CLI flag; implement prompt-based speaker name assignment with tests 2025-08-08 13:06:24 +02:00
1d23be8066 [feat] add --merge-and-separate CLI flag; implement combined mode logic and tests 2025-08-08 12:57:12 +02:00
4d3016200e [feat] enhance models_dir_path with XDG and HOME fallbacks; improve related tests 2025-08-08 12:46:34 +02:00
5e5652c0da [feat] add --merge CLI flag to control output behavior; update integration tests accordingly 2025-08-08 12:36:34 +02:00
66954150b2 [feat] enhance integration test to verify nested output directory creation and update TODO items 2025-08-08 12:24:48 +02:00
b1cef02a55 [feat] refine models_dir_path for dynamic debug and release behavior; add related unit tests 2025-08-08 12:18:59 +02:00
9ebe46b7fc [feat] add models_dir_path helper and implement dynamic models directory resolution 2025-08-08 12:12:42 +02:00
aa8ea14407 [feat] add update_models CLI option and implement local-remote model synchronization logic 2025-08-08 11:32:31 +02:00
29b6a2493b [test] add unit and integration tests for core functions and CLI behavior 2025-08-08 10:29:18 +02:00
3495d69da9 [refactor] rename project to "PolyScribe" and update references accordingly 2025-08-08 10:10:12 +02:00
96046be3a4 [feat] add atomic flag to handle .last_model cleanup logic safely 2025-08-08 09:55:28 +02:00
02c15ba27a [feat] ensure cleanup of .last_model file between and after runs 2025-08-08 09:21:04 +02:00
f991a47b5b [refactor] remove feature flags and simplify native whisper integration 2025-08-08 09:07:09 +02:00
a6009693ef [refactor] extract model downloading functionality into a separate models module 2025-08-08 08:45:19 +02:00
5b170ceabb [feat] add reqwest and sha2 dependencies to support new features in transcript processing 2025-08-08 08:13:39 +02:00
f5f55a0ec4 [chore] update TODO list with new tasks and adjustments 2025-08-08 08:13:23 +02:00
978778fa1c [chore] add TODO list for project enhancements 2025-08-08 07:08:21 +02:00
e0b9f3141f [chore] update .gitignore to exclude /models directory 2025-08-08 07:05:17 +02:00
7b95f748a2 [feat] integrate native whisper support for audio transcription 2025-08-08 05:55:06 +02:00
36902e8de1 [feat] add support for audio transcription using openai-whisper 2025-08-08 04:19:23 +02:00