#chat #cli #artificial-intelligence #open-a-iai

app terminal_chat

A terminal chat tool using openAI

2 unstable releases

0.2.0 Aug 8, 2023
0.1.0 Aug 7, 2023

#1948 in Command line utilities

Download history 2/week @ 2024-02-21 8/week @ 2024-02-28 8/week @ 2024-03-13 9/week @ 2024-03-27 22/week @ 2024-04-03 51/week @ 2024-04-10

82 downloads per month

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

~8–21MB
~317K SLoC