Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gptify-0.3.4.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

gptify-0.3.4-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file gptify-0.3.4.tar.gz.

File metadata

  • Download URL: gptify-0.3.4.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for gptify-0.3.4.tar.gz
Algorithm Hash digest
SHA256 941a3489e3b65ee7c64212547faf5bf5e91b7b9f88e81f7b2ed35e97ba0b9798
MD5 97dd4f1b98fc537e5dc00d8bb566c08d
BLAKE2b-256 e6940514d5bddeda84a7a5771a9b8e591331fe9bd871e56a4407bd1cc331c695

See more details on using hashes here.

File details

Details for the file gptify-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: gptify-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for gptify-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bc0677a65e73e8a83616d806da5be4de0873a86af313b4656a1c2f448a429a54
MD5 35b717c5269b160a102e63923f041955
BLAKE2b-256 b0a2c93125a181b7b90915772cf326d5a1385b8ded078a809d609af0f8c0a825

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page