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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f4912de83c61f60f50893530f661a5fac049feef7ef2b992f15aad0889cf7d9 |
|
MD5 | 1721bb9a7aa35193fa8cb0c077326e08 |
|
BLAKE2b-256 | 84a3cdf208851b78a286b969e1a34bae0c339b0eeae7ca49707d9cbdc0a95c6d |
Close
Hashes for gpt_repository_loader-0.9.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60fe4c6673e3d0c83ad8430036acceb0140c031f4f1aa5720d4ad72bbee7ba76 |
|
MD5 | 8dbb7635d5161318d9a2ee7fb151db22 |
|
BLAKE2b-256 | 19c8d72c24248bce17c0232d99fff0a8dd7d6089036b6ed4f32a68f57b5283b2 |