
Next we would install expressjs and ytdl-core. After this create a directory called google-chrome-extensions then cd into the directory and type npm init(This would create package.json file in our directory. You would need to install Nodejs on your machine. Setup the local server with node to help in youtube Video/Audio download Our directory would contain two folders, one for the chrome extension and the second one for our server(express and ytdl-core) We need to create a directory for our project.
Service worker API and how they worked in the browser. Google Chrome extensions file structures. Google Chrome Extensions API and how they work.
expressjs(A simple and lightweight framework to make use of Nodejs easier and faster). Ytdl-core(YouTube download module created with Javascript for Nodejs).
Basic understanding of HTML, CSS and JavaScript. I forked the Chrome extensions github page in order to learn deep and understand the functionalities of some of the API. This article was what get me started - They are extensive and very easy to understand, they provide examples for each API and functions/methods. Ability to select Video/Audio Fomart(mp3, mp4 etc)įor Google chrome starters, you would need to learn Goggle chrome extensions Features and API. Ability to select Video/Audio Qualities. Our google Chrome extension would have two capabilities: I download Video/Audio on YouTube frequently so I opt to build a Video/Audio Google Chrome extension - Although there are many video/audio extension mine should be one of them. I was looking for ways to improve my JavaScript and NodeJs skills and after some research I concluded to build something i use every day, and the best way to do this is to create extensions that can be installed on my browser. We are building a Video/Audio YouTube downloader google chrome extension using JavaScript and Nodejs.
Follow up to my last week post on learningInPublic