← Back to Leaderboard
Yliuzhao1225

liuzhao1225/YouDub-Desktop

Electron and FastAPI workbench for video translation, subtitles, and local dubbing

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A+ · 95/100
Maintenance Activity
● Updated 3d ago
Latest Release
v0.1.5
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption20/25
Release Cadence20/20
License Clarity20/20
Self-HostedLocal AIGPU
Total Stars
★ 5,928
24h Growth
+0
7d Growth
+30
Forks
634

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

liuzhao1225/YouDub-Desktop Star History (2023-12-27 - 2026-12-03) ALL-TIME STAR HISTORY (2023-12 – 2026-12) +5.9k in 1072d · avg +6/day 6.3k 3.1k 0 2023-12-27: ★ 12024-03-02: ★ 302024-05-11: ★ 3002024-07-20: ★ 6312024-09-28: ★ 1,7012024-12-07: ★ 1,8812025-02-15: ★ 1,9862025-04-26: ★ 2,0942025-07-05: ★ 2,1442025-09-13: ★ 2,1972025-11-22: ★ 2,9282026-01-31: ★ 3,7232026-04-11: ★ 4,2892026-06-20: ★ 4,8012026-08-29: ★ 5,3532026-12-03: ★ 5,928 ★ 5.9k 2023-12 2025-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

