/ChatGPT_TUI

A Modern Text-based User Interface for ChatGPT.

Primary LanguagePythonMIT LicenseMIT

ChatGPT TUI

PyPI version

catui is a Python-based Text User Interface (TUI) for ChatGPT, powered by OpenAI's official API. It provides an easy-to-use interface that allows you to interact with ChatGPT directly from your terminal.

Usage

Install

pip install -U chatgpt_tui

Export your OpenAI API key

Before using it, you need to export your OpenAI API key as an environment variable:

export OPENAI_API_KEY=your-api-key

Launch

To start the app, simply run the following command in your terminal:

catui

This will launch catui and connect you to the ChatGPT chatbot.

Road Map

  • Resume from previous chat history
  • Improve UI/UX
    • Better visuals
    • More keybindings

License

catui is licensed under the MIT License.