-
Notifications
You must be signed in to change notification settings - Fork 181
Expand file tree
/
Copy path.env.local.example
More file actions
65 lines (54 loc) · 2.66 KB
/
.env.local.example
File metadata and controls
65 lines (54 loc) · 2.66 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
61
62
63
64
65
# Copy to .env.local and fill in values (never commit .env.local).
#
# cp .env.local.example .env.local
#
# Used by: npm run translate (see package.json), etc.
# Requires Bun: https://bun.sh
# -----------------------------------------------------------------------------
# Translation API (translate-i18n.ts)
# OpenAI-compatible endpoint. Works with OpenRouter, DeepSeek, DashScope Qwen-MT, etc.
# -----------------------------------------------------------------------------
# --- OpenRouter ---
# API keys: https://openrouter.ai/keys
# Docs: https://openrouter.ai/docs
# Models: any OpenRouter model id, e.g. deepseek/deepseek-chat, anthropic/claude-sonnet-4
# TRANSLATE_API_KEY=
# TRANSLATE_API_BASE_URL=https://openrouter.ai/api/v1
# TRANSLATE_API_MODEL=deepseek/deepseek-chat
# --- DeepSeek ---
# API keys: https://platform.deepseek.com/api_keys
# Docs: https://api-docs.deepseek.com/
# Models: deepseek-v4-pro (quality) | deepseek-v4-flash (faster/cheaper)
# Note: deepseek-chat / deepseek-reasoner are deprecated after 2026-07-24.
# TRANSLATE_API_KEY=
# TRANSLATE_API_BASE_URL=https://api.deepseek.com
# TRANSLATE_API_MODEL=deepseek-v4-pro
# TRANSLATE_API_MODEL=deepseek-v4-flash
# TRANSLATE_CONCURRENCY=5
# --- DashScope Qwen-MT (alternative) ---
# TRANSLATE_API_KEY=
# TRANSLATE_API_BASE_URL=https://dashscope-intl.aliyuncs.com/compatible-mode/v1
# TRANSLATE_API_MODEL=qwen-mt-plus
# --- Other fallbacks ---
# TRANSLATE_CJK_API_KEY=
# DASHSCOPE_API_KEY=
# -----------------------------------------------------------------------------
# Translation quality review (review-i18n.ts / npm run translate:review) — optional
# Independent LLM-as-a-judge that scores translations. Use a CHEAP/FAST model —
# evaluation is lighter than translation. Falls back to TRANSLATE_* if unset.
# -----------------------------------------------------------------------------
# REVIEW_API_KEY=
# REVIEW_API_BASE_URL=https://api.deepseek.com
# REVIEW_API_MODEL=deepseek-v4-flash
# REVIEW_CONCURRENCY=5
# -----------------------------------------------------------------------------
# Glossary sync (sync-glossary.mjs) — optional
# Path to the ComfyUI frontend locales. Defaults to ../ComfyUI_frontend/src/locales;
# also settable via frontend_locales_path in translation-config.json.
# -----------------------------------------------------------------------------
# FRONTEND_LOCALES_PATH=../ComfyUI_frontend/src/locales
# -----------------------------------------------------------------------------
# Optional — external link tracking (track-external-links.py)
# Usually set in GitHub Actions; only needed for local runs
# -----------------------------------------------------------------------------
# GITHUB_TOKEN=