-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
60 lines (51 loc) · 2.68 KB
/
Copy path.env.example
File metadata and controls
60 lines (51 loc) · 2.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# vid_to_sub — Environment Variables
# ====================================
# Copy this file to .env and fill in the values.
# SQLite-backed settings are the primary source of truth.
# Use Settings -> Import .env to pull this file into SQLite, or Export .env to
# write the current SQLite settings back out for backup/sharing.
#
# Usage:
# cp .env.example .env
# # Edit .env with your actual paths/keys, then import it from the TUI Settings tab.
# ---------------------------------------------------------------------------
# whisper.cpp backend
# ---------------------------------------------------------------------------
# Path to the whisper-cli binary (built from https://github.com/ggerganov/whisper.cpp)
# Leave unset to use "whisper-cli" from PATH.
# Example: VID_TO_SUB_WHISPER_CPP_BIN=/home/user/whisper.cpp/build/bin/whisper-cli
VID_TO_SUB_WHISPER_CPP_BIN=
# Path to the GGML model file for whisper.cpp
# Default fallback: ./models/ggml-<model>.bin (e.g. ./models/ggml-large-v3.bin)
# Download models: https://huggingface.co/ggerganov/whisper.cpp/tree/main
# Example: VID_TO_SUB_WHISPER_CPP_MODEL=/home/user/models/ggml-large-v3.bin
VID_TO_SUB_WHISPER_CPP_MODEL=
# ---------------------------------------------------------------------------
# Translation (OpenAI-compatible API)
# ---------------------------------------------------------------------------
# Base URL of the OpenAI-compatible API server
# Accepts either the API root (e.g. https://api.openai.com/v1)
# or the full chat completions endpoint (e.g. https://api.openai.com/v1/chat/completions)
# Also works with local servers: http://localhost:11434/v1 (Ollama)
# http://localhost:1234/v1 (LM Studio)
# Example: VID_TO_SUB_TRANSLATION_BASE_URL=https://api.openai.com/v1
VID_TO_SUB_TRANSLATION_BASE_URL=
# API key / Bearer token for the translation service
# For OpenAI: sk-...
# For local servers with no auth: any non-empty string (e.g. "local")
# Example: VID_TO_SUB_TRANSLATION_API_KEY=sk-proj-...
VID_TO_SUB_TRANSLATION_API_KEY=
# Model name to use for translation
# OpenAI examples : gpt-4.1-mini, gpt-4o, gpt-4o-mini
# Ollama examples : gemma3:12b, qwen2.5:7b, llama3.1:8b
# LM Studio : use the exact model ID shown in the UI
# Example: VID_TO_SUB_TRANSLATION_MODEL=gpt-4.1-mini
VID_TO_SUB_TRANSLATION_MODEL=
# ---------------------------------------------------------------------------
# AI Agent (OpenAI-compatible API)
# ---------------------------------------------------------------------------
# Optional override for the TUI Agent tab.
# If left blank, the Agent tab falls back to the Translation API settings above.
VID_TO_SUB_AGENT_BASE_URL=
VID_TO_SUB_AGENT_API_KEY=
VID_TO_SUB_AGENT_MODEL=