Skip to content

Optionally Dockerized Nodejs Express app to convert youtube url to mp3 download

Notifications You must be signed in to change notification settings

mistercoffee66/express-ytdl

Repository files navigation

express-ytdl

This is an optionally Dockerized Nodejs Express app to convert youtube urls to mp3 downloads. You can run it as a Nodejs app in an exisiing environment or build it as a Docker image.

Usage as a Nodejs app in an exisiing environment

Requirements

Install forever globally

$ npm install -g forever

Install dependencies

express-ytdl $ npm install 

Run

express-ytdl $ npm start 

####Known Issues

Build and run as a Docker Image

Requirements

Based on truthbean/ffmpeg-node-docker

Start Docker on your host system

Build the image

express-ytdl $ docker build -t your-optional-dockerhub-username/your-app-name .

Run the container. The container's exposed port is 8080. The first argument of the -p|port flag is your localhost port that you want to point to the container, in this example 49160.

express-ytdl $ docker run -p 49160:8080 -d your-optional-dockerhub-username/your-app-name

Open http://localhost:49160 in your browser

Deploy as a Docker Image

You can zip the directory contents (excluding node_modules and logs) easily from the latest git version:

express-ytdl $ git archive --format=zip HEAD > your-app-name.zip

About

Optionally Dockerized Nodejs Express app to convert youtube url to mp3 download

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published