Skip to content
fredtanxoPublic

About

The ChatGPT in shell.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

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

About

The ChatGPT in shell.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages