A utility to convert a Git repository into a text representation.
Project description
# gpt-repository-loader
## Installation
`pip install gpt-repository-loader`
## Linux Requirements
On Linux, ensure that you have `xclip` installed for clipboard functionality. You can install it using:
```bash
sudo apt-get install xclip # Debian/Ubuntu
sudo yum install xclip # Fedora/CentOS
How to use?
Go to the directory you are interested in, run
gpt-repository-loader . -c
This will copy ALL the git tracked content in the repository on clipboard and then you can use Gemini/Claude/ChatGPT to ask questions on it.
Available Command Line Flags
repo_path
: (Required) Path to the Git repository.-p
,--preamble
: Path to a preamble file to include before the repository content.-c
,--copy
: Copies the repository contents to the clipboard. If not provided, the output will be written to a file namedoutput.txt
in the current directory.
What to use it for?
- Build a README for codebases
- Work with Legacy code
- Debug issues
Gemini's 1M context window is REALLLY big, and it under utilized.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gpt-repository-loader-0.9.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c845689ac64d3b967bb5574a947cf3bc2b38fcee854b5367a6b2ce3fd2ebe8d |
|
MD5 | f490c6c8ad9442e2d1d521c7319c69fd |
|
BLAKE2b-256 | 11e9116c32640d996873bf96e809c8fe7dc54de57b2c417931a6649569ebd6a9 |
Close
Hashes for gpt_repository_loader-0.9.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7d42782da5beaa94d1425a335e44f1e24f309034b4549f50299bef426bfe66b |
|
MD5 | 7f5cb580bcc89b17a8dbaba2f2c55876 |
|
BLAKE2b-256 | 7147d3b5e2b8cfd26d57ee2822c6fa2ff70bf537868994f16e247fc9033223c4 |