- YouTube video/playlist download as MP3 (yt-dlp) - Audio transcription with OpenAI (gpt-4o-transcribe, whisper-1) - Translation with GPT-4o-mini (chunking for long texts) - Web interface with progress bars and drag & drop - CLI and REST API interfaces - Linux shell scripts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
385 B
Bash
19 lines
385 B
Bash
#!/bin/bash
|
|
# Get info about a YouTube video/playlist
|
|
# Usage: ./info.sh <url>
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
URL="$1"
|
|
|
|
if [ -z "$URL" ]; then
|
|
echo "Usage: ./info.sh <youtube_url>"
|
|
echo ""
|
|
echo "Examples:"
|
|
echo " ./info.sh 'https://youtube.com/watch?v=VIDEO_ID'"
|
|
echo " ./info.sh 'https://youtube.com/playlist?list=PLAYLIST_ID'"
|
|
exit 1
|
|
fi
|
|
|
|
npm run cli info "$URL"
|