⚡ A simple Node.JS YouTube to MP3 converter!
💻 Users can use an IDE like IntelliJ to convert YouTube videos to mp3 files without having to rely on 3rd party websites.
⚠ Only download music that you have permission to. Sources such as NoCopyrightSounds, and Creative Commons sources are a few examples of places where you are allowed to use this.
- Go to the FFmpeg download page at https://ffmpeg.org/download.html.
- Download the appropriate package for your operating system.
- Extract the downloaded package to a location on your system.
- Go to OS(C:)
- Go to Edit Environment Variables, click Path then edit, and make a new variable and paste C:\PATH_Programs.
- To test if everything is installed correctly, go to Powershell and type in
ffmpeg
and this is what it should look like
- Audios are saved in the Music folder.
- Go to the server.js file and copy and paste the YouTube music url ID.
- Name the output file name to whatever you want.
- Then run
node server.js
in the terminal and watch the magic happen! - Must have Node and npm installed. NodeJS Download
- Also please credit me if you're going to use this.
- Node.JS
- FFmpeg
- ytdl-core