Repo Downloader is a command-line tool that allows you to download files from a Git repository into a zipped directory. Very convenient for providing code files to LLMs.
You can install Repo Downloader using pip:
pip install repo-downloader
After installation, you can use the repo-downloader
command:
repo-downloader [OPTIONS] [PATH]
Options:
--ignore-gitignore
: Ignore .gitignore file, do NOT use this option if you want to respect .gitignore rules--output FILE
: Output zip file path (default: ~/Downloads/<directory_name>_files.zip)
If no PATH is provided, it will use the current directory.
-
Download files from the current directory:
repo-downloader
-
Download files from a specific repository:
repo-downloader /path/to/repository
-
Ignore .gitignore rules:
repo-downloader --ignore-gitignore
-
Specify a custom output file:
repo-downloader --output custom_name.zip
This project is licensed under the MIT License - see the LICENSE file for details.