The GitHub Repo Downloader is a
Python
GUI application designed to make it easy to download entire GitHub repositories as ZIP archives. The application utilizes theGitHub API
to fetch the contents of the repository and download them to a specified location on the user's computer. The application is built using the Python standard library, as well as thetkinter
library for the GUI and therequests
library for handling HTTP requests.
- Simple and intuitive GUI for entering the URL of the GitHub repository and selecting the download location.
- Option to browse for and select the download location using a file dialog.
- Option to set the download location to the current working directory with a single click.
- Progress bar that shows the download progress and estimated time remaining.
- Ability to download entire repositories, including all files and directories, in a single ZIP archive.
- Option to cancel the download at any time.
- Error handling for invalid URLs, network errors, and other exceptions that may occur during the download process.
- Success message upon completion of the download process.
git clone https://github.com/1994nikunj/GitHub-Repo-Downloader.git
To use the GUI, simply run the script with no command-line arguments:
python main.py
This will open a tkinter window where you can enter the repository URL and choose a save location for the ZIP archive.
This script requires Python 3 and the following modules:
- requests
- zipfile
- io
- tkinter
You can install these modules using pip:
Note that tkinter
is included in the standard library for most Python installations and does not need to be installed
separately. However, on some systems, you may need to install the separate python3-tk
package to use tkinter.
This project was inspired by the website https://download-directory.github.io/.