A simple Web / UI / App / Frontend to Ollama.
Light Theme | Dark Theme |
---|---|
Install Ollama and run the server.
Download some models. For example, one of my favorites:
$ ollama pull dolphin-mistral
For using the app itself, there are 3 options:
- Web demo (with local Ollama)
- Local Web UI
- Stand-alone app
Allow browser to connect to your Ollama instance:
$ launchctl setenv OLLAMA_ORIGINS 'https://my.llamaz.ing'
Head over to https://my.llamaz.ing and chat with your local Ollama instance.
$ pnpm i
$ pnpm dev --open
Build one yourself (see below) or download a release from https://github.com/da-z/llamazing/releases
❗Note: In order for the standalone app to work, you have to either manually start Ollama server like this:
$ OLLAMA_ORIGINS=* ollama serve
or set the property globally (once) and restart Ollama server
$ launchctl setenv OLLAMA_ORIGINS '*'
Build app (output goes to ./dist
folder)
$ pnpm build
Install Tauri prerequisites based on your system:
$ pnpm tauri dev
$ pnpm tauri build --target universal-apple-darwin
$ pnpm tauri build
Good for troubleshooting a build (enables dev tools):
$ pnpm tauri build --debug