Skip to main content

A CLI tool to download files from a Git repository into a zipped directory.

Project description

Repo Downloader

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.

Installation

You can install Repo Downloader using pip:

pip install repo-downloader

Usage

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.

Examples

  1. Download files from the current directory:

    repo-downloader
    
  2. Download files from a specific repository:

    repo-downloader /path/to/repository
    
  3. Ignore .gitignore rules:

    repo-downloader --ignore-gitignore
    
  4. Specify a custom output file:

    repo-downloader --output custom_name.zip
    

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

repo_downloader-0.1.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

repo_downloader-0.1.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file repo_downloader-0.1.2.tar.gz.

File metadata

  • Download URL: repo_downloader-0.1.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for repo_downloader-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5cde6cd5924099ed83f02e979c0d45b85ffe7d8e6cd2c1902488ac97a398a784
MD5 74d58e81be192bf279baf1d5c0d1ff24
BLAKE2b-256 17a8e1aa908f3345db45a9ba3e4d5b828f5ce2c79b06e73e10d2b13ca4e78478

See more details on using hashes here.

File details

Details for the file repo_downloader-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for repo_downloader-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7303effc42ff82275d679762f63cef1be3a8d22b8914e79af0a22011a253cbe4
MD5 3950fae39d003fed0a8b82933efcec6a
BLAKE2b-256 e74bf61ec0baaaf757173c065a0682f8fcd8cab3513a8cd22da1a3bec954e30b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page