Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

youtube-tools

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youtube-tools

A tool to download YouTube videos and audios in the highest quality and save them to a file.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

YouTube Tools

YouTube Tools is a simple command-line interface (CLI) application that lets you download YouTube videos and audio in the highest quality. The tool supports saving the video and audio streams separately and merging them.

Features

  • Download video and audio streams from YouTube.
  • Merge video and audio into a single file.
  • CLI-friendly and configurable with various options.

Installation

To install the package globally using npm, run the following command:

npm install -g youtube-tools

Usage

Once installed, you can use the CLI tool by running the following command:

youtube-tools <YouTube-URL> -o <output-file> [options]

Examples

  • Download a YouTube video and merge video/audio into output.mp4:

    youtube-tools https://www.youtube.com/watch?v=1Kvb7gWZOcY -o output.mp4
    
  • Download a YouTube video:

    youtube-tools https://www.youtube.com/watch?v=1Kvb7gWZOcY -o output.mp4
    

Options

  • -o, --output <file>: Output file path for the merged video and audio.

Requirements

Before using this tool, make sure you have the following dependencies installed:

  • Node.js (>= 12.x)
  • FFmpeg (required for merging video and audio)

FFmpeg Installation

To install FFmpeg:

  • On macOS:

    brew install ffmpeg
    
  • On Ubuntu:

    sudo apt-get install ffmpeg
    
  • On Windows:
    Download from the official FFmpeg website.

Development

If you want to contribute or run the tool locally:

  1. Clone the repository:

    git clone https://github.com/episage/youtube-tools.git
    cd youtube-tools
    
  2. Install dependencies:

    npm install
    
  3. Run the tool:

    node index.js <YouTube-URL> -o <output-file> [options]
    

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Keywords

FAQs

Package last updated on 06 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc