Skip to content

Development

Adam Klement edited this page Jul 23, 2026 · 1 revision

Development

git clone https://github.com/Klema4/transcribe-cli.git
cd transcribe-cli
pip install -e ".[dev]"
pytest

Python import path remains local_whisper_transcribe; the product name is Transcribe CLI (lwt).

Structure

src/local_whisper_transcribe/
├── cli.py            # Typer CLI + Rich UI
├── transcribe.py     # faster-whisper wrapper
├── audio.py          # ffmpeg extraction
├── output.py         # TXT/SRT/VTT/JSON
├── diarize.py        # pyannote diarization
├── postprocess.py    # Ollama
├── import_transcript.py
├── progress_ui.py
├── models.py         # Whisper model cache
├── cuda_runtime.py   # CUDA 12 install & DLL paths
├── config.py         # TOML config
├── setup_wizard.py   # lwt setup
├── ollama_ops.py     # Ollama API
├── install_extra.py  # optional deps
├── prompts.py        # Rich prompts
└── system_checks.py  # ffmpeg/CUDA checks

Tests

pytest
pytest -q tests/test_diarize.py

Clone this wiki locally