← Back to Leaderboard
Sbuxuku

buxuku/SmartSub

Local-first Electron workbench for video subtitles, translation, and dubbing

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A+ · 94/100
Maintenance Activity
● Updated 9d ago
Latest Release
v3.12.2
Commercial License Check
MIT · Commercial Friendly

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

Maintenance35/35
Fork Adoption19/25
Release Cadence20/20
License Clarity20/20
Self-HostedLocal AIMCPCLIGPU
Total Stars
★ 6,257
24h Growth
+16
7d Growth
+78
Forks
514

GitHub Star History

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

buxuku/SmartSub Star History (2024-05-20 - 2026-12-04) ALL-TIME STAR HISTORY (2024-05 – 2026-12) +6.3k in 928d · avg +7/day 6.6k 3.3k 0 2024-05-20: ★ 12024-07-20: ★ 1522024-09-21: ★ 2652024-11-23: ★ 4142025-01-25: ★ 7092025-03-29: ★ 1,8712025-05-31: ★ 2,2652025-08-02: ★ 2,6172025-10-04: ★ 2,8732025-12-06: ★ 3,1062026-02-07: ★ 3,4392026-04-11: ★ 3,6252026-06-13: ★ 3,9042026-08-15: ★ 4,5962026-10-17: ★ 5,7182026-12-04: ★ 6,257 ★ 6.3k 2024-05 2025-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

SmartSub is a TypeScript desktop application built with Electron and Nextron. The tree separates main/, renderer/, and automation/; the package manifest points to app/background.js, and the build runs nextron build --no-pack before scripts/build-automation.mjs. The media workflow accepts local files or downloads via yt-dlp and lux, then composes transcription, translation, editing, dubbing, and FFmpeg export as individual stages or batch jobs.

Transcription is not tied to one runtime. The app bundles whisper.cpp and the sherpa-onnx native library, downloads a self-contained Python runtime for CTranslate2-based faster-whisper, and can invoke a separately installed Whisper-compatible CLI. A headless daemon starts on demand for MCP or CLI calls and shares task state, configuration, and model assets with the desktop app. The built-in assistant can call the same automation tools, while OpenAI-compatible endpoints provide an integration path for model providers.

Key Capabilities & Differentiators

SmartSub offers eight transcription choices per task: whisper.cpp, faster-whisper, FunASR, Qwen3-ASR, FireRedASR, NVIDIA Parakeet, Whisper CLI, and cloud ASR across nine providers. Translation spans 20 services, including local Ollama and OpenAI-compatible endpoints, with translated-only or bilingual subtitle output. Optional model-assisted correction and semantic line breaking preserve word-level timing and fall back to rule-based segmentation if the AI step fails.

Dubbing pairs local Kokoro or VITS synthesis with optional ZipVoice zero-shot voice cloning and cloud voices. It checks synthesized line duration against the subtitle timeline, can borrow silent gaps, and flags lines that still overrun for manual revision. Outputs include WAV or MP3, replacement or mixed audio, and dual-audio MKV with optional aligned subtitles. The editor previews styled hard subtitles before burn-in; soft-subtitle export uses stream copy to avoid re-encoding video.

Trade-offs & Limitations

Compared with running whisper.cpp and FFmpeg separately, SmartSub removes much of the glue work between transcription, subtitle review, dubbing, and export. Standalone tools remain simpler for a single scripted stage. The wider engine choice adds operational variables: model size, concurrent tasks, runtime downloads, and driver compatibility all matter. Treat the GPU label as a platform capability, not a guarantee for every engine and model combination. Hard subtitles maximize playback compatibility but require rendering; soft subtitles avoid re-encoding but depend on player support.

Local processing and free online processing are different choices. Bundled free translation endpoints still require a network connection; use a local service such as Ollama if subtitle text must stay on the workstation. Cloud ASR uploads audio to the configured endpoint, and a cloud assistant can receive screenshots or workspace context. Local processing avoids provider usage fees but shifts the compute burden to the workstation. MIT covers the application code, not the separate terms of downloaded models, cloud services, media, or reference voices.

Hardware & Deployment Guide

Installers target Windows and Linux x64 and macOS arm64 or x64. Download a speech model during onboarding; faster-whisper downloads its self-contained runtime separately. Windows and Linux acceleration packages are available in-app for NVIDIA CUDA and AMD/Intel Vulkan, without manually installing the CUDA Toolkit. Apple Silicon uses Core ML or Metal; Intel Macs are CPU-only. Failed accelerator loading can fall back to CPU. Packaged MCP and CLI commands reuse Electron's Node.js runtime, making headless use part of the desktop installation rather than a separate server deployment.

For source development, use yarn install and yarn dev; native library downloads can be retried with yarn native:fetch. The v3.12.0 release added task resumption from completed stages. v3.12.1 fixed Windows long-path transcription failures affecting FunASR, Qwen3-ASR, FireRedASR, and Parakeet. v3.12.2 added isolated Windows/Linux tests using a short bundled clip to probe Whisper's Vulkan and CPU backends with VAD toggled, so a native crash during the test does not take down the app.

ASR runtimes: Switch per task among bundled whisper.cpp, sherpa-onnx models, downloaded faster-whisper, a system Whisper CLI, and cloud transcription.
Automation: 111 MCP tools have CLI counterparts; pipeline.run supports JSON or stdin, with status polling and deduplication.
Dubbing alignment: Kokoro and VITS provide local synthesis, ZipVoice provides local zero-shot cloning, and overlong lines are flagged for review.
Subtitle delivery: FFmpeg can burn styled hard subtitles or mux selectable soft subtitles without re-encoding the video.
Editorial controls: Assistant edits enter the undo/redo history and are written to the subtitle file only on explicit save.
Native diagnostics: v3.12.2 adds out-of-process Windows and Linux Whisper tests for Vulkan, CPU, and voice activity detection.
Best For

Creators, localization teams, and media archives that need repeatable transcription, subtitle review, dubbing, and export on workstations, with optional CLI or MCP orchestration.

Skip If

You need a documented multi-tenant server with centralized queues and access controls, or only need one ASR command or a scripted FFmpeg export.

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

Quick Start & Installation

Self-HostedLocal AIMCPCLI
brew tap buxuku/tap          # 只需执行一次
brew install --cask smartsub # 安装
brew upgrade --cask smartsub # 升级

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
SmartSub ★6.3k+78TypeScriptMITLocal-first Electron workbench for video subtitles, translation, and dubbing
OpenMontage85.4k+1.5kPythonAGPL-3.0Agent-led video production from brief to finished edit
voicebox61.8k+437PythonMITLocal-first voice studio with multi-engine speech synthesis, dictation and MCP.
hyperframes95.5k+4.4kTypeScriptApache-2.0HTML timelines for editable video projects and frame-by-frame rendering

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/buxuku/SmartSub.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.

buxuku/SmartSub Star History on RepoForAI

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

Frequently Asked Questions about SmartSub

How do I run SmartSub from a script or MCP client without opening the desktop window?

Install the desktop package and use Settings → Connect AI Tools (MCP) to register a client or copy its configuration. Shell scripts can call the bundled smartsub CLI with JSON or stdin, submit pipeline.run, and poll task status. The first call can start the headless daemon, which shares task state, settings, and model assets with the desktop app. A separate Node.js installation is not required.

How should I size a workstation for local batches?

There is no single VRAM requirement. Start with one representative file and one concurrent task, then measure memory use and throughput before increasing model size or concurrency. Intel Macs are CPU-only. On Windows and Linux, verify acceleration for the specific engine and driver you intend to use; if the native backend is unstable, switch to CPU or try another engine.

Can a business use SmartSub locally, and what does MIT not cover?

Yes. SmartSub's MIT license permits commercial use and modification; redistributed copies must retain the copyright and license notice. Check model and optional provider terms separately, and confirm that you have permission to process source media and clone a reference voice. If policy prohibits data leaving the workstation, select local ASR and TTS, local translation such as Ollama, and avoid cloud assistant calls, including screenshot diagnostics.

When is SmartSub a better choice than standalone whisper.cpp or FFmpeg?

Use standalone whisper.cpp when the job is just transcription and you already own the surrounding workflow. Use FFmpeg directly when subtitle tracks are ready and you only need scriptable muxing or rendering. SmartSub is the better fit when the same operator needs to review subtitles, translate them, align a dub, and publish the result without maintaining a chain of separate tools.

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 buxuku/SmartSub? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature buxuku/SmartSub 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