Skip to content
Create GitHub Resource Download Link (git-github-direct-zip-directory-folder-file)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app FeatImpl] improve invalid url detection Jun 22, 2018
lib bring angular toastr to local directory Jan 13, 2018
res/images anchor tag style changed, icon image is softened Aug 23, 2016
LICENSE Update LICENSE Sep 29, 2016
README.md Update README.md Mar 25, 2018
index.html [Refact] separating downloading part Jun 22, 2018

README.md

DownGit

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 ↑

How to Use?

Advanced Usage

A typical download URL will look like this- https://minhaskamal.github.io/DownGit/#/home?url=<link>&fileName=<name>&rootDirectory=<true or false or name>

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.

You can’t perform that action at this time.