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:
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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34cb2d8bfec75c4b94d99c1fad15b2e9270957164b32545f7f6b34eefed6a337 |
|
MD5 | 1178a50d633214c5e1e6c6d464dc73cd |
|
BLAKE2b-256 | 1052c3c302a2d400edf6b4a347707a91bdb546359371eadefb14f423522b5c2a |
Close
Hashes for gpt_repository_loader-0.9.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a298cebe2e5d9d061a19edac37ba13c42d26666ece7cfe90d67e742ce2d8fddb |
|
MD5 | 67dbb6d7ffcd1e7039caa752ae16bf3f |
|
BLAKE2b-256 | d416ca1482be356efe9d2f7cb4d3edb2d58289ef36225da925c468f3e8dea256 |