#chat

app terminal_chat

A terminal chat tool using openAI

2 unstable releases

0.2.0 Aug 8, 2023
0.1.0 Aug 7, 2023

#161 in #chat

MIT/Apache

1MB
222 lines

Terminal Chat Tool

A simple chat tool that allows user to chat with OpenAI from terminal.

Demo

Install

This tool can be installed using cargo install terminal_chat.

Set up

  1. Obtain API key from OpenAI.
  2. Add an environment variable with name OPENAI_API_KEY to your system.

Usage

  1. To start the app: type terminal_chat in your terminal.
  2. To chat with AI: type in your message and press enter or return.
  3. To exit the app: press esc.

Special Feature

  1. Code Blocks and inline code are displayed with a different background.

Code Block Example

Dependencies

~10–22MB
~314K SLoC