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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 457fd3f7d4fe8a183a487fc0152d036ebc8c22f4e3b9dc63d8124de09335426f |
|
MD5 | 65ae4b65fc71da8466abaab888dbbab3 |
|
BLAKE2b-256 | 8b7270d19d3bc78b43df3e12fcc71d4f9dbb16fe7d6877fd03efe316f4cd3f84 |
Close
Hashes for gpt_repository_loader-0.9.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ff5fd55e26ad60d8630d9cd0fcff6d6fe2e994cbafeab577ef904988b3feedb |
|
MD5 | bcd77b5b2da84749ec73ff147cb72f4c |
|
BLAKE2b-256 | 4959dcfa93087098e6ca41ec896dbb8621ed151cb33e1ebf158d50b1ef1f68e3 |