You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- New package youtube_auto_dub/ with pyproject.toml and CLI entry point
- Split 546-line engines.py into transcriber, renderer, segmenter, config
- Split 182-line core_utils.py into exceptions, utils
- Moved main.py logic into pipeline.py; main.py is now a 6-line wrapper
- Moved language_map.json into package as package data
- Added 13 tests (models, googlev4, tts)
- Added CI pipeline (ruff + pytest on 3.10/3.11/3.12)
- Leftover root language_map.json cleaned up
- Updated latest_langmap_generate.py path
A Python pipeline that takes a YouTube URL and spits out a dubbed/subtitled video. Feed it a link, pick a target language, and it handles the rest — downloading, transcribing, translating, synthesizing speech, and rendering the final video.
4
8
5
9
We built this because existing tools were either too manual, too expensive, or too locked-in. This one runs locally, stays free, and gives you full control over the output.
├── .cache/ # Downloaded videos (persists between runs)
161
+
├── output/ # Final rendered videos
162
+
└── temp/ # Intermediate files (cleared each run)
130
163
```
131
164
132
165
---
@@ -168,6 +201,17 @@ On the backlog:
168
201
169
202
Issues and PRs are open. If you're adding a new language to `language_map.json`, please include both a male and female voice where Edge TTS supports it.
170
203
204
+
```bash
205
+
# Dev install
206
+
pip install -e ".[dev]"
207
+
208
+
# Run tests
209
+
pytest tests/ -v
210
+
211
+
# Lint
212
+
ruff check .
213
+
```
214
+
171
215
---
172
216
173
217
## License
@@ -176,4 +220,4 @@ MIT. See [LICENSE](LICENSE).
176
220
177
221
---
178
222
179
-
*Built by Nguyen Cong Thuan Huy ([@mangodxd](https://github.com/mangodxd))*
223
+
*Built by Nguyen Cong Thuan Huy ([@mangodxd](https://github.com/mangodxd))*
0 commit comments