A wrapper for @yt-dlp with NodeJS and React
A practice of compiling BE/FE modules and scripts at the same time with webpack. App works like @farhang-sa/php-youtube-dl , but with nodejs in backend
for compiling both BE & FE , you need to create two webpack.config files and in server.config you need to declare 'target' : 'node'
that tells webpack to compile for nodejs not browser.
everything else is stright forward. ps. take look at nodemon.js
git clone
to your server- if you did change to code ( ip,port,etc ) run
npm run build
to generate bundles - delete dev files and keep the product :
- if server is windows :
npm run windows
- if server is linux :
npm run linux
- if server is windows :
- start server.js as suggested in output of step 4
- no (1-4) : use releases to get final files and do step 5