# ChatGPT TUI
[![PyPI version](https://badge.fury.io/py/chatgpt_tui.svg)](https://badge.fury.io/py/chatgpt_tui)
![](https://i.imgur.com/E1mrVGU.png)
`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
```bash
pip install -U chatgpt_tui
```
### Export your OpenAI API key
Before using it, you need to export your [OpenAI API key](https://platform.openai.com/account/api-keys) as an environment variable:
```bash
export OPENAI_API_KEY=your-api-key
```
### Launch
To start the app, simply run the following command in your terminal:
```bash
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/Jiayi-Pan/ChatGPT_TUI",
"name": "chatgpt-tui",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "chatbot,tui,chatgpt,chatgpt_tui",
"author": "Jiayi Pan",
"author_email": "i@jiayipan.me",
"download_url": "https://files.pythonhosted.org/packages/c1/54/6f291ed172f28086930bbb2f1ace89a780be3ddbc86eb1de9fbd5bd69cc4/chatgpt_tui-0.7.0.tar.gz",
"platform": null,
"description": "# ChatGPT TUI\n\n[![PyPI version](https://badge.fury.io/py/chatgpt_tui.svg)](https://badge.fury.io/py/chatgpt_tui)\n\n![](https://i.imgur.com/E1mrVGU.png)\n\n`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.\n\n## Usage\n\n### Install\n\n```bash\npip install -U chatgpt_tui\n```\n\n### Export your OpenAI API key\n\nBefore using it, you need to export your [OpenAI API key](https://platform.openai.com/account/api-keys) as an environment variable:\n\n```bash\nexport OPENAI_API_KEY=your-api-key\n```\n\n### Launch\n\nTo start the app, simply run the following command in your terminal:\n\n```bash\ncatui\n```\n\nThis will launch `catui` and connect you to the ChatGPT chatbot.\n\n### Road Map\n- Resume from previous chat history\n- Improve UI/UX\n - Better visuals\n - More keybindings\n\n# License\n\n`catui` is licensed under the MIT License.\n",
"bugtrack_url": null,
"license": "",
"summary": "A simple TUI interface for ChatGPT.",
"version": "0.7.0",
"project_urls": {
"Homepage": "https://github.com/Jiayi-Pan/ChatGPT_TUI"
},
"split_keywords": [
"chatbot",
"tui",
"chatgpt",
"chatgpt_tui"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c962373b50637724b90fd2edad7636f8506dbffb9a241fc86374cfa4513b10a4",
"md5": "8153e2b0641aeb3802f481ade5296663",
"sha256": "926d6abd9fb2d68446dadb0f9183c97a7fb21de52dbefd1b48bd2e3966f6fb75"
},
"downloads": -1,
"filename": "chatgpt_tui-0.7.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8153e2b0641aeb3802f481ade5296663",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 6817,
"upload_time": "2023-07-25T08:48:02",
"upload_time_iso_8601": "2023-07-25T08:48:02.314009Z",
"url": "https://files.pythonhosted.org/packages/c9/62/373b50637724b90fd2edad7636f8506dbffb9a241fc86374cfa4513b10a4/chatgpt_tui-0.7.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c1546f291ed172f28086930bbb2f1ace89a780be3ddbc86eb1de9fbd5bd69cc4",
"md5": "7faaa1cba6dae170ceeb9062c37e3b0e",
"sha256": "f09c086e5e4ecd86df466c3e19f2e2d9c00b45760ec38418c9a45c4228b607f8"
},
"downloads": -1,
"filename": "chatgpt_tui-0.7.0.tar.gz",
"has_sig": false,
"md5_digest": "7faaa1cba6dae170ceeb9062c37e3b0e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 5236,
"upload_time": "2023-07-25T08:48:04",
"upload_time_iso_8601": "2023-07-25T08:48:04.055945Z",
"url": "https://files.pythonhosted.org/packages/c1/54/6f291ed172f28086930bbb2f1ace89a780be3ddbc86eb1de9fbd5bd69cc4/chatgpt_tui-0.7.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-25 08:48:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Jiayi-Pan",
"github_project": "ChatGPT_TUI",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "chatgpt-tui"
}