Toolkit for transcribing, romanizing, translating, and reviewing ASS subtitle files for Japanese and Chinese. Generates per-model ASS files, summary HTML, and optionally logs costs to Supabase.
PATHzhpr + transformers for Chinese punctuation restorationconfig.json (in the repo root or next to the executable)%APPDATA%/TakoWorks/config.local.json on Windows or ~/.config/TakoWorks/config.local.json{
"api_keys": {
"openai": "sk-...",
"anthropic": "sk-ant-...",
"gemini": "AIza...",
"deepseek": "sk-..."
},
"supabase": {
"url": "https://xxxxx.supabase.co",
"service_key": "sbp_..._service_role",
"anon_key": "sbp_..._anon_optional"
}
}
OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, DEEPSEEK_API_KEY, SUPABASE_URL, SUPABASE_SERVICE_KEY / SUPABASE_SERVICE_ROLE_KEY / SUPABASE_ANON_KEY, SUPABASE_COST_TABLE (default: voicex_api_costs)config.json paths: ffmpeg_dir, yomitoku_dir, and per-1K token costs in cost_per_1ksrc/takoworks/__init__.py (the README header is updated when bumping)python bin/bump_version.py --mode auto|minor|patch (auto: minor on main, patch on branches)v1.7.1, so Actions can generate TakoWorks_win64.zip1.7.1.0, with __version__python -m takoworks.modules.transcriber.core input.ass input.mp4 --lang ja|zh \
--models gpt,claude,gemini,deepseek [--do-roman-morph] [--html]
python -m takoworks.modules.transcriber.core input.ass --skip-asr --do-roman-morph
--out-dir, --base-name, --pad-ms, --source-type, --series{romaji/pinyin}, {glosses}, and translationSUPABASE_URL + SUPABASE_SERVICE_KEY (or use config.local.json) to record costsvoicex_api_costs (configurable with SUPABASE_COST_TABLE)pytest. Run: pytest -qparse_json_translations{} and sanitization to avoid breaking ASS (helpers in ass_utils.py)zhpr; if it is missing, the pipeline continues with the original textPython
97.8%
PowerShell
1.6%
Toolkit for transcribing, romanizing, translating, and reviewing ASS subtitle files for Japanese and Chinese. Generates per-model ASS files, summary HTML, and optionally logs costs to Supabase.
PATHzhpr + transformers for Chinese punctuation restorationconfig.json (in the repo root or next to the executable)%APPDATA%/TakoWorks/config.local.json on Windows or ~/.config/TakoWorks/config.local.json{
"api_keys": {
"openai": "sk-...",
"anthropic": "sk-ant-...",
"gemini": "AIza...",
"deepseek": "sk-..."
},
"supabase": {
"url": "https://xxxxx.supabase.co",
"service_key": "sbp_..._service_role",
"anon_key": "sbp_..._anon_optional"
}
}
OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, DEEPSEEK_API_KEY, SUPABASE_URL, SUPABASE_SERVICE_KEY / SUPABASE_SERVICE_ROLE_KEY / SUPABASE_ANON_KEY, SUPABASE_COST_TABLE (default: voicex_api_costs)config.json paths: ffmpeg_dir, yomitoku_dir, and per-1K token costs in cost_per_1ksrc/takoworks/__init__.py (the README header is updated when bumping)python bin/bump_version.py --mode auto|minor|patch (auto: minor on main, patch on branches)v1.7.1, so Actions can generate TakoWorks_win64.zip1.7.1.0, with __version__python -m takoworks.modules.transcriber.core input.ass input.mp4 --lang ja|zh \
--models gpt,claude,gemini,deepseek [--do-roman-morph] [--html]
python -m takoworks.modules.transcriber.core input.ass --skip-asr --do-roman-morph
--out-dir, --base-name, --pad-ms, --source-type, --series{romaji/pinyin}, {glosses}, and translationSUPABASE_URL + SUPABASE_SERVICE_KEY (or use config.local.json) to record costsvoicex_api_costs (configurable with SUPABASE_COST_TABLE)pytest. Run: pytest -qparse_json_translations{} and sanitization to avoid breaking ASS (helpers in ass_utils.py)zhpr; if it is missing, the pipeline continues with the original textPython
97.8%
PowerShell
1.6%