https://github.com/ttyobiwan/chatui
ChatGPT directly in your terminal using Textual
https://github.com/ttyobiwan/chatui
chatgpt textual
Last synced: about 2 months ago
JSON representation
ChatGPT directly in your terminal using Textual
- Host: GitHub
- URL: https://github.com/ttyobiwan/chatui
- Owner: ttyobiwan
- Created: 2023-03-10T18:10:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-08T00:44:47.000Z (about 2 months ago)
- Last Synced: 2025-08-08T02:33:58.970Z (about 2 months ago)
- Topics: chatgpt, textual
- Language: Python
- Homepage:
- Size: 75.2 KB
- Stars: 24
- Watchers: 1
- Forks: 5
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📬 chatui
[](https://www.python.org/)
[](https://github.com/python/black)
[](https://github.com/pre-commit/pre-commit)
[](https://mypy-lang.org/)
[](https://github.com/charliermarsh/ruff)
## 📝 Table of Contents
- [About](#about)
- [Installation](#installation)In-terminal ChatGPT powered by Textual. Take note that this is just an MVP + I'm not a CSS ninja.
Create a new virtual environment (assuming you already have Python installed e.g. via `pyenv`)
```bash
python -m venv venv
```Activate it
```bash
source ./venv/bin/activate
```Install requirements for local setup
```bash
pip install -r ./requirements/dev.txt
```Get your OpenAI API key ([link](https://platform.openai.com/account/api-keys)) and set it as an environment variable
```bash
export OPENAI_KEY=
```You now be able to run the project
```bash
make run
```