Skip to main content

Terminal UI application for interacting with local LLMs via ollama.

Project description

open-terminalui

PyPI - Version PyPI - Python Version

open-terminalui screenshot


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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

open_terminalui-0.0.2.tar.gz (577.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

open_terminalui-0.0.2-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file open_terminalui-0.0.2.tar.gz.

File metadata

  • Download URL: open_terminalui-0.0.2.tar.gz
  • Upload date:
  • Size: 577.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for open_terminalui-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c2ef6223d484234e9e0f4638cb483cce848317b95fe1ff1c9f85dbe3a0a14ca4
MD5 519e319f3c31e4ec528a9b8a4a9a2656
BLAKE2b-256 32d8322c8e2529026fa0966b0c85f93ae0f16e73a8fbd115cc75fc325067f162

See more details on using hashes here.

File details

Details for the file open_terminalui-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for open_terminalui-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9c3f667f9c3a8cead6ddc5bb5063dd82615d8614f80282050addf05281998329
MD5 9733a572765f1d451ccb4ecbb6e53cc3
BLAKE2b-256 603b95670052a7336e4794472355a7666d6dd2af23458aac3ca378ee29a32b2d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page