Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

chatGPT CLI

A terminal-based chat client for OpenAI's GPT API with session management and streaming responses.

Python License

Features

  • Split-pane TUI with session sidebar and chat view
  • Persistent chat sessions saved as JSON
  • Streaming responses in real-time
  • Multi-turn conversations with full context
  • Web search tool enabled
  • Keyboard-driven interface

Setup

python3 -m venv .venv
source .venv/bin/activate
pip install openai

Create a .env file:

OPENAI_API_KEY=sk-...

Usage

./start.sh

Keybindings

Key Action
Tab Switch between sidebar and chat
Enter Send message / Open session
Up/Down Navigate sidebar / Scroll chat
PgUp/PgDn Scroll chat (10 lines)
n New session
d Delete session
Ctrl-U Clear input
q Quit

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages