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 installto 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
.keyin 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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cli_chat-0.1.0-py3-none-any.whl
(15.0 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eac827e98159edb2ab2b800add2381fa86ad2031b112e362885b1ce6c424ef17
|
|
| MD5 |
020d17a0cbe87e4f3f9f3d5467bda908
|
|
| BLAKE2b-256 |
43f2828979c0c99f155ef94b4834fd51c74d17a3f4a2add4829306ef3f683bd1
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7edbd7bb55bc101291509abe3e0535b4ab11a22fdf7cc5b8a03bf6d8e252078e
|
|
| MD5 |
f7800cd07e891aec0bf9b8b88dd812cf
|
|
| BLAKE2b-256 |
2bd6bbd19601bc5f578ecb8739dfda6d9f7f86cd077971afff504654070be06c
|