Initial commit: Local Transcription App v1.0

Phase 1 Complete - Standalone Desktop Application

Features:
- Real-time speech-to-text with Whisper (faster-whisper)
- PySide6 desktop GUI with settings dialog
- Web server for OBS browser source integration
- Audio capture with automatic sample rate detection and resampling
- Noise suppression with Voice Activity Detection (VAD)
- Configurable display settings (font, timestamps, fade duration)
- Settings apply without restart (with automatic model reloading)
- Auto-fade for web display transcriptions
- CPU/GPU support with automatic device detection
- Standalone executable builds (PyInstaller)
- CUDA build support (works on systems without CUDA hardware)

Components:
- Audio capture with sounddevice
- Noise reduction with noisereduce + webrtcvad
- Transcription with faster-whisper
- GUI with PySide6
- Web server with FastAPI + WebSocket
- Configuration system with YAML

Build System:
- Standard builds (CPU-only): build.sh / build.bat
- CUDA builds (universal): build-cuda.sh / build-cuda.bat
- Comprehensive BUILD.md documentation
- Cross-platform support (Linux, Windows)

Documentation:
- README.md with project overview and quick start
- BUILD.md with detailed build instructions
- NEXT_STEPS.md with future enhancement roadmap
- INSTALL.md with setup instructions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-25 18:48:23 -08:00
commit 472233aec4
31 changed files with 5116 additions and 0 deletions

34
build.bat Normal file
View File

@@ -0,0 +1,34 @@
@echo off
REM Build script for Windows
echo Building Local Transcription for Windows...
echo ==========================================
echo.
REM Clean previous builds
echo Cleaning previous builds...
if exist build rmdir /s /q build
if exist dist rmdir /s /q dist
REM Build with PyInstaller
echo Running PyInstaller...
uv run pyinstaller local-transcription.spec
REM Check if build succeeded
if exist "dist\LocalTranscription" (
echo.
echo Build successful!
echo Executable location: dist\LocalTranscription\LocalTranscription.exe
echo.
echo To run the application:
echo cd dist\LocalTranscription
echo LocalTranscription.exe
echo.
echo To create a distributable package:
echo - Install 7-Zip or WinRAR
echo - Compress the dist\LocalTranscription folder to a ZIP file
) else (
echo.
echo Build failed!
exit /b 1
)