一个 Swift 命令行应用程序,可以直接从终端向 ChatGPT 询问任何内容
🗣️ Chatty:您在终端中的 ChatGPT 伴侣
直接从您的终端向 ChatGPT 询问任何事情!
Installation
Currently, chatty can only be installed using Mint 🌱:
mint install polpielladev/chatty-cli@main
Usage
Chatty communicates with the OpenAI API to make use of the ChatGPT model. The first time you use the chatty, you will need to give it an API token using the command:auth
chatty auth
🔐 This token will be safely stored in the OSX Keychain and will only be read when needed. Chatty will only know the value of the token for during its execution.
If chatty has already been given a token, you can start a conversation by running chat command:
# Call chatty and use the default command (which is chat)
chatty
# Call chatty explicitly with the chat command
chatty chat