All Projects → fazouane-marouane → github-release-downloader

fazouane-marouane / github-release-downloader

Licence: MIT License
CLI tool to download all release assets from a git repository

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to github-release-downloader

downloader
Async rate-limited downloading service
Stars: ✭ 18 (-30.77%)
Mutual labels:  downloader, download
acd
ACD helps you download Adobe Connect Sessions Videos and Audios, download files from FTP server, transfer files using Shift I/O
Stars: ✭ 117 (+350%)
Mutual labels:  downloader, download
mmdl
MMDL (Mega Music Downloader) - A tool to easily download music.
Stars: ✭ 29 (+11.54%)
Mutual labels:  downloader, download
node-wetransfert
Download wetransfert content with nodeJS
Stars: ✭ 16 (-38.46%)
Mutual labels:  downloader, download
YoutubePlayer
Play and download YouTube videos. Extract audio from video. With minimalist beautiful gui.
Stars: ✭ 19 (-26.92%)
Mutual labels:  downloader, download
lux
👾 Fast and simple video download library and CLI tool written in Go
Stars: ✭ 19,266 (+74000%)
Mutual labels:  downloader, download
ee.Yrewind
Can rewind and save YouTube live stream
Stars: ✭ 133 (+411.54%)
Mutual labels:  downloader, download
qobuz-dl
A complete Lossless and Hi-Res music downloader for Qobuz
Stars: ✭ 531 (+1942.31%)
Mutual labels:  downloader, download
bookmate downloader
Download books as epub from bookmate.com
Stars: ✭ 38 (+46.15%)
Mutual labels:  downloader, download
Photon
A lightweight multi-threaded downloader based on aria2.
Stars: ✭ 3,026 (+11538.46%)
Mutual labels:  downloader, download
ngDownloader
📹 🎥 Now Download videos from any website including YouTube, Facebook, Udemy etc without ads.
Stars: ✭ 47 (+80.77%)
Mutual labels:  downloader, download
angular-material-datatransfer
A HTML5 datatransfer UI for handling upload and download of multiple simultaneous files.
Stars: ✭ 13 (-50%)
Mutual labels:  downloader, download
anghamify
Anghami Downloader | Download Anghami songs with full meta-tags.
Stars: ✭ 22 (-15.38%)
Mutual labels:  downloader, download
angular-downloader
Angular Downloader is an angularjs directive that enables you to manage browser download - https://720kb.github.io/angular-downloader
Stars: ✭ 16 (-38.46%)
Mutual labels:  downloader, download
EFDownloader
DEPRECATED
Stars: ✭ 11 (-57.69%)
Mutual labels:  downloader, download
Vividl
Modern Windows GUI for youtube-dl/ yt-dlp
Stars: ✭ 189 (+626.92%)
Mutual labels:  downloader, download
download
Dateidownloads von Files aus dem Medienpool über PHP oder X-SendFile
Stars: ✭ 30 (+15.38%)
Mutual labels:  downloader, download
vsco-scraper
Easily allows for scraping a VSCO
Stars: ✭ 106 (+307.69%)
Mutual labels:  downloader, download
Port-Able-Suite
🌐 Manager for portable applications
Stars: ✭ 35 (+34.62%)
Mutual labels:  downloader, download
image-downloader
A Nodejs module for downloading image to disk from a given URL
Stars: ✭ 61 (+134.62%)
Mutual labels:  downloader, download

github-release-downloader

npm version Build status CircleCI license

Installation

Installing the cli tool is as easy as this:

npm install -g github-release-downloader

Simple usage

For example, to download all node-sass's binaries:

grd --token <your github api token> --owner sass --repository node-sass

To download all node-sass's binaries for versions above v4.0.0 you would do

grd --token <your github api token> --owner sass --repository node-sass --min-version v4.0.0

PS: to get a personal api token you'll need to generate one. No special right is required.

Advanced usages

1. Custom download path

By default the download path is the path from where you ran node. But it's easy to override this with the the option --output (or -o if you feel that life is too short).

grd --token <your github api token> --owner sass --repository node-sass --output local-cache

2. Parallel download

By default downloads are launched in parrallel; 3 downloads at a time. You can ofcourse specify a more appropriate number if you like:

grd --token <your github api token> --owner sass --repository node-sass --parallel 10

3. Filter assets

By default you get all assets available. No filter is applied. Let's imagine that you're only interested in linux & windows binaries. You would use --filter-asset.

grd --token <your github api token> --owner sass --repository node-sass --filter-asset '^(win32-ia32|win32-x64|linux-ia32|linux-x64)'

4. Filter versions

You have two possibilities here:

--min-version and you'd download all versions starting from the argument (this respects semver).

grd --token <your github api token> --owner sass --repository node-sass --min-version "v4.0.0"

or you can use --match-version and pass a regexp. Here are some examples

# Download only the version v4.0.0
grd --token <your github api token> --owner sass --repository node-sass --match-version "^v4\.0\.0$"

# Download only all versions v4.0.x v4.1.x v4.2.x
grd --token <your github api token> --owner sass --repository node-sass --match-version "^v4\.(0|1|2)\."

# Download all win23-x64 assets of all alpha versions since v1
grd --token <your github api token> --owner sass --repository node-sass --min-version "v1.0.0-alpha" --match-version "alpha" --filter-asset "^win32-x64"

5. Using a HTTP/HTTPS proxy

If you're behind a http/https proxy, you can also use it with grd with those parameters:

# Use the defaut proxy ($http_proxy or $https_proxy)
grd --token <your github api token> --owner sass --repository node-sass --proxy

# Use an explicit proxy
grd --token <your github api token> --owner sass --repository node-sass --proxy "https://username:password@proxy:port/"

Other types of proxies are not supported.

6. Ignore missing assets

Sometimes, GitHub releases may reference assets that are no longer available. Maybe the asset has since been deleted, but GitHub's api still references it. By default, since v1.2.0, if we the asset that we try to download is missing a warning is logged and we carry on with the other tasks. You can override this behavior if you'd prefer to raise a fatal error and stop the process by passing --no-ignore-missing-assets.

#
grd --token <your github api token> --owner sass --repository node-sass --match-version "^v4.6.1" --filter-asset "win32-ia32-45_binding.pdb" --no-ignore-missing-assets
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].