repowiserepowise

App

rockbenben / subtitle-translator

Translate a whole season of subtitles in one pass — .srt/.ass/.vtt/.lrc, 120+ languages, 27 LLM providers, timing untouched | 整季字幕一次译完,时轴不动,支持 120+ 语言

★ 1,204stars on GitHubTypeScriptMIT

This connects Repowise to rockbenben/subtitle-translator's code. It does not install subtitle-translator.

Repowise maps public repos from their source. Not affiliated with rockbenben. What is Repowise?

github.com/rockbenben/subtitle-translatorIndexed at 7ba3497

What is subtitle-translator?

subtitle-translator is a browser-based batch tool for translating subtitle files, including .srt, .ass, .vtt and .lrc files, so a whole season can be translated in one pass. It strips the timing out of each file locally and sends only the dialogue text to the translation engine, so the timeline is never changed. The project is written mainly in TypeScript and built with Next.js. Its code health is 5.8 out of 10 (Fair), ranked #225 of 4,000+ indexed repos. The last commit to subtitle-translator was on Nov 17, 2026, and 9 people have contributed.

As of commit 7ba3497, indexed Nov 20, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentssubtitle-translator.md

Repo facts: type, license, health, rank, contributors
subtitle-translator facts
TypeApp
LicenseMIT
Code health5.8 / 10 (Fair)
Health rank#225 of 4,000+ indexed repos
Last commitNov 17, 2026
Contributors9
Bus factor1
Size149 files, 14,165 lines

Explore subtitle-translator

Ask about this code in your agent

This connects Repowise to subtitle-translator's code. It does not install subtitle-translator.

Useful if you want to change or fork subtitle-translator: your agent can ask how it is put together and get answers that cite its files.

Ask about subtitle-translator

Answers come from subtitle-translator's README and source, with the files they cite. Two free answers a day without an account.

Want this for your own codebase? Map your repo free

About this page

Get a page like this for your own codebase

Repowise built this map of rockbenben/subtitle-translator from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

rockbenben/subtitle-translator FAQ

What is subtitle-translator?

subtitle-translator is a browser-based batch tool for translating .srt, .ass, .vtt and .lrc subtitle files. It sends only the dialogue text to the translation engine, so the timing of each cue is not changed. It supports more than 120 languages.

How does subtitle-translator work?

subtitle-translator removes timecodes and format headers locally and sends only the dialogue to the chosen engine. The translated text is then placed back into the original structure. Results are exported as files that keep the original filename.

What language is subtitle-translator written in?

subtitle-translator is written mainly in TypeScript, with 118 TypeScript files in its code index. It also includes a few JavaScript files and a Dockerfile.

How is the subtitle-translator code organized?

subtitle-translator keeps most of its code under the src directory, which holds 115 files. The scripts directory holds the command line entry point at scripts/cli.ts, and the root directory holds the top-level configuration files.

When should I use subtitle-translator?

Use subtitle-translator to translate a whole season of subtitles in one pass without changing the timing. It is also useful when you need the same subtitles in several target languages at once.

What license does subtitle-translator use?

subtitle-translator is released under the MIT license, identified as MIT.

Code health

5.8out of 10Fair

Hotspots average 3.7, the place fixes pay off most.

On the leaderboards:#68 of 70 TypeScript repos

Key features of subtitle-translator

  • Translates only the dialogue text, so timecodes and cue structure stay intact.
  • Batch-translates many subtitle files at once, with each file downloaded under its original filename.
  • Exports several target languages in a single pass, each as its own file with the language code appended.
  • Supports traditional translation services and many LLM providers and gateways, configured in the settings.
  • Caches all translations in IndexedDB so translated files survive a page refresh.

How rockbenben/subtitle-translator works

Subtitle files are read in the browser, where the parsers separate timecodes, cue numbers and format headers from the dialogue text. The src/app/lib/translation/registry.ts file belongs to the translation library and is one of the project's hotspot files. The src/app/lib/translation/services/llm.ts file contains the code that sends dialogue to LLM providers, with optional surrounding lines as context. The src/app/hooks/useTranslationState.tsx file is a React hook that holds translation state for the interface, and src/app/[locale]/SubtitleTranslator.tsx is the main page component. The scripts/cli.ts file is the single entry point for running the same engine from a terminal, and the Dockerfile builds a container image for the project.

The codebase has 149 files and 929 symbols in 3 modules, led by TypeScript, JavaScript and Dockerfile. Code health is 5.8 out of 10, rated fair.