Skip to content

Releases: skelouse/code-to-gpt

v0.0.10: Merge pull request #11 from skelouse/add-include-and-exclude-aliases

03 Jan 19:10
4f968da
Compare
Choose a tag to compare

Add a size limit when reading files

28 Nov 06:53
313f96f
Compare
Choose a tag to compare

Added --max-size flag which defaults to 2MB. After this is reached the command will exit. Should help with staying under context limits as well as stopping when hitting large files.

$ code-to-gpt -c --include "**/*.go" --max-size 10000
2024/11/28 00:47:45 parsing files: 
...maximum size limit reached at code-to-gpt/parser/run.go (2345 bytes).
...current limit (10000 bytes), maybe set --max-size to a value higher than that
exit status 1

Add verbose output

28 Nov 06:28
0ac3d33
Compare
Choose a tag to compare

Example in this repository:

$ code-to-gpt -c --exclude "**/*.go"
├── .gitignore
├── LICENSE
├── README.md
├── go.mod
├── go.sum
└── super-diff.sh

6 files copied to clipboard

v0.0.6

20 Jan 20:07
Compare
Choose a tag to compare

Removed with-prompt flag to simplify package

v0.0.5: Merge pull request #1 from skelouse/add-ignores

30 Dec 07:58
d4cf750
Compare
Choose a tag to compare
Add package-lock and node_modules to ignore

Add LICENSE and parse to go-pkg

16 Nov 19:32
d611484
Compare
Choose a tag to compare
v0.0.4

Create LICENSE

Add flag parsing and default to no-split

15 Nov 02:27
Compare
Choose a tag to compare

Run code-to-gpt with the necessary flags:

  • --with-prompt: Includes an initial prompt.
  • --split-files or -s: Splits the codebase into multiple files if it is too large for a single file.
  • --clipboard or -c: Copies the output to the clipboard. Note: this flag does not work with --split-files.

Improve prompting and split files to consumable sizes.

16 Mar 19:28
Compare
Choose a tag to compare
v0.0.2

Improve prompt and implementation

v0.0.1

15 Mar 05:32
Compare
Choose a tag to compare
Add ignore for .git and clean up code