An open API service indexing awesome lists of open source software.

https://github.com/yeahdongcn/ollamastack

Setup Ollama stack on macOS.
https://github.com/yeahdongcn/ollamastack

Last synced: 9 months ago
JSON representation

Setup Ollama stack on macOS.

Awesome Lists containing this project

README

          

# OllamaStack

Setup [Ollama](https://github.com/jmorganca/ollama) stack on macOS.

- [OllamaStack](#ollamastack)
- [Prerequisites](#prerequisites)
- [Diagram](#diagram)
- [Quickstart](#quickstart)
- [Demo](#demo)

## Prerequisites
* A [Metal capable](https://support.apple.com/en-us/102894) Mac device.
* [Mods](https://github.com/charmbracelet/mods): AI for the command line, built for pipelines.
* [Docker](https://www.docker.com/products/docker-desktop): The fastest way to containerize applications.

## Diagram

```mermaid
graph LR;
subgraph Host
subgraph CLI
B(Mods)
G(Collector)
end
subgraph Server
C(Ollama)
D[Metal]
end
end
subgraph Container
E(LiteLLM Proxy)
F(Ollama Web UI)
H(Prometheus)
I(Grafana)
end
A(User) --> |Terminal|B;
A --> |Browser|F;
B --> |OpenAI API|E;
E --> |REST API|C;
F --> |REST API|C;
C-. Link .-> D;
H --> |Client API|G;
I --> |Data Source|H;
```

## Quickstart

```bash
$ git clone https://github.com/yeahdongcn/OllamaStack.git
$ cd OllamaStack
$ ./start.sh
$ ./stop.sh
```

### Demo

![633462](https://github.com/yeahdongcn/OllamaStack/assets/2831050/1290b08a-6636-493e-8ad4-edcb18971198)

Screenshot 2024-01-31 at 11 45 31