A wrapper for @yt-dlp with PHP and React
This was a good practice for integrating php into react project! App itself is easy as it gets! but mixing was good.
nodemon.js
is the answer. npm start
launches the nodemon.js
and it will execute an empty fake-server-script.js
. ( as we need php server not js server )
after that , it starts a php-built-in-server [php -S 0.0.0.0:8080 -t ./dist]
for serving files. so nodemon watches the files for changes ( to run webpack ) and php servs them.
git clone
to your server- 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 :
- or just use releases :)