Skip to content

Commit

Permalink
Merge pull request #126 from tylerlocnguyen/main
Browse files Browse the repository at this point in the history
Documentation Update (README File)
  • Loading branch information
ggozad authored Oct 1, 2024
2 parents 199e302 + 658f05a commit e1c7756
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

the text-based terminal client for [Ollama](https://github.com/ollama/ollama).

# Table of Contents

1. [Features](#features)
2. [Installation](#installation)
- [Using brew for MacOS](#using-brew-for-macos)
- [Using yay for Arch Linux](#using-yay-or-any-aur-helper-for-arch-linux)
- [Using pip](#using-pip)
3. [Updating oterm](#updating-oterm)
4. [Using](#using)
- [Commands](#commands)
- [Keyboard shortcuts](#keyboard-shortcuts)
- [Tools](#tools)
- [Copy / Paste](#copy--paste)
- [Customizing models](#customizing-models)
- [Chat session storage](#chat-session-storage)
- [App configuration](#app-configuration)
5. [Screenshots](#screenshots)
6. [License](#license)

## Features

* intuitive and simple terminal UI, no need to run servers, frontends, just type `oterm` in your terminal.
Expand All @@ -12,6 +31,16 @@ the text-based terminal client for [Ollama](https://github.com/ollama/ollama).

## Installation

### Ollama

Before running oterm, you need to have Ollama installed and running on your system. You can find installation instructions for Ollama at:

[Ollama Installation Guide](https://github.com/ollama/ollama?tab=readme-ov-file#ollama)

Make sure Ollama is running before using oterm.

### oterm

Using `brew` for MacOS:

```bash
Expand All @@ -31,6 +60,26 @@ Using `pip`:
pip install oterm
```

## Updating oterm

To update oterm to the latest version, you can use the same method you used for installation:

Using `brew` for MacOS:

```bash
brew upgrade ggozad/formulas/oterm
```
Using 'yay' (or any AUR helper) for Arch Linux:

```bash
yay -Syu oterm
```
Using `pip`:

```bash
pip install --upgrade oterm
```

## Using

In order to use `oterm` you will need to have the Ollama server running. By default it expects to find the Ollama API running on `http://127.0.0.1:11434`. If you are running Ollama inside docker or on a different host/port, use the `OLLAMA_HOST` environment variable to customize the host/port. Alternatively you can use `OLLAMA_URL` to specify the full http(s) url. Setting `OTERM_VERIFY_SSL` to `False` will disable SSL verification.
Expand Down Expand Up @@ -134,9 +183,19 @@ You can set the following options in the configuration file:

### Screenshots
![Splash](screenshots/splash.gif)
The splash screen animation that greets users when they start oterm.


![Chat](screenshots/chat.png)
A view of the chat interface, showcasing the conversation between the user and the model.


![Model selection](./screenshots/model_selection.png)
The model selection screen, allowing users to choose from available models.


![Image selection](./screenshots/image_selection.png)
The image selection interface, demonstrating how users can include images in their conversations.

## License

Expand Down

0 comments on commit e1c7756

Please sign in to comment.