https://github.com/icholy/codegpt
A unixy GPT interface
https://github.com/icholy/codegpt
Last synced: 11 months ago
JSON representation
A unixy GPT interface
- Host: GitHub
- URL: https://github.com/icholy/codegpt
- Owner: icholy
- Created: 2023-03-19T15:26:06.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-20T12:43:44.000Z (over 3 years ago)
- Last Synced: 2025-04-20T17:57:08.119Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CodeGPT
> Pipe STDIN through GPT-4
Usage:
```
# use in a pipe
cat file.go | codegpt "switch from testify to gotest.tools assertions"
# update a file in place
$ codegpt -w -s test.spec.js "convert to chai assertions"
```
Vim Usage:
```
:%!codegpt "add doc comments"
```