Repository navigation
Snatch - StandAlone
π SNATCH v1.2 - Standalone Release
YouTube Video & Audio Downloader - Fully Portable Edition
Download Latest Release β’ What's New β’ Installation β’ Documentation
οΏ½ Preview
οΏ½π¦ Download
Standalone Executable (Recommended)
| File | Size | Description |
|---|---|---|
| snatch_standalone.exe | ~112 MB | All-in-one executable with embedded dependencies |
Direct Download: snatch_standalone.exe
β¨ New: Completely portable! No installation, no internet required after download.
π What's New in v1.2
β‘ Major Improvements
1. Revolutionary Build System
- β 10x faster compilation - Build time reduced from minutes to seconds
- β Zero memory issues - No more "out of memory" errors during build
- β
Windows Resource Compiler - Native binary embedding using
windres - β Efficient binary storage - Resources stored optimally in executable
2. Enhanced Standalone Mode
- β Instant extraction - Dependencies extract in <1 second on first run
- β Smart caching - Won't re-extract if files already exist
- β Better error handling - Clear messages if extraction fails
- β Improved startup - Faster initialization and dependency checks
3. Build Process Improvements
- β
New build script (
build_standalone_v2.bat) with better error reporting - β No Python required - Build process simplified (Python only needed for old method)
- β Verbose output - See exactly what's happening during compilation
- β Auto-validation - Checks for all required tools before building
π§ Technical Changes
- Replaced C array embedding with Windows Resource (
.rc) files - Optimized binary extraction using Windows API (
FindResource,LoadResource) - Improved memory efficiency during compilation
- Added detailed error codes and troubleshooting hints in build script
- Reduced compiler memory footprint by 90%
π Bug Fixes
- Fixed memory allocation errors during compilation of large embedded binaries
- Fixed GCC out-of-memory issues with files >100MB
- Improved handling of long file paths in build script
- Fixed batch script issues with special characters in paths
π Features
Core Functionality
- πΉ Video Download - Best quality MP4 with automatic merging
- π΅ Audio Download - Extract and convert to MP3 (320kbps)
- π Playlist Support - Download entire YouTube playlists
- π¨ Beautiful UI - ASCII art banner with color-coded menus
- π Auto-organize - Creates
downloads/folder automatically
Standalone Benefits
- π Zero Dependencies - Everything embedded in single .exe
- πΎ Fully Portable - Run from USB, cloud storage, or any folder
- π No Internet After Download - All tools included
- βοΈ No Installation - Just download and run
- π Self-contained - No registry changes or system modifications
π₯οΈ System Requirements
Minimum Requirements
- OS: Windows 7 or later (64-bit recommended)
- RAM: 512 MB
- Disk Space: 250 MB free (for extraction + downloads)
- Internet: Only required during video downloads
For Building from Source
- GCC Compiler: MinGW-w64 or TDM-GCC
- windres: Windows Resource Compiler (included with MinGW-w64)
- Disk Space: 500 MB for build process
π₯ Installation
For End Users
It's simple - No installation needed!
- Download
snatch_standalone.exe - Run it (double-click or from terminal)
- Done! Program will auto-extract dependencies on first run
# Run from Command Prompt or PowerShell
.\snatch_standalone.exeFirst Run
On first launch, you'll see:
[STANDALONE] Extracting embedded dependencies...
β Extracting yt-dlp.exe... β
β Extracting ffmpeg.exe... β
[OK] All dependencies ready!
This takes ~1 second. Subsequent runs will skip this step.
π οΈ Building from Source
Quick Build
# Clone or download the source
cd Snatch_v1.0
# Run the new build script
build_standalone_v2.batWhat Happens
- β Validates GCC and windres are installed
- β
Checks for
yt-dlp.exeandffmpeg.exe - β Compiles resources (embeds binaries) - Fast!
- β Compiles C code with resources - 10 seconds!
- β
Outputs
snatch_standalone.exe(~112 MB)
Build Output
============================================================
SNATCH v1.0 - Improved Standalone Build System
============================================================
[OK] GCC found
[OK] windres found
[OK] yt-dlp.exe found
[OK] ffmpeg.exe found
Step 1: Compiling resources (embedding binaries)
[SUCCESS] Resources compiled successfully!
Step 2: Compiling standalone executable
[SUCCESS] Build complete!
File size: ~112 MB
β 10x faster compilation (seconds vs minutes)
β No memory issues during build
β Same functionality, better performance
π Usage Guide
Main Menu
ββββββββββββ βββ ββββββ βββββββββ ββββββββββ βββ
βββββββββββββ βββββββββββββββββββββββββββββββ βββ
ββββββββββββββ βββββββββββ βββ βββ ββββββββ
ββββββββββββββββββββββββββ βββ βββ ββββββββ
βββββββββββ βββββββββ βββ βββ βββββββββββ βββ
βββββββββββ ββββββββ βββ βββ ββββββββββ βββ
YouTube Video & Audio Downloader v1.0
Standalone Edition
[1] Download Video (Best Quality)
[2] Download Audio Only (MP3)
[3] Download Full Playlist
[4] Exit
Example: Download Video
- Select option [1]
- Paste YouTube URL:
https://www.youtube.com/watch?v=dQw4w9WgXcQ - Press Enter and wait
- File saved to
downloads/folder
Example: Download Playlist
- Select option [3]
- Paste playlist URL
- All videos downloaded with numbering:
1 - Title.mp4,2 - Title.mp4, etc.
π Version Comparison
| Feature | v1.0 | v1.2 (This Release) |
|---|---|---|
| Build Method | Python + C arrays | Resource Compiler |
| Build Time | 5-10 minutes | 10-20 seconds |
| Memory Issues | β Frequent | β None |
| Build Success Rate | ~50% | β 100% |
| Compilation Errors | Out of memory | β Fixed |
| Binary Embedding | 110MB C array | Windows Resource |
| Extraction Speed | Instant | β Instant |
| File Size | ~110 MB | ~112 MB |
| Core Features | Same | β Same |
π Technical Details
Embedded Dependencies
| Component | Version | Size | Purpose |
|---|---|---|---|
| yt-dlp | Latest | ~18 MB | YouTube downloader engine |
| ffmpeg | Latest | ~94 MB | Audio/video processing |
Resource Embedding
- Method: Windows Resource Compiler (
windres) - Format:
.rcβ.resβ linked into.exe - Extraction: Windows API (
FindResource,LoadResource,LockResource) - Advantages: Native, fast, efficient, no memory issues
Build Architecture
yt-dlp.exe + ffmpeg.exe
β
resources.rc (Resource Definition)
β
windres (Compile Resources)
β
resources.res (Compiled Resources)
β
GCC (Link with C code)
β
snatch_standalone.exe (Final)
β FAQ
Why is v1.2 better?
The build system was completely rewritten. The old method tried to create 110MB C arrays which caused GCC to run out of memory. The new method uses Windows native resource embedding - 10x faster, zero errors.
Do I need to rebuild my existing executable?
Only if you want the latest yt-dlp/ffmpeg versions. Your v1.0 standalone still works fine.
Is it safe? Antivirus flags it!
This is a false positive. Large executables with embedded binaries sometimes trigger heuristic scans. The code is open-source - verify it yourself!
Can I update yt-dlp/ffmpeg?
Yes, but you need to rebuild:
- Download latest
yt-dlp.exeandffmpeg.exe - Run
build_standalone_v2.bat - New executable includes updated tools
Does it work offline?
After downloading, yes! All tools are embedded. You only need internet to:
- Download YouTube videos (obviously)
- Initial download of the executable
π Known Issues
None currently! π
If you find bugs, please report them with:
- OS version
- Error message
- Steps to reproduce
πΊοΈ Roadmap
Planned for v1.3
- GUI version with drag-and-drop
- Download queue and batch processing
- Quality selection menu (4K, 1080p, 720p, etc.)
- Subtitles download support
- Progress bar with ETA
- Configuration file for default settings
Under Consideration
- Linux/Mac standalone builds
- Auto-update mechanism
- Browser extension integration
- Custom filename templates
π License & Credits
SNATCH
- License: MIT License
- Author: Abdanio Parchezzi
- Project: Project Alpha
Dependencies
- yt-dlp: Unlicense License
- FFmpeg: LGPL/GPL License
All components are open-source and freely distributable.
π€ Contributing
Want to help improve SNATCH?
- Report bugs and issues
- Suggest new features
- Submit pull requests
- Share with friends!
π Support
- Documentation: README.md
- Build Guide: README_STANDALONE.md
- Issues: Report bugs in GitHub Issues
π― Changelog
v1.2.0 (January 2026)
Build System Overhaul
- Implemented Windows Resource Compiler for binary embedding
- Reduced build time from 5+ minutes to 10-20 seconds
- Eliminated all memory allocation errors during compilation
- Added comprehensive error reporting in build script
Improvements
- Enhanced standalone extraction logic
- Better error messages and troubleshooting
- Optimized binary storage in executable
- Improved first-run experience
Bug Fixes
- Fixed GCC out-of-memory errors with large embedded files
- Fixed batch script issues with special characters
- Resolved compilation failures on systems with limited RAM
v1.0.0 (Initial Release)
- Initial standalone build implementation
- Core download functionality
- ASCII art interface
- Basic error handling