shellgpt

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

README

ShellGPT

Docker Image Size (latest by date) GitHub Workflow Status GitHub

The ChatGPT in shell.

asciicast

Usage

Usage of ./shellgpt:
  -api-key string
        OpenAI API key
  -api-url string
        OpenAI API base url (default "https://api.openai.com/v1")
Run in Docker (recommend)
export MY_OPENAI_API_KEY="sk-ThisIsNotTheRealSecretKey"
docker run -it --rm fredtan/shellgpt -api-key="$MY_OPENAI_API_KEY"
# or
echo "OPENAI_API_KEY=sk-ThisIsNotTheRealSecretKey" > ./shellgpt.env
docker run -it --rm --env-file ./shellgpt.env fredtan/shellgpt
Build from source
git clone https://github.com/fredtanxo/shellgpt.git
cd shellgpt
make

License

GPL-3.0

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL