软件介绍
使用此工具,您可以直接下载或创建指向任何GitHub公共目录或文件的下载链接。
使用方法
高级用法
典型的下载网址如下所示: https://minhaskamal.github.io/DownGit/#/home?url=<link>&fileName=<name>&rootDirectory=<true or false or name>
现在,如果您要下载该目录https://github.com/MinhasKamal/DownGit/tree/master/res/images
–DownGit-Images.zip
并带有此文件名-和该根目录名- ImagesOfDownGit
,则URL将为-https : //minhaskamal.github.io/DownGit/#/home ? url =https: // github.com/MinhasKamal/DownGit/tree/master/res/images&fileName=DownGit-Images&rootDirectory=ImagesOfDownGit
默认情况下,fileName
和的rootDirectory
值设置为下载文件或目录的名称。如果您不想在zip中添加目录本身,请设置rootDirectory=false
。像:此链接-https://minhaskamal.github.io/DownGit/#/home ? url =https : //github.com/MinhasKamal/DownGit/tree/master/res/images&rootDirectory=false,将下载一个名为images.zip
; 但是根目录-"images"
不会包含在zip中。
如果要下载https://github.com/MinhasKamal/DownGit/blob/master/res/images/downgit.png
名称为的文件- DownGitIcon.zip
,则该链接为-https : //minhaskamal.github.io/DownGit/#/home ? url =https://github.com/MinhasKamal/DownGit/blob/master /res/images/downgit.png&fileName=DownGitIcon
下载地址
开源地址:https://github.com/MinhasKamal/DownGit