Add unified per-speaker font support and remote transcription service

Font changes:
- Consolidate font settings into single Display Settings section
- Support Web-Safe, Google Fonts, and Custom File uploads for both displays
- Fix Google Fonts URL encoding (use + instead of %2B for spaces)
- Fix per-speaker font inline style quote escaping in Node.js display
- Add font debug logging to help diagnose font issues
- Update web server to sync all font settings on settings change
- Remove deprecated PHP server documentation files

New features:
- Add remote transcription service for GPU offloading
- Add instance lock to prevent multiple app instances
- Add version tracking

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-11 18:56:12 -08:00
parent f035bdb927
commit ff067b3368
23 changed files with 2486 additions and 1160 deletions

View File

@@ -16,6 +16,7 @@ transcription:
# Realtime preview settings (optional faster preview before final transcription)
enable_realtime_transcription: false
realtime_model: "tiny.en" # Faster model for instant preview
realtime_processing_pause: 0.1 # Seconds between preview updates (lower = more responsive, default 0.1)
# VAD (Voice Activity Detection) settings
silero_sensitivity: 0.4 # 0.0-1.0, lower = more sensitive (detects more speech)
@@ -35,16 +36,26 @@ transcription:
# Performance settings
no_log_file: true # Disable RealtimeSTT logging
# Fast speaker mode - for speakers who talk quickly without pauses
# Reduces silence detection thresholds for more frequent transcription outputs
continuous_mode: false
server_sync:
enabled: false
url: "http://localhost:3000/api/send"
room: "default"
passphrase: ""
# Font settings are now in the display section (shared for local and server sync)
display:
show_timestamps: true
max_lines: 100
font_family: "Courier"
# Font settings (used for both local display and server sync)
font_source: "System Font" # Options: System Font, Web-Safe, Google Font, Custom File
font_family: "Courier" # System font name (local only, won't work with server sync)
websafe_font: "Arial" # Web-safe font name
google_font: "Roboto" # Google Font name
custom_font_file: "" # Path to custom font file (.ttf, .otf, .woff, .woff2)
font_size: 12
theme: "dark"
fade_after_seconds: 10 # Time before transcriptions fade out (0 = never fade)
@@ -52,3 +63,9 @@ display:
web_server:
port: 8080
host: "127.0.0.1"
remote_processing:
enabled: false # Enable remote transcription offloading
server_url: "" # WebSocket URL of remote transcription service (e.g., ws://your-server:8765/ws/transcribe)
api_key: "" # API key for authentication
fallback_to_local: true # Fall back to local processing if remote fails