#175 · Primary category: AI Chatbots

chatGPT-shell-cli

bash chatbot chatgpt chatgpt-api chatgpt-api-wrapper cli dall-e dalle dalle2 image-generation shell shell-script terminal zsh

Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required.

Project last updated:06/19/24

GitHub Stars

1.2K

Forks

165

Contributors

14

License

MIT

Why we included this project

Terminal users who want a direct line to OpenAI's chat models without installing a second runtime will find this shell script a good fit. It calls the chat completions API straight from the shell, so all you need is the script and an API key, and it can also generate DALL-E images from text prompts. Chat context keeps the model aware of earlier exchanges in a session, and you can feed prompts via pipe or as command-line arguments, which makes it easy to combine with other shell tools. For teams already on the OpenAI API, this is a no-frills way to prototype chat interactions and add a conversational interface to a machine without pulling in a heavier framework.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category