Crates.io | llm-tui |
lib.rs | llm-tui |
version | 0.1.0 |
source | src |
created_at | 2024-08-26 20:25:27.883925 |
updated_at | 2024-08-26 20:25:27.883925 |
description | A Terminal User Interface (TUI) for interacting with Language Learning Models (LLM) using llm-cli |
homepage | |
repository | https://github.com/guilhermeprokisch/llm-tui |
max_upload_size | |
id | 1352619 |
size | 71,625 |
A Terminal User Interface (TUI) for interacting with Language Learning Models (LLM) directly from your command line.
IMPORTANT: llm-tui is currently in an alpha stage and under active development. It may contain bugs, incomplete features, or undergo significant changes. Use at your own risk and expect potential instability. We welcome feedback and contributions to help improve the project!
llm-tui requires the llm-cli tool from https://github.com/simonw/llm to be installed and configured before use.
Please follow the installation and configuration instructions in the llm-cli repository before proceeding with llm-tui setup. This tool provides the underlying functionality for interacting with various language models.
After setting up llm-cli, you can install llm-tui:
cargo install llm-tui
Clone the repository:
git clone https://github.com/guilhermeprokisch/llm-tui.git
cd llm-tui
Build and install:
cargo install --path .
To start the application, run:
llm-tui
General:
Tab
: Cycle through focus areasq
: Quit the applicationh
: Toggle conversation list visibilityConversation List:
j
or Down Arrow
: Next conversationk
or Up Arrow
: Previous conversationEnter
: Select conversationn
: Start new conversationModel Select:
j
or Down Arrow
: Next modelk
or Up Arrow
: Previous modelChat:
j
or Down Arrow
: Scroll downk
or Up Arrow
: Scroll upy
: Copy selected message to clipboardInput:
i
: Enter edit modeEsc
: Exit edit modeEnter
: Send message (in edit mode)The application listens for remote commands on 127.0.0.1:8080
. You can send commands to the application using a TCP client.
llm-tui uses the models configured in your llm-cli installation. To add or modify models, please refer to the llm-cli documentation.
Contributions are welcome! As the project is in alpha, there are many opportunities to help improve and shape llm-tui. Please feel free to submit a Pull Request or open an issue to discuss potential changes or additions.
This project is licensed under the MIT License - see the LICENSE file for details.
We would like to thank Simon Willison for creating and maintaining the llm-cli project, which forms the backbone of llm-tui's functionality.