dsh-dub-stage

Batch dubbing delivery bench for short-drama scripts. It parses one script file or a whole tree, splits every line by character and emotion into one track per role+emotion, and exports under a tree that mirrors the input — the package directory is the original file name including its extension, so every track maps back to its source. Dry-run is the default: it prints the absolute paths it would write plus per-track duration / RMS / peak and writes nothing; files appear only with an explicit --apply, through a .part write and rename. Two engines: a deterministic offline formant placeholder (audible, but not intelligible speech) and an external TTS command engine that must write to {out}; its WAV is read back for real statistics and is not re-encoded. Ships one agent tool and one conversation-view panel. Zero-dependency build, no network, no file deletion, no telemetry. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Overview

Batch dubbing delivery bench for short-drama scripts. It parses one script file or a whole tree, splits every line by character and emotion into one track per role+emotion, and exports under a tree that mirrors the input — the package directory is the original file name including its extension, so every track maps back to its source. Dry-run is the default: it prints the absolute paths it would write plus per-track duration / RMS / peak and writes nothing; files appear only with an explicit --apply, through a .part write and rename. Two engines: a deterministic offline formant placeholder (audible, but not intelligible speech) and an external TTS command engine that must write to {out}; its WAV is read back for real statistics and is not re-encoded. Ships one agent tool and one conversation-view panel. Zero-dependency build, no network, no file deletion, no telemetry. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Installation

Install from GitHub

dsh plugin --profile web add github:dingchenhui0618-arch/dsh-dub-stage

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands