Files
dots/lw/.bashrc.host
T
2026-08-12 23:49:33 +02:00

7 lines
527 B
Plaintext

## lw-specific bash extras (mirror of the fish llamaserver abbr in host.fish)
# --host 127.0.0.1 deliberately: laptop roams onto untrusted wifi and the API has no key.
# --cors-origins localhost: llama.cpp PR 25655 recommendation for same-machine use — without it
# the default CORS reflects any Origin, letting a malicious page in the local browser call the API.
alias llamaserver="nice -n 19 llama-server --host 127.0.0.1 --port 11343 --cors-origins localhost --models-max 1 --models-preset ~/.config/llamacpp/config.ini"