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:
- Clone the repository.
- Run
poetry install
to install the dependencies.
Usage
To start a conversation, run the following command in your terminal:
# poetry run cli-chat
Notes:
- You will need a valid API key from here to use the tool.
- 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. - You can use the arrow keys to navigate through the history of your conversation.
- To end the conversation, simply type "thanks", "thx", or something similar.
- 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
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)
Built Distribution
cli_chat-0.1.0-py3-none-any.whl
(15.0 kB
view hashes)