Git Folder Downloader Download Button is a lightweight browser extension that enhances GitHub’s UI by adding a smart “Download” button directly inside GitHub repository, folder, and file menus.
It integrates seamlessly with the Git Folder Downloader API to allow downloading repositories, folders, or files with custom names, while matching GitHub’s native design and theme.
The button automatically adapts based on where you are on GitHub:
| Location | Button Label |
|---|---|
| Repository Code Button Menu | Download Repo |
| Folder More Option Menu | Download Folder |
| File More Option Menu | Download |
-
Auto-detects:
- Repository name →
owner-repo - Folder name →
folder-name - File name →
file.ext
- Repository name →
-
Pre-fills the name in popup
-
Fully editable by user
- GitHub-styled modal
- Cancel / Download actions
- ESC key support
- Click-safe (no accidental downloads)
- Matches Light and Dark GitHub themes
- Uses GitHub CSS variables for native look
- Updates automatically when theme changes
- Fully client-side
- No external libraries
- SPA-safe (GitHub Turbo / PJAX supported)
- No duplicate buttons
- Injects button at top of menus
- Zero interference with GitHub functionality
When clicked, the extension opens:
https://GitFolderDownloader.github.io/api/?url=<GITHUB_URL>&name=<CUSTOM_NAME>
Example:
https://GitFolderDownloader.github.io/api/?url=https://github.com/user/repo/tree/main/src&name=src
-
Open Chrome and go to:
chrome://extensions -
Enable Developer mode
-
Click Load unpacked
-
Select the project folder
- Only
https://github.com/*→ Required to inject the download button into GitHub UI
No tracking, no analytics, no data collection.
Pull requests and ideas are welcome. If GitHub UI changes, updates may be required to selectors.
GPL 3 License – free to use, modify, and distribute.