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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f027d89503c89faf69e89a7b548b054fdd528ff89de4bc0faf7d5574ed313d32 |
|
MD5 | 4a6f7c5343446ab30898a97aa90b3622 |
|
BLAKE2b-256 | 5b8edacf6dcfcda14e1be185b3f8e726b61447afbce79f7101fcb0197d2e31ff |
Close
Hashes for gpt_repository_loader-0.9.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5ff4e55d663d135017116f45e09b8f16d1ee8b8f3879b32262ff9884b274647 |
|
MD5 | ae65d5ce3151520c57d5ebfd8029e72f |
|
BLAKE2b-256 | b5299252db28f39c9c73f3fe52abcca124ee5d1e3dbb15d1860393e7296abd08 |