Easily download a specific subdirectory from a GitHub repository
GitHub doesn’t natively allow downloading individual folders from a repository, which can be inconvenient when you only need a few files from a large project.
This tool simplifies the process by allowing you to download all files within a specific directory in a single click, after providing your GitHub token.
-
Paste the GitHub directory URL
Visit the tool and pass the GitHub directory link as aurlparameter, like:
download-directory.github.io?url=https://github.com/mrdoob/three.js/tree/dev/build -
Optional: Specify a filename
Customize the downloaded file name using thefilenameparameter:
download-directory.github.io?url=https://github.com/mrdoob/three.js/tree/dev/build&filename=three-js-build
This saves the file as three-js-build.zip. -
Automatic Download
Once the link is provided, the download starts automatically.
This tool is a lightweight and improved alternative to other solutions like:
Unlike others, it is designed for simplicity and efficiency, removing unnecessary clutter.
-
list-github-dir-content
A utility to list all files in a GitHub repo’s directory. -
Refined GitHub
A browser extension that enhances GitHub, including adding a link to this tool.
MIT © Federico Brigante
This tool builds upon the foundation of download-directory.github.io, originally developed by Federico Brigante. This improved version enhances the design and usability while retaining the core functionality.