Files
indee-demo/download-images.sh
Dorian f8abd42329 feat: transparent header and image download scripts
- Made header transparent on scroll for premium Netflix-style look
- Added browser console script to download all IndeeHub images
- Created Python script for batch image downloading
- Added shell script for curl-based downloads

The header now starts fully transparent and transitions to semi-transparent
black with blur when scrolling, creating a floating navigation effect.

Download scripts will extract all film posters, backdrops, and metadata
from IndeeHub.studio screening room.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-02 22:23:17 +00:00

66 lines
1.5 KiB
Bash
Executable File

#!/bin/bash
# Script to download all IndeeHub film images and metadata
# Run this while logged in to IndeeHub.studio
ASSETS_DIR="assets/films"
mkdir -p "$ASSETS_DIR/posters"
mkdir -p "$ASSETS_DIR/backdrops"
echo "Downloading IndeeHub film images..."
# Array of film IDs from screening room
films=(
"everybody-does-it"
"girl-to-girl"
"bula-mahlo"
"lullaby"
"stranded-dirty-coin"
"home"
"searching-for-satoshi"
"the-things-we-carry"
"anatomy-of-the-state"
"duel"
"wedding-planning"
"one-mans-trash"
"in-the-darkness"
"clemont"
"anne"
"bender"
"fall-of-2008"
"god-bless-bitcoin"
"housing-bubble"
"forging-a-country"
"bitcoiners"
"kid-prosper"
"how-sweden-quit-smoking"
"a-night-of-psychosis"
"nanoblood"
"zones-of-progress"
"project-project"
"the-edited"
"time-traveling-thieves"
"the-man-who-wouldnt-cry"
)
# Download posters (640x960)
for film in "${films[@]}"; do
echo "Downloading poster for: $film"
curl -s "https://indeehub.studio/_next/image?url=%2Fapi%2Fposters%2F${film}&w=640&q=75" \
-o "$ASSETS_DIR/posters/${film}.jpg" \
--cookie-jar cookies.txt \
--cookie cookies.txt
done
# Download backdrops (1920x1080)
for film in "${films[@]}"; do
echo "Downloading backdrop for: $film"
curl -s "https://indeehub.studio/_next/image?url=%2Fapi%2Fbackdrops%2F${film}&w=1920&q=75" \
-o "$ASSETS_DIR/backdrops/${film}.jpg" \
--cookie-jar cookies.txt \
--cookie cookies.txt
done
echo "✅ Download complete!"
echo "Images saved to: $ASSETS_DIR"