| Crates.io | chatty-rs |
| lib.rs | chatty-rs |
| version | 0.0.1-alpha1 |
| created_at | 2025-04-08 02:19:30.03008+00 |
| updated_at | 2025-04-08 02:19:30.03008+00 |
| description | A terminal-based chat client for OpenAI's GPT models. |
| homepage | |
| repository | https://github.com/vietanhduong/chatty |
| max_upload_size | |
| id | 1624867 |
| size | 428,971 |
ChaTTY is a Terminal User Interface (TUI) for chatting with AI models (OpenAI, Gemini), written in Rust. It brings the power of ChatGPT and Gemini to your terminal, with features like conversation management, multiple model support, and intelligent context compression.
# Download from Git
# or
# Build from source
git clone https://github.com/vietanhduong/chatty && cd chatty
# The output will be in ./builds/usr/bin/chatty
make DESTDIR=builds install
ChaTTY requires minimal configuration before first use. You'll need to provide at least one backend connection.
Create a config file in one of these locations:
$XDG_CONFIG_HOME/chatty/config.toml$HOME/.config/chatty/config.toml$HOME/.chatty.toml[[backend.connections]]
enabled = true
alias = "OpenAI"
kind = "openai"
endpoint = "https://api.openai.com"
api_key = "<your_api_key>"
View the complete configuration options in our default config file.
$ chatty --help
A Terminal UI to interact OpenAI models
Default configuration file location looks up in the following order:
* $XDG_CONFIG_HOME/chatty/config.toml
* $HOME/.config/chatty/config.toml
* $HOME/.chatty.toml
Usage: chatty [OPTIONS]
Options:
-c, --config <PATH>
Configuration file path
-v, --version
Show the version
-h, --help
Print help (see a summary with '-h')
Contributions are welcome! Feel free to:
This project is licensed under the MIT License - see the LICENSE file for details.