Skip to content

Latest commit

 

History

History
20 lines (20 loc) · 480 Bytes

README.md

File metadata and controls

20 lines (20 loc) · 480 Bytes

Linux tool that generates code using OpenAI's Codex model. You can download the binary for linux_x64.

Installation

go build 

Usage

Get your OpenAI API key from here and set the env variable.

export OPENAI_TOKEN=<your_token>
codegpt <instruction>

Example

$ codegpt 'bash command to remove tmp files'
rm -rf /tmp/*