https://github.com/germanbisurgi/youtube-downloader
An Electron App to download youtube single videos or entire playlists.
https://github.com/germanbisurgi/youtube-downloader
electron electron-builder json-editor yt-dlp
Last synced: 3 months ago
JSON representation
An Electron App to download youtube single videos or entire playlists.
- Host: GitHub
- URL: https://github.com/germanbisurgi/youtube-downloader
- Owner: germanbisurgi
- Created: 2021-12-26T10:59:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-10T13:07:25.000Z (almost 2 years ago)
- Last Synced: 2025-02-12T23:38:01.693Z (4 months ago)
- Topics: electron, electron-builder, json-editor, yt-dlp
- Language: JavaScript
- Homepage:
- Size: 101 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# youtube-downloader
This repository contains an Electron application that serves as a user interface (UI) for [yt-dlp](https://github.com/yt-dlp/yt-dlp), offering various features for downloading videos and playlists, as well as extracting audio (mp3) from both single videos and playlists.
## Installation and Development Setup
You can get started with the development of this application using either NPM or Yarn. Here are the steps:
Using NPM:
```bash
npm install
npm run electron
```Using Yarn:
```bash
yarn install
yarn electron
```## Building the Application
This project utilizes [electron-builder](https://www.electron.build/) to package and create distributable versions of the Electron app for macOS, Windows, and Linux.
The configuration schema for electron-builder can be found in the `package.json` file under the `"build"` key.
To trigger the build process, you can use the following scripts:
Using NPM:
```bash
npm run build-linux
npm run build-mac
npm run build-win
```Using Yarn:
```bash
yarn build-linux
yarn build-mac
yarn build-win
```**Important Note:** According to the electron-builder documentation, you cannot expect to build an app for all platforms on just one platform. If your app has native dependencies, it can only be compiled on the target platform where it is intended to run.
### The `build` Folder
This folder serves as a lookup location for icons used by electron-builder during the build process.
### The `bin` Folder
The `bin` directory contains precompiled binaries required by the application. These binaries will be copied into the native app during the distribution build process. This approach ensures that the application works seamlessly without requiring users to manually download dependencies. Please note that the paths to these binaries may change between development and production.
### The `dist` Folder
This directory is where electron-builder stores the packaged and compiled versions of the application for distribution.