{"id":24935194,"url":"https://github.com/corbrandt/yt-dialog","last_synced_at":"2025-03-28T15:15:13.807Z","repository":{"id":274641218,"uuid":"923577576","full_name":"corbrandt/yt-dialog","owner":"corbrandt","description":"This script provides a text-based interface for downloading YouTube videos with yt-dlp. Users can select download formats (MP4 or Stream), specify filenames, and track the download progress in real-time.","archived":false,"fork":false,"pushed_at":"2025-02-10T14:55:51.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T15:41:07.173Z","etag":null,"topics":["dialog","shell","shell-script","youtube-dl","yt-dlp"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/corbrandt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-28T13:56:32.000Z","updated_at":"2025-02-10T14:55:54.000Z","dependencies_parsed_at":"2025-01-28T15:32:00.558Z","dependency_job_id":null,"html_url":"https://github.com/corbrandt/yt-dialog","commit_stats":null,"previous_names":["corbrandt/yt-dialog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbrandt%2Fyt-dialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbrandt%2Fyt-dialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbrandt%2Fyt-dialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbrandt%2Fyt-dialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corbrandt","download_url":"https://codeload.github.com/corbrandt/yt-dialog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246049632,"owners_count":20715511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dialog","shell","shell-script","youtube-dl","yt-dlp"],"created_at":"2025-02-02T15:21:49.604Z","updated_at":"2025-03-28T15:15:13.802Z","avatar_url":"https://github.com/corbrandt.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ▶️ YouTube Video Downloader with Progress Bar\n\nA simple, beginner-friendly shell script that allows you to download YouTube videos using `yt-dlp` with a `dialog`-based user interface, including a working progress bar.\n\n## 👍 Features\n- **User-friendly text-based interface** powered by `dialog`\n- **Download as MP4 or Stream** using `yt-dlp`\n- **Real-time progress bar** showing download percentage\n- **Option to specify filename**\n- **Saves downloads in `~/Downloads`** by default\n\n## 🖼️ Screenshot\n![Screenshot_20250128_145853](https://github.com/user-attachments/assets/ad636e15-f54d-4fed-9d9c-5c81038e9f59)\n\n## ‼️ Prerequisites\nBefore running the script, make sure you have the following installed:\n\n### 📥 Install Required Dependencies\n```bash\nsudo apt update\nsudo apt install dialog\nsudo apt install yt-dlp\n```\nThe above commands may vary, depending on your distro.\n\nIf you are using another Linux distribution:\n- **Arch Linux:** `sudo pacman -S dialog yt-dlp`\n- **Fedora:** `sudo dnf install dialog yt-dlp`\n\n## ⬇️ Installation \u0026 Setup\n1. **Download the script**\n   ```bash\n   git clone https://github.com/YOUR_USERNAME/YOUR_REPOSITORY.git\n   cd YOUR_REPOSITORY\n   ```\n\n2. **Make the script executable**\n   ```bash\n   chmod +x yt_downloader.sh\n   ```\n\n3. **Run the script**\n   ```bash\n   ./yt_downloader.sh\n   ```\n\n## 📖 Usage Guide\n1. **Enter the YouTube video URL**\n2. **(Optional) Specify a filename**\n3. **Select the download format:**\n   - `MP4`: Downloads the video as an MP4 file\n   - `Stream`: Downloads using streaming mode\n4. **Watch the progress bar as the video downloads**\n5. **Find your video in `~/Downloads`**\n\n## 🛠 Customization\nYou can modify the default download directory by editing the following line in the script:\n```bash\nDOWNLOAD_DIR=\"$HOME/Downloads\"\n```\nChange `$HOME/Downloads` to your preferred directory.\n\n## 🆘 Troubleshooting\n- If `yt-dlp` is missing, install it with `sudo apt install yt-dlp`. This command may vary, depending on your distro.\n- If `dialog` is missing, install it with `sudo apt install dialog`. This command may vary, depending on your distro.\n- If downloads fail, try updating `yt-dlp` with:\n  ```bash\n  sudo yt-dlp -U\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorbrandt%2Fyt-dialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorbrandt%2Fyt-dialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorbrandt%2Fyt-dialog/lists"}