YouDub separates the desktop shell in apps/desktop, the Vite 8 and React 19 SPA in apps/web, and the Python runtime. Electron handles native window and directory controls, updates, the safeStorage credential bridge, and FastAPI process supervision. backend/app/server/ is the single control plane: it serves /api/*, funnels progress through one SSE endpoint at /api/events, and combines SQLite WAL persistence with a task queue and DAG scheduler.

The ResourceManager launches heavy inference in separate Python subprocesses so their GPU allocations can be reclaimed when the stages finish. backend/app/v1/ contains Whisper, SentenceX, Demucs, Qwen Aligner, VoxCPM2, and FFmpeg stages. The main points of configurability are the node graph and the translation provider protocols: users can set stage-specific options, pause for review, and rerun a corrected node instead of treating localization as a single opaque render.

Key Capabilities & Differentiators

Inputs include local video files and YouTube, Shorts, Bilibili, and b23.tv links. Whisper defaults to large-v3-turbo; SentenceX uses word timestamps to reconstruct sentence boundaries while retaining timing mappings. Translation supports the OpenAI, Anthropic, and Gemini protocols, uses sliding context across sentences, and persists progress at sentence granularity so interrupted work can resume.

The workflow can keep the original audio and burn in translated subtitles, produce a dub with optional separated background audio, or export both subtitles and a dub with optional forced alignment. For voice cloning, VoxCPM2 uses the source audio from the corresponding sentence as its reference. The task library exposes stage progress, errors, and artifacts, with controls for cancellation, retry, regeneration, playback, and downloads.

Trade-offs & Limitations

Compared with a Whisper-plus-FFmpeg script, YouDub adds persisted task state, editable graphs, dubbing, and targeted reruns, but brings a larger dependency and model footprint. Compared with a managed dubbing service, it gives operators more control over local media processing and review while leaving them responsible for model setup, GPU compatibility, and failures in URL ingestion. Local inference also does not make a workflow offline if translation sends text to a remote provider or ingestion fetches a video URL.

The app sets no fixed input cap on duration, size, resolution, or frame rate, but practical capacity depends on the chosen models, input characteristics, and concurrent work. The recent VoxCPM2 fixes address specific memory failure modes, not a guaranteed VRAM envelope. For adoption, test representative long clips and listen for voice consistency across sentence boundaries: per-sentence references preserve the mapping to source audio, but they do not establish uniform output quality.

Hardware & Deployment Guide

The documented desktop downloads target Windows x64 and macOS arm64. First launch prepares the base environment, checks FFmpeg and yt-dlp, and lets users prepare dependencies and model weights for the chosen workflow. Source development requires Node.js ^22.19.0 || >=24.0.0, Python 3.12, npm, and Git. Install the web and desktop dependencies separately, then use npm run build and npm start; npm run dev:web runs the local frontend and backend without Electron. The full developer requirements include all inference groups, whereas desktop setup installs selected groups. A CUDA 12.8 PyTorch requirements file is present, but that is not a universal CUDA requirement.

v0.1.4 moves VoxCPM2 AudioVAE encoding to the CPU and uses 64-frame causal decoding chunks to reduce peak VRAM. v0.1.5 adds platform-aware FFmpeg H.264 hardware encoding with a YOUDUB_VIDEO_ENCODER override and automatic fallback to libx264 after partial output is cleaned up. That fallback covers video encoding, not model inference.

Control plane: FastAPI owns the task queue and DAG scheduler, persists state in SQLite WAL, and streams events over /api/events.
Editorial workflow: An @xyflow/react graph exposes node settings, human-review pauses, and node-level correction and reruns.
Translation recovery: OpenAI, Anthropic, and Gemini protocol support, with sliding context and sentence-level checkpoints.
Voice and timing: VoxCPM2 takes the corresponding source sentence as its voice reference, with optional Qwen forced alignment.
Resource isolation: Separate Python inference processes allow GPU memory to be reclaimed after heavy stages finish.
Export resilience: v0.1.5 probes platform H.264 hardware encoders and cleans partial output before retrying with libx264.
Best For

Creators and localization teams with cleared source media who need local dubbing, subtitle review, and targeted reruns, and can maintain model dependencies.

Skip If

A simple subtitle script meets your needs, or you need a zero-maintenance hosted service or a turnkey offline translation stack.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedLocal AIGPU
npm --prefix apps/web ci --registry=https://registry.npmmirror.com
npm --prefix apps/desktop ci --registry=https://registry.npmmirror.com
npm run build
npm start

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
YouDub-Desktop ★5.9k+30TypeScriptApache-2.0Electron and FastAPI workbench for video translation, subtitles, and local dubbi
hyperframes95.5k+4.4kTypeScriptApache-2.0HTML timelines for editable video projects and frame-by-frame rendering
openmotion18.6k+1.6kTypeScriptApache-2.0An HTML-first video studio for turning references into editable branded motion g
pyvideotrans19.9k+88PythonGPL-3.0Self-hostable Python pipeline for video translation, subtitles, and dubbing

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/liuzhao1225/YouDub-Desktop.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

liuzhao1225/YouDub-Desktop Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about YouDub-Desktop

Can I run or integrate YouDub without the desktop shell?

For local development, npm run dev:web runs the React frontend and FastAPI without Electron. The control plane exposes /api/* REST endpoints and streams task events over SSE at /api/events. That is an integration surface, not evidence of a stable public SDK or a production multi-user deployment. Electron supplies the native safeStorage credential bridge.

Do the VoxCPM2 fixes mean a 12 GB GPU is sufficient?

The VoxCPM2 memory fixes are not a minimum GPU specification. v0.1.4 addresses out-of-memory failures on 12 GB cards and memory growth during repeated segment synthesis on 24 GB and 32 GB cards. It moves AudioVAE encoding to the CPU and chunks decoding to reduce peaks. Benchmark your own workflow with representative long clips and the intended model and device settings. FFmpeg's CPU export fallback does not guarantee that every inference stage will run acceptably on the CPU.

Can we use it commercially and keep processing in-house?

Apache-2.0 permits commercial use and self-hosting of the application code, subject to its license conditions, including applicable redistribution notices. Review THIRD_PARTY_NOTICES.md and check the terms for the specific model weights and providers you use. The code license does not grant rights to source footage, music, or a speaker's voice. If translation uses an external API, include the text sent to that provider in your data-handling review.

When is YouDub preferable to a subtitle script or a hosted dubbing service?

A Whisper-plus-FFmpeg pipeline is simpler if you only need transcription and burned-in subtitles. YouDub adds provider-backed translation, editable workflow graphs, reference-based voice synthesis, and review or rerun points. Compared with a managed dubbing service, it gives you more control over local processing at the cost of maintaining the runtime and models yourself.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining liuzhao1225/YouDub-Desktop? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature liuzhao1225/YouDub-Desktop on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare