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

https://github.com/karimsa/pull

Download files using HTTP range requests.
https://github.com/karimsa/pull

Last synced: 3 months ago
JSON representation

Download files using HTTP range requests.

Awesome Lists containing this project

README

        

# @karimsa/pull

Download files using HTTP range transfers.

![](.github/preview.gif)

**Note on performance:** Downloading using ranges improves download performance but is network bound, not CPU bound. So depending on your network, you should set your own concurrency limit. The default is 2 * CPUs.

On my network, a 20MB file with `curl` downloads in ~20s. With a concurrency of 8, this goes down to 6-8s with `pull`.

## Usage

Install via npm - `npm install -g @karimsa/pull` or use via npx `npx @karimsa/pull`.

```bash
$ pull "http://mydomain.com/large-file.zip"
```

To see a help message, use `pull --help`.

## License

Licensed under MIT license.

Copyright © 2019-present Karim Alibhai.