A command-line tool for downloading videos from YouTube and Facebook.
- Download videos from YouTube and Facebook
- Select video quality (high, medium, low)
- Specify custom download directory
- Portable static binary
- Ensure you have Go installed (version 1.16 or higher)
- Clone this repository:
git clone https://github.com/yourusername/go-social-video-downloader.git cd go-social-video-downloader - Build the application:
make static-build
- The binary will be created in the
bin/directory
- Download the latest release from the Releases page
- Make the binary executable:
chmod +x go-social-video-downloader
- Move it to your PATH:
sudo mv go-social-video-downloader /usr/local/bin/
Basic usage:
go-social-video-downloader [video_url]Example:
go-social-video-downloader https://www.youtube.com/watch?v=dQw4w9WgXcQ- When prompted for download path, press Enter to use default (
downloads/) - When prompted for quality, enter
high,medium, orlow
- yt-dlp installed and available in PATH
MIT License
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This tool is for educational purposes only. Please respect copyright laws and only download videos you have the rights to.