videonut 1.2.2 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -53,8 +53,43 @@ VideoNut transforms your ideas into **production-ready YouTube documentaries** u
53
53
 
54
54
  ## 📦 Quick Install
55
55
 
56
- ### Prerequisites
57
- - **Node.js 16+** - [Download here](https://nodejs.org)
56
+ ### ⚠️ Prerequisites: Install Node.js First
57
+
58
+ VideoNut requires **Node.js 18+** to run. Choose one method to install:
59
+
60
+ <details>
61
+ <summary><b>📥 Option A: Download from Website (Easiest)</b></summary>
62
+
63
+ 1. Go to **[nodejs.org](https://nodejs.org)**
64
+ 2. Download the **LTS version** (recommended)
65
+ 3. Run the installer and follow the prompts
66
+ 4. Restart your computer
67
+ 5. Verify installation: `node --version` and `npm --version`
68
+
69
+ </details>
70
+
71
+ <details>
72
+ <summary><b>💻 Option B: Install via Command Line</b></summary>
73
+
74
+ **Windows (PowerShell as Administrator):**
75
+ ```powershell
76
+ winget install OpenJS.NodeJS.LTS
77
+ ```
78
+
79
+ **macOS:**
80
+ ```bash
81
+ brew install node
82
+ ```
83
+
84
+ **Linux (Ubuntu/Debian):**
85
+ ```bash
86
+ curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
87
+ sudo apt-get install -y nodejs
88
+ ```
89
+
90
+ </details>
91
+
92
+ ---
58
93
 
59
94
  ### Option 1: NPX (Recommended)
60
95
  ```bash
package/bin/videonut.js CHANGED
@@ -477,14 +477,38 @@ async function runInit() {
477
477
  // ═══════════════════════════════════════════════════════════════
478
478
  header('Step 6/6: Final Setup');
479
479
 
480
- // Create a launch script
480
+ // Create paths for local tools
481
+ const localPythonPath = path.join(videoNutDir, 'python');
482
+ const localToolsPath = path.join(videoNutDir, 'tools', 'bin');
483
+
484
+ // Create a launch script that adds local Python and FFmpeg to PATH
481
485
  const launchScriptContent = isWindows
482
486
  ? `@echo off
483
- echo Starting VideoNut with ${selectedCli || 'your CLI'}...
487
+ REM Add local Python and FFmpeg to PATH for this session
488
+ set PATH=${localPythonPath};${localPythonPath}\\Scripts;${localToolsPath};%PATH%
489
+
490
+ echo.
491
+ echo ====================================
492
+ echo VideoNut Environment Ready!
493
+ echo Python: ${localPythonPath}
494
+ echo FFmpeg: ${localToolsPath}
495
+ echo ====================================
496
+ echo.
497
+ echo Starting ${selectedCli || 'your CLI'}...
484
498
  ${selectedCli || 'gemini'}
485
499
  `
486
500
  : `#!/bin/bash
487
- echo "Starting VideoNut with ${selectedCli || 'your CLI'}..."
501
+ # Add local Python and FFmpeg to PATH for this session
502
+ export PATH="${localPythonPath}:${localPythonPath}/bin:${localToolsPath}:$PATH"
503
+
504
+ echo ""
505
+ echo "===================================="
506
+ echo " VideoNut Environment Ready!"
507
+ echo " Python: ${localPythonPath}"
508
+ echo " FFmpeg: ${localToolsPath}"
509
+ echo "===================================="
510
+ echo ""
511
+ echo "Starting ${selectedCli || 'your CLI'}..."
488
512
  ${selectedCli || 'gemini'}
489
513
  `;
490
514
 
@@ -494,6 +518,7 @@ ${selectedCli || 'gemini'}
494
518
  execSync(`chmod +x "${launchScriptPath}"`);
495
519
  }
496
520
  success(`Created launch script: ${path.basename(launchScriptPath)}`);
521
+ info('Use this script to start with Python & FFmpeg in PATH!');
497
522
 
498
523
  // ═══════════════════════════════════════════════════════════════
499
524
  // INSTALLATION COMPLETE!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videonut",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "AI-powered YouTube documentary production pipeline with 10 specialized agents for research, scripting, and asset management",
5
5
  "keywords": [
6
6
  "youtube",