Download install_mac_linux.sh from VanyaJ/deck2video-skill: direct link, hf CLI and curl.
- Browser
- Download file 1.46 kB
-
https://huggingface.co/VanyaJ/deck2video-skill/resolve/main/install_mac_linux.sh
- Command line
-
hf download hf://VanyaJ/deck2video-skill/install_mac_linux.sh
-
curl -L -o install_mac_linux.sh https://huggingface.co/VanyaJ/deck2video-skill/resolve/main/install_mac_linux.sh
1.46 kB
| set -euo pipefail | |
| echo "=== Deck2Video v4.3 Zero-Egress Setup (macOS / Linux) ===" | |
| SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
| cd "$SCRIPT_DIR" | |
| if ! command -v ffmpeg >/dev/null 2>&1; then | |
| echo "[!] FFmpeg not found on PATH. Ensure ffmpeg is installed locally." | |
| fi | |
| echo "[1/2] Creating Python virtual environment (.venv) and installing packages..." | |
| python3 -m venv .venv | |
| source .venv/bin/activate | |
| if [ -d "$SCRIPT_DIR/offline_vendor/wheels" ]; then | |
| pip install --no-index --find-links="$SCRIPT_DIR/offline_vendor/wheels" setuptools wheel | |
| pip install --no-index --find-links="$SCRIPT_DIR/offline_vendor/wheels" -r requirements.txt | |
| pip install --no-index --find-links="$SCRIPT_DIR/offline_vendor/wheels" --no-deps supertonic | |
| pip install --no-index --find-links="$SCRIPT_DIR/offline_vendor/wheels" --no-build-isolation --no-deps -e . | |
| else | |
| pip install setuptools wheel | |
| pip install -r requirements.txt | |
| pip install --no-deps supertonic | |
| pip install --no-build-isolation --no-deps -e . | |
| fi | |
| echo "[2/2] Generating local sample PPTX, DOCX, and HTML files..." | |
| python3 produce_deck_video.py --generate-samples | |
| echo "" | |
| echo "✅ Zero-Egress Setup Complete! (100% Local Offline Default — 0 External Bytes)" | |
| echo " source .venv/bin/activate" | |
| echo " python3 produce_deck_video.py -i my_slides.pptx --analyze" | |
| echo " python3 produce_deck_video.py -i my_slides.pptx --style-pack deepfact_docu -o output/my_video.mp4" | |