Ecosyste.ms: Awesome

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

https://minhaskamal.github.io/DownGit/

Create GitHub Resource Download Link
https://minhaskamal.github.io/DownGit/

directory downgit download file folder github github-api javascript

Last synced: 22 days ago
JSON representation

Create GitHub Resource Download Link

Lists

README

        

DownGit

[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate/?business=5KR6BA9MYTM62&no_recurring=0&currency_code=USD)

#### Create GitHub Resource Download Link

With this tool you can directly download or create download link to any GitHub **public directory or file**.

### Website

[DownGit ↑](https://minhaskamal.github.io/DownGit)

### How to Use?

##### Advanced Usage

A typical download URL will look like this- `https://minhaskamal.github.io/DownGit/#/home?url=&fileName=&rootDirectory=`

Now, if you want to download this directory- **`https://github.com/MinhasKamal/DownGit/tree/master/res/images`** with this file name- **`DownGit-Images.zip`** and this root directory name- **`ImagesOfDownGit`**, then the URL will be- https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/MinhasKamal/DownGit/tree/master/res/images&fileName=DownGit-Images&rootDirectory=ImagesOfDownGit

In default, value of `fileName` and `rootDirectory` is set to the name of the downloading file or directory. If you do not want to add the directory itself in the zip, then set `rootDirectory=false`. Like: this link- https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/MinhasKamal/DownGit/tree/master/res/images&rootDirectory=false, will download a file named **`images.zip`**; however the root directory- `"images"`, will not be included in the zip.

If you want to download file- **`https://github.com/MinhasKamal/DownGit/blob/master/res/images/downgit.png`** with name- **`DownGitIcon.zip`**, then the link will be- https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/MinhasKamal/DownGit/blob/master/res/images/downgit.png&fileName=DownGitIcon

### License
MIT License
DownGit is licensed under MIT License.