Skip to main content

A simple TUI interface for ChatGPT.

Project description

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.

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

chatgpt_tui-0.7.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

chatgpt_tui-0.7.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file chatgpt_tui-0.7.0.tar.gz.

File metadata

  • Download URL: chatgpt_tui-0.7.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for chatgpt_tui-0.7.0.tar.gz
Algorithm Hash digest
SHA256 f09c086e5e4ecd86df466c3e19f2e2d9c00b45760ec38418c9a45c4228b607f8
MD5 7faaa1cba6dae170ceeb9062c37e3b0e
BLAKE2b-256 c1546f291ed172f28086930bbb2f1ace89a780be3ddbc86eb1de9fbd5bd69cc4

See more details on using hashes here.

File details

Details for the file chatgpt_tui-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: chatgpt_tui-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for chatgpt_tui-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 926d6abd9fb2d68446dadb0f9183c97a7fb21de52dbefd1b48bd2e3966f6fb75
MD5 8153e2b0641aeb3802f481ade5296663
BLAKE2b-256 c962373b50637724b90fd2edad7636f8506dbffb9a241fc86374cfa4513b10a4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page