Skip to content

IBM/ollama-bar

Repository files navigation

Ollama Bar

This is a simple macOS status bar that allows you to start/stop/view ollama from the menu bar.

NOTICE: This project is not directly affiliated with Ollama and is provided as-is as a convenience for managing the ollama server process from the menu bar.

Prerequisites

First and foremost, you need to have ollama installed on your machine. You can download it from ollama.com of use homebrew to install it:

brew install ollama

This project is based on rumps and uses python to build and run the app. It is highly recommended that you use a python version manager like pyenv or conda to manage your python versions.

In a clean python environment, you can do an editable install of the project and dependencies with pip:

pip install -e ".[dev]"

Installation

The app can be installed with a single make install-app command. This will create a new application bundle in /Applications/ollama-bar.app.

Running the tests

To run all tests, use:

make test

You can also run scripts/run_tests.sh directly with additional pytest args to control which tests are run.