🎬 Colorful YouTube Video & MP3 Downloader for Termux
Features • Installation • Usage • Documentation • FAQ
🎥 Video Downloads
- Best Quality (4K/8K/2K - Maximum Available)
- 4K Ultra HD (2160p)
- 2K Quad HD (1440p)
- 1080p Full HD
- 720p HD Ready
- 480p SD
- 360p Low Quality
- Custom Format Selection
🎵 MP3 Downloads
- 320 kbps (Best)
- 256 kbps (High)
- 192 kbps (Medium)
- 128 kbps (Standard)
- 96 kbps (Low)
🎨 Beautiful Interface
- Colorful gradient banner
- Easy-to-use menu system
- Real-time download progress
- Color-coded status messages
⚡ Advanced Features
- Auto-dependency installation
- Format selection guide
- Video information display
- Smart file merging
- Update checker
Copy and paste this one-liner in Termux:
bash <(curl -fsSL https://raw.githubusercontent.com/HYDRA-TERMUX/tubegrab/main/setup.sh)This will automatically:
- ✅ Update Termux
- ✅ Install all dependencies (Python, FFmpeg, yt-dlp)
- ✅ Download TubeGrab
- ✅ Setup storage permissions
- ✅ Create organized folders
- ✅ Ready to use!
# Install git if not already installed
pkg install git -y
# Clone the repository
git clone https://github.com/HYDRA-TERMUX/tubegrab.git
# Navigate to the directory
cd tubegrab
# Make the script executable
chmod +x youtube-downloader.sh
# Run the script
./youtube-downloader.sh# Update packages
pkg update && pkg upgrade -y
# Install required packages
pkg install python ffmpeg -y
# Install yt-dlp
pip install yt-dlp
# Download the script
curl -O https://raw.githubusercontent.com/HYDRA-TERMUX/tubegrab/main/youtube-downloader.sh
# Make it executable
chmod +x youtube-downloader.sh
# Run the script
./youtube-downloader.shcurl -fsSL https://raw.githubusercontent.com/HYDRA-TERMUX/tubegrab/main/install.sh | bash./youtube-downloader.sh📚 For detailed usage guide, see USAGE.md
- Select option
[1]from the main menu - Enter the YouTube video URL
- Choose your preferred quality
- Wait for the download to complete
- Find your video in
/sdcard/TubeGrab/Video/
- Select option
[2]from the main menu - Enter the YouTube video URL
- Choose your preferred audio quality
- Wait for the download to complete
- Find your MP3 in
/sdcard/TubeGrab/MP3/
- [3] Check/Install Dependencies
- [4] Update yt-dlp to latest version
- [5] Exit the program
╔═══════════════════════════════════════════════════════════════╗
║ ║
║ ████████╗██╗ ██╗██████╗ ███████╗ ██████╗ ██████╗ █████╗ ██████╗ ║
║ ╚══██╔══╝██║ ██║██╔══██╗██╔════╝ ██╔════╝ ██╔══██╗██╔══██╗██╔══██╗ ║
║ ██║ ██║ ██║██████╔╝█████╗ ██║ ███╗██████╔╝███████║██████╔╝ ║
║ ██║ ██║ ██║██╔══██╗██╔══╝ ██║ ██║██╔══██╗██╔══██║██╔══██╗ ║
║ ██║ ╚██████╔╝██████╔╝███████╗ ╚██████╔╝██║ ██║██║ ██║██████╔╝ ║
║ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ║
║ ║
║ YouTube Video & MP3 Downloader for Termux ║
║ All Qualities • Fast • Easy to Use ║
╚═══════════════════════════════════════════════════════════════╝
💡 See USAGE.md for more examples and advanced usage
# Run the script
./youtube-downloader.sh
# Choose option 1 (Video)
# Paste: https://www.youtube.com/watch?v=dQw4w9WgXcQ
# Select quality: 1 (Best Quality)# Run the script
./youtube-downloader.sh
# Choose option 2 (MP3)
# Paste: https://www.youtube.com/watch?v=dQw4w9WgXcQ
# Select quality: 1 (320 kbps)# Run the script
./youtube-downloader.sh
# Choose option 1 (Video)
# Paste your URL
# Select quality: 6 (Custom)
# View available formats and choose your preferred format codes📚 For comprehensive troubleshooting and tips, see USAGE.md
A: All downloads are saved in /sdcard/TubeGrab/:
- Videos:
/sdcard/TubeGrab/Video/ - MP3s:
/sdcard/TubeGrab/MP3/
You can access these folders using any file manager app on your phone.
A: Make sure you've made the script executable:
chmod +x youtube-downloader.shA: Try updating yt-dlp using option [4] in the main menu, or run:
pip install --upgrade yt-dlpA: Currently, the script downloads single videos. For playlists, paste each video URL individually.
A: Run termux-setup-storage and grant Termux access to your storage when prompted.
A: Pull the latest changes from the repository:
cd tubegrab
git pullA: Make sure ffmpeg is installed:
pkg install ffmpeg -ypip install yt-dlppkg install ffmpeg -ypkg install python -y- Check your internet connection
- Try a different time of day
- Some videos may have speed limitations
# Force update all dependencies
pkg update && pkg upgrade -y
pip install --upgrade yt-dlpTo update TubeGrab to the latest version:
cd tubegrab
git pull
chmod +x youtube-downloader.sh- Initial release
- Video download with multiple quality options
- MP3 download with multiple bitrate options
- Colorful terminal interface
- Auto-dependency installation
- Format selection guide
- Progress indicators
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a new branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
This tool is for personal use only. Please respect copyright laws and YouTube's Terms of Service. Only download videos you have permission to download or that are in the public domain.
Check out USAGE.md for the complete user guide with:
- Detailed usage instructions
- Quality selection recommendations
- Advanced features and tips
- Comprehensive troubleshooting
- Keyboard shortcuts and tricks
If you find this tool helpful, please give it a ⭐ on GitHub!
Support the development of TubeGrab:
Your support helps maintain and improve TubeGrab! 🙏
Found a bug? Open an issue
- 🌐 GitHub: @HYDRA-TERMUX
- 💳 PayPal: techcochi
- 📦 Repository: tubegrab
Made with ❤️ for the Termux community