Skip to content

A Swift command line application to ask ChatGPT anything directly from the terminal

License

Notifications You must be signed in to change notification settings

polpielladev/chatty-cli

Repository files navigation

🗣️ Chatty: Your ChatGPT companion in the terminal

Ask ChatGPT anything directly from your terminal!

CleanShot.2023-03-26.at.20.58.43.mp4

Installation

There are currently three ways of installing the app: homebrew, mint and directly from Github.

Homebrew

brew install polpielladev/homebrew-tap/chatty-cli

Mint

mint install polpielladev/chatty-cli@main

Manually

Every time a new version is available, a new Github release is created. You can download the latest version of the executable directly from the releases page.

Usage

Chatty communicates with the OpenAI API to make use of the ChatGPT model. Note you must have an API key with available tokens (either free or pay-as-you-go). You can check your available tokens here. The first time you use the chatty, you will need to give it an API token using the auth command:

chatty auth
CleanShot.2023-03-26.at.20.54.23.mp4

🔐 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

About

A Swift command line application to ask ChatGPT anything directly from the terminal

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages