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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file cli_chat-0.1.0.tar.gz.

File metadata

  • Download URL: cli_chat-0.1.0.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.2 Darwin/22.2.0

File hashes

Hashes for cli_chat-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eac827e98159edb2ab2b800add2381fa86ad2031b112e362885b1ce6c424ef17
MD5 020d17a0cbe87e4f3f9f3d5467bda908
BLAKE2b-256 43f2828979c0c99f155ef94b4834fd51c74d17a3f4a2add4829306ef3f683bd1

See more details on using hashes here.

File details

Details for the file cli_chat-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cli_chat-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.2 Darwin/22.2.0

File hashes

Hashes for cli_chat-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7edbd7bb55bc101291509abe3e0535b4ab11a22fdf7cc5b8a03bf6d8e252078e
MD5 f7800cd07e891aec0bf9b8b88dd812cf
BLAKE2b-256 2bd6bbd19601bc5f578ecb8739dfda6d9f7f86cd077971afff504654070be06c

See more details on using hashes here.

Supported by

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