Convert code repos into an LLM prompt-friendly format. Forked from https://github.com/zackees/gptrepo
Project description
gptify
This is a fork of gptrepo by zackees. This repo implements features that are specific to its utilization inside the miniogre devtool.
Usage
pip install gptify
gptify # now output_gptify.txt should appear in the current directory
This tool concatenates through all the files in the repo and adds ai prompts which can be used for chat gpt conversations.
Simply open up the file, copy and paste it into the chat gpt window and then ask your question about the code.
gptify
is a command-line tool that converts the contents of a Git repository into a text format, preserving the structure of the files and file contents. The generated output can be interpreted by AI language models, allowing them to process the repository's contents for various tasks, such as code review or documentation generation.
Contributing
As of writing, development in the original repo seems to have been paused. This fork implements very specific for use with miniogre.
Feel free to submit contributions, however, we might be slow to answer to PRs.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
File details
Details for the file gptify-0.2.0.tar.gz
.
File metadata
- Download URL: gptify-0.2.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b0c4806b6337e3479443023371a2c25c5fb8846c94ec44df9d91d95523f50f5 |
|
MD5 | 579247e17caccc833d734f184ff6983f |
|
BLAKE2b-256 | e2c2e4531be9601b3aec2ec102f3c3eb5c9016cef5d0005ae01bed71a329e319 |
File details
Details for the file gptify-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: gptify-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ba18d647103598bf9c785d72eb57c7ea9c16ae69b9297301ea844a2feda0191 |
|
MD5 | fd23d40313966efaf3e433f2bab2144e |
|
BLAKE2b-256 | 426823504bf6fcd240a396c413ae0eea54f8add2217a4f44b9e7d0f1310d4e51 |