Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
31f53e0
fix single file download
ilyhalight Mar 10, 2024
d8ef18b
Add files via upload
ilyhalight Mar 11, 2024
319c5ca
Merge branch 'main' of https://github.com/FOSWLY/vot-cli
ilyhalight Mar 12, 2024
8712470
Update README.md
ilyhalight Mar 25, 2024
050959b
Update README-EN.md
ilyhalight Mar 25, 2024
057829d
Update README.md
ilyhalight Mar 26, 2024
aaa289b
Update README-EN.md
ilyhalight Mar 26, 2024
6e9be59
version bump
ilyhalight Mar 31, 2024
d3ad555
added support YouTube Shorts, youtu.be, Google Drive
ilyhalight Mar 31, 2024
e2e5b9c
updated from main repo
ilyhalight Mar 31, 2024
de76424
added --output-file argument
ilyhalight Mar 31, 2024
3e92c59
Merge branch 'main' of https://github.com/FOSWLY/vot-cli
ilyhalight Mar 31, 2024
628fd07
1.4.0 changelog
ilyhalight Mar 31, 2024
f21191a
1.4.1
ilyhalight May 23, 2024
54688df
Update README.md
sobolevn Jun 24, 2024
d96a563
Merge pull request #28 from sobolevn/patch-1
ilyhalight Jun 24, 2024
d873bc0
added /live/ support for YouTube (#32)
ilyhalight Jul 4, 2024
530a19d
Merge branch 'main' of https://github.com/FOSWLY/vot-cli
ilyhalight Jul 4, 2024
d24dc96
feat: add converter json to srt
pgorun Jul 26, 2024
24ac39b
refactor format
pgorun Jul 26, 2024
f8582f1
Merge pull request #33 from pgorun/main
ilyhalight Jul 26, 2024
95f3ecf
some edits after of #33
ilyhalight Jul 26, 2024
da4ccf8
Обновление функций
NullVerdict Jul 29, 2024
6cae1f8
Merge pull request #37 from SashaXser/main
ilyhalight Jul 29, 2024
71283fd
add link on google colab version
alex2844 Jan 12, 2025
476e855
Merge pull request #49 from alex2844/gcolab
ilyhalight Jan 12, 2025
19443dc
───────┬──────────────────────────────────────────…
fantomcheg Oct 10, 2025
8f586fa
Add fork notice to README
fantomcheg Oct 10, 2025
22c3b21
Update package name for npm publish
fantomcheg Oct 10, 2025
ebf34b1
Update installation instructions for npm package
fantomcheg Oct 10, 2025
955b02b
Add npm badges to README
fantomcheg Oct 10, 2025
0d3896b
Remove scope from package name for npm publish
fantomcheg Oct 10, 2025
06a92e8
Update npm package name in README
fantomcheg Oct 10, 2025
3ecec9d
Update English documentation with live voices info
fantomcheg Oct 10, 2025
abbbe55
Update installation from source section in English README
fantomcheg Oct 10, 2025
acbbb81
Add video merge feature with translation audio
fantomcheg Oct 10, 2025
ade5139
Fix video merge filename handling
fantomcheg Oct 10, 2025
8159864
Bump version to 1.5.2
fantomcheg Oct 10, 2025
4ce7c55
Fix video merge: improve yt-dlp download and file handling
fantomcheg Oct 10, 2025
4c737bb
Mark merge-video as experimental in docs
fantomcheg Oct 10, 2025
f81b489
Update README with beautiful feature table and quick start
fantomcheg Oct 10, 2025
745e75c
Add comprehensive examples documentation
fantomcheg Oct 10, 2025
b2cb9f3
Add examples link to README
fantomcheg Oct 10, 2025
eb58a0a
Update repository URLs after rename to vot-cli-live
fantomcheg Oct 10, 2025
188fa14
Bump version to 1.5.3
fantomcheg Oct 10, 2025
b170d0f
Add comprehensive Wiki documentation
fantomcheg Oct 10, 2025
10a1d20
Add Wiki link to README
fantomcheg Oct 10, 2025
b8e91a0
Fix Wiki anchor links
fantomcheg Oct 10, 2025
cdf0190
Fix Wiki navigation and update README links
fantomcheg Oct 10, 2025
f9231f3
Fix all remaining vot-cli2025 references to vot-cli-live
fantomcheg Oct 10, 2025
fcb1c82
Update Wiki links to point to our documentation
fantomcheg Oct 10, 2025
043e66e
Add automatic video title for audio filename
fantomcheg Oct 10, 2025
4da13a3
Update README with smart filenames feature
fantomcheg Oct 10, 2025
965bcb9
Update requirements section with yt-dlp note
fantomcheg Oct 10, 2025
7e3a65e
───────┬──────────────────────────────────────────…
fantomcheg Oct 10, 2025
5cac867
Bump to 1.6.2
fantomcheg Oct 10, 2025
b83420f
Update Wiki with version 1.6.2 and changelog
fantomcheg Oct 10, 2025
5905cca
Add merge-video examples to Quick Start section
fantomcheg Oct 10, 2025
c64ad44
Add volume control example to Quick Start
fantomcheg Oct 10, 2025
14f492b
feat: v1.6.3 - Critical bug fixes and beautiful UI improvements
fantomcheg Nov 28, 2025
4a5f968
chore: bump version to 1.7.0
fantomcheg Nov 28, 2025
f983faa
docs: update release notes and publish script for v1.7.0
fantomcheg Nov 28, 2025
1f186c0
chore: add test media files to .gitignore
fantomcheg Nov 28, 2025
21dc809
chore: remove husky prepare script for npm publish
fantomcheg Nov 28, 2025
1a3de9c
chore: bump to 1.7.1
fantomcheg Nov 28, 2025
0758233
docs: add TROUBLESHOOTING.md (v1.7.2)
fantomcheg Nov 28, 2025
f69c0fd
docs: update README.md - fix npm package name and add changelog secti…
fantomcheg Nov 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["@babel/preset-env"]
}
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = {
env: {
es2021: true,
node: true,
jest: true,
},
extends: ["eslint:recommended", "prettier"],
plugins: ["prettier"],
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
test/vimeo/*
test/youtube/*
test-media
test/*.mp3
test/*.mp4

.vscode
.pytest_cache
Expand All @@ -13,6 +15,7 @@ yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
logERROR.txt

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
npx pretty-quick --staged
172 changes: 172 additions & 0 deletions EXAMPLES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
# 📖 Примеры использования VOT-CLI Live

## 🎤 Базовое использование

### Скачать перевод с живыми голосами (по умолчанию)
```bash
vot-cli-live --output="./downloads" "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
```

### Скачать со стандартным TTS
```bash
vot-cli-live --output="./downloads" --voice-style=tts "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
```

---

## 🌍 Работа с разными языками

### Перевод на английский
```bash
vot-cli-live --output="." --reslang=en "https://www.youtube.com/watch?v=VIDEO_ID"
```

### Указать исходный язык видео
```bash
vot-cli-live --output="." --lang=es --reslang=ru "https://www.youtube.com/watch?v=VIDEO_ID"
```

---

## 🎬 Создание видео с переводом (экспериментально)

### Видео с микшированным аудио (оригинал + перевод)
```bash
vot-cli-live --output="." --merge-video "https://www.youtube.com/watch?v=VIDEO_ID"
```

### Видео только с переводом (без оригинального аудио)
```bash
vot-cli-live --output="." --merge-video --keep-original-audio=false "https://www.youtube.com/watch?v=VIDEO_ID"
```

### Настройка громкости
```bash
# Тихий оригинал, громкий перевод
vot-cli-live --output="." --merge-video --original-volume=0.3 --translation-volume=1.5 "https://www.youtube.com/watch?v=VIDEO_ID"
```

---

## 📝 Работа с субтитрами

### Скачать субтитры в формате JSON
```bash
vot-cli-live --subs --output="." --reslang=ru "https://www.youtube.com/watch?v=VIDEO_ID"
```

### Скачать субтитры в формате SRT
```bash
vot-cli-live --subs-srt --output="." --reslang=ru "https://www.youtube.com/watch?v=VIDEO_ID"
```

---

## 🔄 Пакетная обработка

### Скачать переводы для нескольких видео
```bash
vot-cli-live --output="./batch" \
"https://www.youtube.com/watch?v=VIDEO_ID_1" \
"https://www.youtube.com/watch?v=VIDEO_ID_2" \
"https://www.youtube.com/watch?v=VIDEO_ID_3"
```

---

## 🌐 Использование прокси

### С HTTP прокси
```bash
vot-cli-live --output="." --proxy="http://user:pass@proxy.com:8080" "https://www.youtube.com/watch?v=VIDEO_ID"
```

### С обязательным прокси
```bash
vot-cli-live --output="." --proxy="http://proxy.com:8080" --force-proxy=true "https://www.youtube.com/watch?v=VIDEO_ID"
```

---

## 💡 Полезные комбинации

### Английское видео → Русский перевод с живыми голосами
```bash
vot-cli-live --output="./translations" --lang=en --reslang=ru --voice-style=live "https://www.youtube.com/watch?v=VIDEO_ID"
```

### Сохранить с конкретным именем файла
```bash
vot-cli-live --output="./my_videos" --output-file="my_translation.mp3" "https://www.youtube.com/watch?v=VIDEO_ID"
```

### Создать видео с переводом и сохранить с именем
```bash
vot-cli-live --output="./videos" --output-file="translated_video.mp4" --merge-video "https://www.youtube.com/watch?v=VIDEO_ID"
```

---

## 🆚 Сравнение живых голосов и TTS

Чтобы услышать разницу, скачай одно видео двумя способами:

```bash
# С живыми голосами
vot-cli-live --output="./compare" --output-file="live_voice.mp3" --voice-style=live "https://www.youtube.com/watch?v=VIDEO_ID"

# Со стандартным TTS
vot-cli-live --output="./compare" --output-file="tts_voice.mp3" --voice-style=tts "https://www.youtube.com/watch?v=VIDEO_ID"
```

Прослушай оба файла - живые голоса звучат намного естественнее! 🎧

---

## ⚙️ Системные требования для --merge-video

Для использования функции объединения видео нужно установить:

### Linux (Debian/Ubuntu):
```bash
sudo apt install ffmpeg yt-dlp
```

### Linux (Arch):
```bash
sudo pacman -S ffmpeg yt-dlp
```

### macOS:
```bash
brew install ffmpeg yt-dlp
```

### Через pip:
```bash
pip install yt-dlp
```

---

## 🐛 Решение проблем

### Ошибка "yt-dlp не установлен"
Установите yt-dlp: `pip install yt-dlp` или `sudo apt install yt-dlp`

### Ошибка "ffmpeg не установлен"
Установите ffmpeg: `sudo apt install ffmpeg`

### Видео скачивается очень долго
Это нормально для больших видео. Функция `--merge-video` экспериментальная и может занимать много времени.

### Не работает команда vot-cli-live
Проверьте установку: `npm list -g vot-cli-live`

---

## 📞 Поддержка

- 🐛 Issues: https://github.com/fantomcheg/vot-cli-live/issues
- ⭐ Поставь звезду если проект помог!
- 🔄 Оригинальный репозиторий: https://github.com/FOSWLY/vot-cli
158 changes: 158 additions & 0 deletions FINAL-STATUS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
╔═══════════════════════════════════════════════════════════╗
║ ✅ ВСЁ ГОТОВО ДЛЯ РЕЛИЗА! ✅ ║
╚═══════════════════════════════════════════════════════════╝

## 🎉 СТАТУС ПУБЛИКАЦИИ

✅ npm: vot-cli-live@1.7.0 ОПУБЛИКОВАНО
📦 https://www.npmjs.com/package/vot-cli-live

✅ GitHub: код и теги ЗАПУШЕНЫ
🐙 https://github.com/fantomcheg/vot-cli-live
🏷️ Тег v1.7.0 на GitHub

✅ Репозиторий ОЧИЩЕН
📉 290MB → 25MB (уменьшение в 12 раз!)

---

## 📋 ПОСЛЕДНИЙ ШАГ: GitHub Release

Создай релиз вручную (займет 2 минуты):

1. **Открой:** https://github.com/fantomcheg/vot-cli-live/releases/new

2. **Заполни форму:**
- **Choose a tag:** v1.7.0 (уже существует)
- **Release title:** v1.7.0 - Major Update: Bug Fixes & Beautiful UI
- **Describe this release:** Скопируй из файла ниже ⬇️

3. **Нажми:** Publish release

---

## 📝 ОПИСАНИЕ ДЛЯ РЕЛИЗА:

Скопируй содержимое файла:
`RELEASE-NOTES-v1.7.0.md`

Или используй эту короткую версию:

```markdown
# 🎉 vot-cli-live v1.7.0 - Major Update

## 🔥 Highlights

This is a **MAJOR RELEASE** fixing critical timeout issues and adding a stunning, professional UI!

## 🐛 Critical Bug Fixes

- **Fixed infinite hangs on translation** - Max 10 retry attempts (5 minutes)
- **Fixed network timeout issues** - 60 second timeout for Yandex API
- **Fixed yt-dlp and ffmpeg hangs** - Added 10 and 15 minute timeouts
- **Improved ECONNRESET errors** - Suggests using proxy
- **Full proxy support** - Works everywhere now
- **Real video duration** - No more hardcoded 341 seconds

## ✨ New Features

- 📏 Automatic video duration detection via yt-dlp
- 🌐 Full proxy support (API, yt-dlp, duration detection)
- ⏳ Retry progress indicator (attempt 3/10)

## 🎨 Beautiful UI

- 🎬 Stunning startup banner with credits
- 📊 Detailed progress at every step
- 🎨 Colors and emojis throughout
- 📥 File sizes displayed everywhere
- 🎬 3-step merge visualization

## 📦 Installation

```bash
npm install -g vot-cli-live
```

## 🙏 Credits

- Original vot-cli: @ToilOfficial (Ilya)
- This release: Enhanced with AI assistance

See [IMPROVEMENTS.md](./IMPROVEMENTS.md) for full technical details.
```

---

## 📊 ЧТО БЫЛО СДЕЛАНО ЗА СЕССИЮ:

### Исправлено багов: 6
- Таймауты для всех операций
- Бесконечные циклы ожидания
- Зависания ffmpeg/yt-dlp
- ECONNRESET ошибки
- Проблемы с прокси
- Большие файлы в git

### Добавлено фич: 3
- Определение длительности
- Прогресс-индикатор
- Красивый UI

### Создано файлов: 7
- IMPROVEMENTS.md (8KB)
- SUMMARY.md (4KB)
- UI-IMPROVEMENTS.md (9KB)
- RELEASE-NOTES-v1.7.0.md (6KB)
- PUBLISH-INSTRUCTIONS.md (2KB)
- publish.sh (4KB)
- test-improvements.sh (3KB)

### Изменено файлов: 8
- src/index.js - UI + retry logic
- src/yandexRawRequest.js - timeouts
- src/translateVideo.js - duration
- src/mergeVideo.js - timeouts
- src/utils/getVideoDuration.js - NEW
- .gitignore - test files
- package.json - version 1.7.0
- changelog.md - v1.7.0

### Тестировано:
✅ Короткие видео (19s)
✅ Длинные видео (24m)
✅ Live voices
✅ TTS mode
✅ Video merge
✅ Proxy support

---

## 🎯 ПОСЛЕ СОЗДАНИЯ РЕЛИЗА:

Проверь установку:
```bash
npm install -g vot-cli-live
vot-cli-live --version # должно показать 1.7.0
vot-cli-live --help # проверь красивый UI
```

Протестируй:
```bash
vot-cli-live --output="." "https://www.youtube.com/watch?v=VIDEO_ID"
```

---

## 🎊 ИТОГ

Проект полностью готов к использованию!
Все критические проблемы исправлены!
UI стал профессиональным!
Документация полная!

Осталось только создать Release на GitHub! 🚀

---

Спасибо за работу! Было приятно помочь! 🙏
Loading