8000 GitHub - bastian-js/youtube-converter: A web-based YouTube to MP3/MP4 converter built with Node.js and yt-dlp.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bastian-js/youtube-converter

Repository files navigation

🎧 YouTube Converter – MP3 & MP4 Downloader

A sleek web-based YouTube converter built with Node.js, Express, yt-dlp, and a clean HTML/CSS frontend.
Supports MP3 and MP4 download – even for age-restricted content.


Website Preview


🌐 Live Demo

🔗 https://converter.bbastian.xyz


🚀 Features

  • ✅ Download YouTube videos as MP4 or MP3
  • 🔒 Handles age-restricted videos using cookies
  • 🧠 Smart conversion using yt-dlp and ffmpeg
  • 🖥️ Clean and responsive UI
  • 🌍 Self-hosted – full control, no ads, no trackers

📦 Requirements

  • Node.js (v18+)
  • ffmpeg (sudo apt install ffmpeg)
  • yt-dlp via youtube-dl-exec
  • Chrome/Firefox extension: Get cookies.txt

⚙️ Installation

git clone https://github.com/bastian-js/youtube-converter.git
cd youtube-converter
npm install
chmod +x setup.sh
./setup.sh

Start the server:

node server.js

🍪 How to Handle Age-Restricted Videos

  1. Create a YouTube account (18+)
  2. Log in on youtube.com
  3. Open the video to make sure it's accessible
  4. Use Get cookies.txt to export cookies
  5. Save it as cookies.txt in the project folder

🛡️ License

This project is licensed under a custom non-commercial license.

You are allowed to:

  • ✅ Use, modify, and host it privately or publicly
  • Not allowed to use it commercially or claim it as your own

Full license details: LICENSE


🧠 Author

Made with ❤️ by bastian-js

0