|
1 | | -# ytconverter |
| 1 | +## YTConverter™ |
| 2 | +<img width="1020" height="732" alt="1000136389" src="https://github.com/user-attachments/assets/ef9eef49-e366-46cd-937f-834b6d85167b" /> |
| 3 | + |
| 4 | +--- |
| 5 | + |
| 6 | +<p align="center"> |
| 7 | + <img src="https://img.shields.io/badge/Version-4.0.2-blueviolet?style=for-the-badge&logo=github" /> |
| 8 | +<!-- <img src="https://img.shields.io/github/forks/kaifcodec/ytconverter?style=for-the-badge&logo=git" /> |
| 9 | + <img src="https://img.shields.io/github/stars/kaifcodec/ytconverter?style=for-the-badge&logo=github" /> --> |
| 10 | + <img src="https://img.shields.io/github/issues/kaifcodec/ytconverter?style=for-the-badge&logo=github" /> |
| 11 | + <img src="https://img.shields.io/badge/Status-Stable-brightgreen?style=for-the-badge" /> |
| 12 | + <img src="https://img.shields.io/badge/Tested%20on-Termux-black?style=for-the-badge&logo=termux" /> |
| 13 | + <img src="https://img.shields.io/badge/Tested%20on-Windows-cyan?style=for-the-badge&logo=Windows" /> |
| 14 | + <img src="https://img.shields.io/badge/Tested%20on-Linux-balck?style=for-the-badge&logo=Linux" /> |
| 15 | + <!--- <img src="https://img.shields.io/pypi/dm/ytconverter?label=PyPI%20Downloads&color=blue&logo=pypi" /> ---> |
| 16 | + <img src="https://static.pepy.tech/badge/ytconverter?left_color=black&right_color=brightgreen" /> |
| 17 | +</p> |
| 18 | + |
| 19 | +--- |
| 20 | +> **Preface (optional):** A subtle reflection before diving into the technical details, feel free to skip to main content. |
| 21 | +
|
| 22 | +| | |
| 23 | +|-----------------------------------------------------------------| |
| 24 | +| **❓ Born from silent hands, shaping what they cannot fully feel.** | |
| 25 | +| **❓ Weighted and left alone, with no hand to guide through the quiet.** | |
| 26 | +| **❓ Moving the world’s sound, while never feeling its pulse.** | |
| 27 | +| <sub>— Author: 401</sub> | |
| 28 | +--- |
| 29 | +`YTConverter™` is a Python-based project developed by [kaifcodec](https://github.com/kaifcodec) designed to provide a robust tool for converting YouTube videos into various formats. This tool simplifies the process of downloading and converting videos from YouTube. |
| 30 | + |
| 31 | +--- |
| 32 | +## ✅ Features |
| 33 | +- *Video Downloading* : Fetch videos directly from YouTube. |
| 34 | +- *Audio Downloading*.: Downloads audio of any video with wide range of bitrate selection. |
| 35 | +- *Multiple video download*.: Now you can download multiple videos using the tool, just paste the urls one by one. |
| 36 | +- *Detailed Quality* : It fetches all the available resolutions for the video and let you select as per your need. |
| 37 | +- *Path selections* : It has inbuilt features to detect `Downloads` folder according to what platform user in. |
| 38 | +- *Custom Path* : Also you can enter your suitable path for every video. |
| 39 | +- *Title sanitization* : It has inbuilt `re` module implementation that converts special characters to text, avoiding errors |
| 40 | +- *Format Conversion*.: Convert downloaded videos into different formats such as MP3, MP4, etc. |
| 41 | +- *Metadata Handling* : Extract and manage metadata associated with YouTube videos. |
| 42 | +- *Colored output* : Colorful terminal output that make it easier to select options. |
| 43 | +- *Interactive CLI* : It provides interactive CLI menu that is way easier than using commands everytime. |
| 44 | +- *Auto Update* : You can simply run `ytconverter -U` and it will update yt-dlp and ytconverter to latest version, even it can auto detect whenever there's a new release of `ytconverter`. |
| 45 | + |
| 46 | +- Many more features inside try them all... |
| 47 | +--- |
| 48 | +## Screenshots |
| 49 | +<p align= "left"> |
| 50 | + <img width="1080" height="495" alt="1000132505" src="https://github.com/user-attachments/assets/4087d8e8-5266-4fb0-8135-a51eda1fdcc1" /> |
| 51 | +</p> |
| 52 | +<p align="left"> |
| 53 | +<img src= "https://github.com/user-attachments/assets/8e9d00ce-b698-4b1f-8870-badd5d274442" width="600" height="600"/> |
| 54 | +</p> |
| 55 | + |
| 56 | +--- |
| 57 | + |
| 58 | +## Requirements |
| 59 | +- Python 3.x |
| 60 | +- Required Python libraries (listed in `requirements.txt`) |
| 61 | +- ffmpeg & yt-dlp binary |
| 62 | + |
| 63 | +## 🧩 Installation |
| 64 | + |
| 65 | +### 🐧 Linux / Termux / macOS |
| 66 | +```bash |
| 67 | +git clone https://github.com/kaifcodec/ytconverter.git |
| 68 | +cd ytconverter/standalone/ |
| 69 | +./install.sh # Auto-setup ffmpeg + dependencies |
| 70 | +``` |
| 71 | +### If install.sh fails, install ffmpeg manually |
| 72 | +```bash |
| 73 | +sudo apt install ffmpeg # Debian/Ubuntu |
| 74 | +pkg install ffmpeg # Termux |
| 75 | +sudo dnf install ffmpeg # Fedora |
| 76 | +sudo pacman -S ffmpeg # Arch |
| 77 | +``` |
| 78 | +### Install ytconverter from PyPI |
| 79 | +```bash |
| 80 | +pip install ytconverter |
| 81 | +ytconverter -S |
| 82 | +``` |
| 83 | + |
| 84 | +## ⚙️ Update |
| 85 | +### Update ytconverter |
| 86 | +```bash |
| 87 | +./update.sh # update to new repo, new yt-dlp version |
| 88 | + |
| 89 | +ytconverter -U # pypi package |
| 90 | + |
| 91 | +``` |
| 92 | +## 🪟 Windows |
| 93 | +### Clone the repository |
| 94 | +```bash |
| 95 | +git clone https://github.com/kaifcodec/ytconverter.git |
| 96 | +cd ytconverter/standalone/ |
| 97 | +install.bat # Or manually install ffmpeg and add it to PATH |
| 98 | +``` |
| 99 | +### Then run: |
| 100 | +```bash |
| 101 | +python3 ytconverter.py |
| 102 | +``` |
| 103 | + |
| 104 | +--- |
| 105 | + |
| 106 | +## Contact |
| 107 | +For any questions or feedback, open an issue or write an email on kaifcodec@gmail.com |
| 108 | + |
| 109 | +--- |
| 110 | + |
| 111 | +### If you found this tool helpful leave a star that will motivate me to maintain this project and add new features |
| 112 | + |
| 113 | +<a href="https://www.star-history.com/#kaifcodec/ytconverter&type=date&legend=top-left"> |
| 114 | + <picture> |
| 115 | + <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=kaifcodec/ytconverter&type=date&theme=dark&legend=top-left" /> |
| 116 | + <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=kaifcodec/ytconverter&type=date&legend=top-left" /> |
| 117 | + <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=kaifcodec/ytconverter&type=date&legend=top-left" /> |
| 118 | + </picture> |
| 119 | +</a> |
| 120 | + |
| 121 | +--- |
0 commit comments