Four Open‑Source YouTube Tools for Downloading, Editing, and Archiving
This article reviews four open‑source projects that together cover YouTube downloading (yt‑dlp), AI‑powered clipping (Youtube‑clipper‑skill), a web‑based precise cutter (retrogtx/youtube‑clipper), and GitHub Actions automated archiving (nikzad‑avasam/youtube‑dl), detailing their features, installation steps, and ideal user scenarios.
yt-dlp: a powerful command‑line downloader
If you need a single YouTube downloader, yt‑dlp is the most active fork of youtube‑dl with over 161 K stars on GitHub, supporting more than 1 000 sites. Core features include rich format support (video, audio, subtitles, thumbnails), progress control (resume, multithreaded download, speed limits), post‑processing with ffmpeg (conversion, merging, subtitle burning), and authentication options (cookies, VPN, proxy).
# macOS
brew install yt-dlp
# PyPI
pip install yt-dlp
# Direct binary
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o yt-dlp
chmod +x yt-dlp # Download best‑quality video+audio
yt-dlp "https://www.youtube.com/watch?v=VIDEO_ID"
# Download audio only (mp3)
yt-dlp -x "https://www.youtube.com/watch?v=VIDEO_ID"
# Specify format
yt-dlp -f "bestvideo+bestaudio/best" "URL"Suitable for technical users who need batch downloading and automated processing.
Youtube-clipper-skill: Claude Code AI clipping assistant
This project, designed for Claude Code, provides AI‑semantic analysis instead of simple time‑based cuts. It automatically understands video content, creates 2‑5 minute semantic chapters, and lets users request clips with natural language. Additional functions include bilingual subtitle translation (reducing API calls by 95 %), subtitle hard‑coding with custom styles, and automatic generation of short‑form platform copy.
npx skills add https://github.com/op7418/Youtube-clipper-skillUsage is as simple as telling Claude:
Clip this YouTube video: https://youtube.com/watch?v=VIDEO_IDThe assistant then performs: download → content analysis → chapter generation → precise segment extraction → subtitle translation → subtitle burning.
Dependencies: Python 3.8+, yt‑dlp, FFmpeg (with libass support).
Suitable for developers already using Claude Code or creators who need AI‑assisted video clipping.
retrogtx/youtube-clipper: Web‑based precise clipping
If you prefer a standalone web tool for exact YouTube segment extraction, this front‑end/back‑end separated application uses NextJS + TailwindCSS on the front end and Node.js (Express) + Bun on the back end. It relies on yt‑dlp and ffmpeg for video processing.
# Clone the project
git clone https://github.com/retrogtx/youtube-clipper
cd youtube-clipper
# Install dependencies
cd backend && bun install
cd ../frontend && bun install
# Start services
cd backend && bun run src/index.ts # runs on port 3001
cd ../frontend && bun run dev # runs on port 3000Open http://localhost:3000, paste a YouTube URL and start/end timestamps, then click “Clip Video” to download the trimmed clip locally.
Key advantages: no cloud storage (direct download to device), second‑level timestamp precision, and self‑hosted data that never passes through third parties.
Suitable for users who want a visual interface instead of command‑line tools.
nikzad-avasam/youtube-dl: GitHub Actions automated archiving
This repository uses GitHub Actions to automatically download YouTube videos and store them in your own GitHub repository, making it ideal for long‑term preservation and archiving. Core functions include automatic video download, subtitle saving (both Chinese and English), automatic video splitting for long files, and repository management with folder categorisation and optional zip encryption.
Fork the project to your GitHub account.
Navigate to the Actions tab and select the “YouTube Downloader” workflow.
Enter one or more video URLs (space‑separated) and choose quality preferences.
Optionally set a zip password.
Click “Run workflow” and wait for the green check mark to appear.
Note: after forking, regularly sync the fork to keep the workflow up‑to‑date, otherwise it may stop working.
Suitable for users who want free, automated cloud storage of YouTube videos and are comfortable with basic GitHub operations.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Geek Labs
Daily shares of interesting GitHub open-source projects. AI tools, automation gems, technical tutorials, open-source inspiration.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
