chat-tty

Crates.iochat-tty
lib.rschat-tty
version0.3.4
sourcesrc
created_at2023-04-07 08:01:27.818021
updated_at2023-04-11 23:14:57.515406
descriptionA command-line chatbot for ChatGPT that supports streaming tokens and history
homepagehttps://github.com/seanaye/chat-tty
repositoryhttps://github.com/seanaye/chat-tty
max_upload_size
id832819
size56,452
Sean Aye (seanaye)

documentation

README

The content of this readme was assisted by chat-tty

Rust Version Crates.io Crates.io Crates.io

chat-tty

chat-tty is a terminal-based Rust application that allows you to stream completions from OpenAI's ChatGPT model.

Interact with ChatGPT directly in your terminal and experience lightning-fast completions for any use case, including brainstorming ideas , generating content or casual conversations with the AI. Harness ChatGPT's capabilities quickly and easily in this lightweight console-b ased interface.

Table of Contents

Installation

To build, run and install this application, you need to have the latest version of Rust installed on your computer. You can install Rust by following the instructions at https://www.rust-lang.org/tools/install.

Now, you are ready to install the application!

cargo install chat-tty

Usage

Before using the chat-tty, you need to provide a valid OpenAI API key. Set the OPENAI_KEY environment variable to your Open AI API key:

export OPENAI_KEY=your_api_key

Now, you can simply run the application by executing:

chat-tty

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Commit count: 15

cargo fmt