Terminal UI application for interacting with local LLMs via ollama.
Project description
open-terminalui
open-terminalui is a modern terminal-based user interface for interacting with local LLMs powered by Ollama. It provides an intuitive chat interface with document management, vector search capabilities, and a clean, responsive design built with Textual.
Table of Contents
Installation
Prerequisites
open-terminalui requires Ollama to run local LLMs. Follow these steps to set up your environment:
1. Install Ollama
Visit https://ollama.ai and download Ollama for your operating system, or use the following commands:
macOS:
brew install ollama
Linux:
curl -fsSL https://ollama.ai/install.sh | sh
Windows: Download the installer from https://ollama.ai/download
2. Pull the Llama 3.2 Model
After installing Ollama, pull the llama3.2 model:
ollama pull llama3.2
3. Start Ollama
Start the Ollama service:
ollama serve
Note: On macOS and Windows, Ollama typically starts automatically. On Linux, you may need to run this command or set it up as a service.
4. Install open-terminalui
Install open-terminalui using pipx:
pipx install open-terminalui
If you don't have pipx installed, you can install it with:
# macOS
brew install pipx
pipx ensurepath
# Linux
python3 -m pip install --user pipx
python3 -m pipx ensurepath
# Windows
python -m pip install --user pipx
python -m pipx ensurepath
5. Run open-terminalui
Launch the application:
open-terminalui
The terminal UI will start and connect to your local Ollama instance running llama3.2.
Development
Installation
uv sync
Testing
textual run --dev open_terminalui.entry_points:app
In a seperate console
textual console # All logs
textual console -x SYSTEM -x EVENT -x DEBUG -x INFO # Minimal logs
License
open-terminalui is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file open_terminalui-0.0.3.tar.gz.
File metadata
- Download URL: open_terminalui-0.0.3.tar.gz
- Upload date:
- Size: 580.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4546c31ed9815e2e3af4972ef69267418e1fa94c3b8f0c1da2a8fdd4e6be5e9
|
|
| MD5 |
8a830f45cb11ac2e1670be00dbda5fc8
|
|
| BLAKE2b-256 |
d868444856299f63b2e6fe651b026303ebc4229df6d18dd6846e7040881b3729
|
File details
Details for the file open_terminalui-0.0.3-py3-none-any.whl.
File metadata
- Download URL: open_terminalui-0.0.3-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
144b59ff4111798f0a0da07b3f5e6017ba26f4cfee15780717bfb7ba3bcde6c0
|
|
| MD5 |
72cfaffca2e4e87ae4915ef1b09ec716
|
|
| BLAKE2b-256 |
3fb10b784bf00952e3a61e4fb9ffa12336258e2a5b5e355730672e57885098ef
|