https://github.com/ginkida/gptunzip
A versatile CLI tool for unpacking zipped Git repositories and converting them into a structured text format for NLP applications, including ChatGPT.
https://github.com/ginkida/gptunzip
git golang gpt-4 source-code zip
Last synced: about 2 months ago
JSON representation
A versatile CLI tool for unpacking zipped Git repositories and converting them into a structured text format for NLP applications, including ChatGPT.
- Host: GitHub
- URL: https://github.com/ginkida/gptunzip
- Owner: ginkida
- License: mit
- Created: 2024-03-12T09:50:50.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-29T12:07:07.000Z (over 1 year ago)
- Last Synced: 2025-05-14T14:34:10.170Z (about 1 year ago)
- Topics: git, golang, gpt-4, source-code, zip
- Language: Go
- Homepage: https://pkg.go.dev/github.com/ginkida/gptunzip
- Size: 26.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gptunzip 📦
`gptunzip` is a command-line utility designed to transform a zipped Git repository into a structured text format, ideal for feeding into ChatGPT 🤖 and other NLP models. This tool simplifies the conversion process, enabling efficient processing and analysis of repository contents.
## Installation 🛠️
Before installing `gptunzip`, ensure you have the Go programming language 🐹 installed on your system. If not, you can download it from [the official Go website](https://golang.org/dl/).
Install `gptunzip` by running:
```bash
go install github.com/ginkida/gptunzip@latest
```
This command installs the `gptunzip` binary into your `$GOPATH/bin` directory. Ensure `$GOPATH/bin` is in your `$PATH` for easy access to the `gptunzip` command.
## Usage 🚀
To use `gptunzip`, execute the following command:
```bash
gptunzip [flags] /path/to/zipped/git/repository.zip
```
### Flags 🚩
`gptunzip` supports the creation of smaller, manageable parts for ChatGPT with a single flag:
* `-p`, `--parts`: When enabled, the utility creates smaller parts of the chatGPT text, making it easier to manage and process. This is particularly useful for large repositories.
### Simplified File Handling 🗂️
`gptunzip` streamlines the process by focusing on the essential task of converting and structuring repository data. There's no need for a `.gptignore` file or handling `.gitignore` files, as the tool automatically processes the entire zipped repository.
## Contributing 🤝
Your contributions are welcome! Feel free to submit pull requests or open issues on the GitHub repository to improve `gptunzip` or suggest new features.
## License 📄
`gptunzip` is made available under the MIT License, offering flexibility and freedom for personal and commercial use. Check out the [LICENSE](LICENSE) file for more information.