### Run Obsidian Copilot with local model
With Ollama stopped need to run:
```shell
OLLAMA_ORIGINS=app://obsidian.md* ollama serve
```
### To start a local server
You can use apps like [Enchanted](https://github.com/gluonfield/enchanted) for iOS to chat with local models using Ollama
```shell
ngrok http 11434 --host-header="localhost:11434"
```
### Use shortcuts and terminal
Using [LLM](https://llm.datasette.io/en/stable/) you can run a shell script in a Shortcut, example:
```shell
result=$(/opt/homebrew/bin/llm -m deepseek-r1:14b "Text" )
printf '%s' "$result"
```