This is a web app that helps you convert videos to mp3, mp4, and other formats. I built this tools as a part of my company project, and I made some changes and updations to the code, and added it to GitHub.
‼ Note: Don't deploy this code on heroku, because there is a policy for tools like this, hence If you deploy this in Heroku then you'll get Locked Out from your account.
- git clone https://github.com/vishwasracharya/ffmpeg-with-nodejs.git
- npm install
- Add the required Keys to the .env file, or add a keys.js file for environment variables.
- npm run dev
- See Live in Browser at http://localhost:3002
🎉
- site_url - The URL of the site.
- main_url - The URL of the main site. (If this code is used for backend API only, then this can be the url of the frontend site).
- Gulp is a task runner for Node.js. It is a tool for building, bundling, and packaging your client-side JavaScript and CSS files. It is a tool for managing your projects.
- In this project I used to minify JS, CSS and Obfuscate the JS, so that no one can see the code. when they are in production.
- Also used gulp-purgecss plugin to remove unused CSS. So that It can be fast to load in the browser. It is a tool for removing unused CSS from your project