Skip to content

yamouri/dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dl

A modern CLI tool to download resources from web pages. (Still in dev)

Image.png

Installation

From Source

git clone https://github.com/yamouri/dl.git
cd dl
go mod tidy
go build -o dl
sudo cp dl /usr/local/bin/

Dependencies

  • Go 1.21+ (Tested on 1.25.5)
  • Goquery
  • Bubbletea
  • Lipgloss

Usage

dl <type> <url>

Types

  • image - Find and download images from a webpage
  • video - Find and download videos from a webpage
  • html - Download the HTML content of a page
  • file - Direct file download

Examples

# Download images from a page
dl image https://example.com/image.png

# Download the HTML of a page
dl html https://example.com/article

# Download a video
dl video https://example.com/video-page

# Direct file download
dl file https://example.com/document.pdf

Controls

When multiple resources are found:

  • ↑/k - Move up
  • ↓/j - Move down
  • space - Toggle selection
  • a - Select all
  • n - Select none
  • enter - Download selected
  • q - Quit

About

A modern Linux CLI tool to download resources from web pages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages