Skip to content

About

A fast media downloader

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

DWDR (Downloader)

A high-performance, zero-dependency terminal media downloader for Windows, macOS, and Linux.

Installation | Commands | Examples | Configuration | Architecture | Contributing

This is the main source code repository for DWDR. It contains the CLI engine, interactive terminal shell, and configuration manager.

Why DWDR?

  • Performance: Accelerated 8-thread fragmented downloading (-N 8) coupled with real-time speed, percentage, and ETA metrics streaming via indicatif.

  • Reliability: Zero system pollution. Isolated engines (yt-dlp, FFmpeg) reside exclusively in ~/.dwdr/deps/ without modifying system package managers. Single-video safeguards (--no-playlist) prevent accidental multi-track playlist dumps, and self-healing configuration handles corrupted settings automatically.

  • Productivity: Pure terminal ergonomics featuring an interactive REPL shell (inquire), native desktop folder selection dialogs (rfd), and smart quality fallback that directly grabs your preferred resolution without tedious menu navigation.

  • Portability: Built on pure Rust TLS (rustls) via reqwest, enabling zero-effort compilation across Linux, macOS, and Windows without OpenSSL dependencies.

Quick Start

Download any media stream directly:

dwdr "https://www.youtube.com/watch?v=VIDEO_ID"

Or open the interactive shell to inspect formats and configure settings:

dwdr

For practical walkthroughs and real-world scenarios, see the Usage Examples.

Installing from Source

If you want to build and install from source, see INSTALL.md.

Documentation

Comprehensive topic guides covering every subsystem:

Guide Scope Description
CLI Reference Guide Syntax & Flags CLI arguments, options, direct downloads, and exit codes.
Command Catalog Command Matrix Complete reference table of all 12 CLI options, subcommands, and REPL actions.
Usage Examples Practical Walkthroughs Step-by-step scenarios: single downloads, audio extraction, GUI folder pickers, and troubleshooting.
Configuration Guide Settings & Schema config.toml structure, default resolutions, parallel thread limits, and self-healing recovery.
Architecture Deep Dive Core Mechanics Process streaming, dependency lifecycle, single-video safeguards, and cross-platform compilation architecture.

Getting Help

Feel free to contact me by email at raushansinghrajpoot687@gmail.com, on LinkedIn or on Twitter.

Contributing

See CONTRIBUTING.md.

Please open an issue first to discuss proposed features or architectural modifications before submitting a pull request.

License

DWDR is distributed under the terms of the MIT license. See LICENSE for details.

About

A fast media downloader

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages