The Dockerfile has been refactored to a multi-stage build, allowing the `whisper.cpp` CLI binary to be compiled and embedded within the application's runtime image. This enables word-by-word highlighting functionality when deployed via Docker. The `README.md` has been updated to include installation and configuration instructions for `whisper.cpp` when running locally. Additionally, the `WHISPER_CPP_BIN` environment variable has been added to `template.env` and the package version has been bumped to v1.1.0.
11 lines
No EOL
370 B
Bash
11 lines
No EOL
370 B
Bash
NEXT_PUBLIC_NODE_ENV=development
|
|
|
|
# OpenAI API Key for Text-to-Speech functionality
|
|
API_KEY=api_key_here_if_needed
|
|
|
|
# OpenAI API Base URL (default)
|
|
# To use a local TTS model server, I suggest using https://github.com/remsky/Kokoro-FastAPI
|
|
API_BASE=https://api.openai.com/v1
|
|
|
|
# Path to your local whisper.cpp CLI binary
|
|
WHISPER_CPP_BIN=/whisper.cpp/build/bin/whisper-cli |