使用前需在页面输入 GitHub token,否则无法下载;目录链接需指向 GitHub 上的具体子目录而非仓库根
打开 https://download-directory.github.io/?url=<GitHub目录链接>README 未说明,纯网页应用,浏览器访问即可使用
从 GitHub 仓库只下载某个子目录的网页工具,免去克隆整个大仓库
在浏览器里直接下载 GitHub 仓库中任意子目录,不用克隆整个仓库,省时省流量。
核心能力
- 通过 url 参数传入 GitHub 目录链接即可自动开始下载
- 支持 filename 参数自定义下载的 zip 文件名
- 一键打包目录下所有文件为单个 zip
- 作为 GitZip、DownGit 的轻量替代,无多余功能
容易踩的坑
暂无 release 数据(可能没有发版,或尚未同步)。
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
download-directory.github.io
Download just a sub directory from a GitHub repo
GitHub doesn’t let you download a single folder from a repo, which might be necessary when you just need a few files from a large repository.
This tool will handle the download of all the files in a directory, in a single click, after you entered your token.
The download starts automatically when you visit pass the link to the GitHub directory as url parameter, like:
download-directory.github.io?url=https://github.com/mrdoob/three.js/tree/dev/build
You can also specify download filename by adding filename parameter, like:
download-directory.github.io?url=https://github.com/mrdoob/three.js/tree/dev/build&filename=three-js-build to save the file as three-js-build.zip.
This is an alternative to the existing GitZip and DownGit but without the cruft.
Related
- list-github-dir-content - List all the files in a GitHub repo’s directory
- Refined GitHub - Browser extension that adds a link to this app to GitHub (and much more)
License
MIT © Federico Brigante