Skip to main content

No project description provided

Project description

cli-chat

cli-chat is a command-line tool that allows you to have a conversation with ChatGPT from your terminal.

Installation

To install cli-chat, follow these steps:

  1. Clone the repository.
  2. Run poetry install to install the dependencies.

Usage

To start a conversation, run the following command in your terminal:

# poetry run cli-chat

Notes:

  1. You will need a valid API key from here to use the tool.
  2. The key will be stored in a file named .key in the same directory as the script. If you want to change the key or stop using the script, simply remove this file.
  3. You can use the arrow keys to navigate through the history of your conversation.
  4. To end the conversation, simply type "thanks", "thx", or something similar.
  5. If you don't want to render the conversation history as markdown in the terminal, put [nm] in front of your question. For example, if you want to ask "How are you?" without rendering it as markdown, you would type [nm] How are you? instead.

Example

Example

Example

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cli_chat-0.1.0.tar.gz (14.8 kB view hashes)

Uploaded Source

Built Distribution

cli_chat-0.1.0-py3-none-any.whl (15.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page