Skip to content

Kevin8675/chatGPT-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ChatGPT-CLI

A simple shell script to give a CLI to the new ChatGPT API.

Dependencies

This script needs curl to make api requests and jq to process the JSON API response. It also needs an OpenAI API key to authenticate with servers.

Installation

Simply add the cgpt.sh file to PATH.

Usage

Run

Simply run the cgpt.sh file in terminal to start a chat. On first run (or if no config file is found), it will ask for API Key and personality.

Options

-a: Change API Key
-p: Change personality

To do list

  • Add error parser
  • Auto escape special symbols
  • Add install script
  • Change user name setting
  • Add presets for different personalities

About

A simple shell script to give a CLI to the new ChatGPT API.

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages