An open API service indexing awesome lists of open source software.

https://github.com/0pandadev/rustytdown

Youtube downloader without any dependencies.
https://github.com/0pandadev/rustytdown

download downloader rust youtube youtube-downloader yt yt-downloader

Last synced: 6 months ago
JSON representation

Youtube downloader without any dependencies.

Awesome Lists containing this project

README

          

# RustyTDown

A lightweight and efficient YouTube video downloader written in Rust. This tool allows you to download YouTube videos with just a few essential dependencies for core functionality!

## Features

- 🚀 High-performance async downloads using reqwest
- ðŸŽŊ Carefully selected minimal dependencies for core functionality
- 📈 Download statistics and TTFB measurements
- 🔄 Streaming support
- ðŸŠķ Lightweight and efficient

## Prerequisites

- Rust 1.75 or higher
- FFmpeg (required for audio conversion)

## Usage

```toml
[dependencies]
rustytdown = "0.1.0"
```

```rust
use rustytdown::YouTubeDownloader;

#[tokio::main(flavor = "current_thread")]
async fn main() -> Result<(), Box> {

let downloader = YouTubeDownloader::new()?;
downloader.download_and_convert("dQw4w9WgXcQ").await?;

Ok(())
}
```

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.