├── views ├── error.hbs ├── layout.hbs ├── index.hbs └── listvideo.hbs ├── routes ├── users.js └── index.js ├── package.json ├── readme.md ├── .gitignore ├── public └── stylesheets │ └── style.css ├── LICENSE ├── app.js └── bin └── www /views/error.hbs: -------------------------------------------------------------------------------- 1 |
{{error.stack}}
4 |
--------------------------------------------------------------------------------
/routes/users.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var router = express.Router();
3 |
4 | /* GET users listing. */
5 | router.get('/', function(req, res, next) {
6 | res.send('respond with a resource');
7 | });
8 |
9 | module.exports = router;
10 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "youtube-downloader-app",
3 | "version": "0.1.0",
4 | "scripts": {
5 | "start": "node ./bin/www"
6 | },
7 | "dependencies": {
8 | "body-parser": "~1.15.1",
9 | "cookie-parser": "~1.4.3",
10 | "debug": "~2.2.0",
11 | "express": "~4.13.4",
12 | "hbs": "~4.0.0",
13 | "morgan": "~1.7.0",
14 | "request": "^2.79.0",
15 | "serve-favicon": "~2.3.0",
16 | "youtube-dl": "^1.11.1"
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/readme.md:
--------------------------------------------------------------------------------
1 | ## Youtube Downloader Web App
2 | -----------------------------
3 | Working youtube downloader app. Uses [youtube-dl](https://rg3.github.io/youtube-dl/) and [node-youtube-dl](https://github.com/fent/node-youtube-dl) wrapper.
4 |
5 | #### How to run
6 | 1. Make sure you've have nodejs installed on your system.
7 | 2. Then do `npm install` and `npm start`. It will automatically download *youtube-dl* if it's not exist on your system.
8 |
9 | Tutorial found at: https://hackprogramming.com/how-to-create-your-own-youtube-downloader-web-app-using-youtube-dl-in-expressjs/
10 |
--------------------------------------------------------------------------------
/views/layout.hbs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Download any youtube video in multiple formats and quality with fast download
4 |{{error}}
9 | {{else}} 10 |