Ggpt – Take advantage of GPT on the command line
Ggpt – Take advantage of GPT on the command line
Hi HN, with all of the hype recently surrounding GPT, i’ve been wondering what value it could bring to the table for developers. While chatGPT is wildly popular, and GPT incredibly powerful, I found it hard to integrate it into my CLI based workflows without lots of copy pasting into the terminal. With the interface being a nonstarter for my own adoption, I wrote ggpt. ggpt is a command line utility written in go, that allows for quick and easy GPT access. ggpt is drop dead simple; ‘ggpt prompt “this is my prompt” ’ to query gpt, and `ggpt last` to return the previous output again. One really successful use case i’ve found is with regex. ` ggpt prompt "can you explain what regex $REGEX is doing?" ` will return a breakdown that really helps explain the regex in question. Even if the output isn’t perfect, ive found it gets you about 90% of the way there, in 10% of the time, and the outputs will get better and better over time. I’d love to hear other ways people are using GPT.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Gptx – GPT for the Unix command line
Command line tool to code along with GPT-4
The last command line from Krypton
Yawn - Sleepyti.me for the command line
DuckDuckGo at your command-line
Flappy Bird in the command line
Hacked together command-line "Spritz"
Joe – a .gitignore magician in your command line
Speedtest command line
Scoop – A command-line installer for locked down PCs with Powershell 2