How to Put a Password on Ollama with Nginx
Keep Ollama listening on localhost and put nginx in front of it with basic authentication, so anyone who reaches it has to…
THE FIELD GUIDE
Run AI on your own computer, check model and hardware requirements, and verify which steps work without a cloud connection.
Keep Ollama listening on localhost and put nginx in front of it with basic authentication, so anyone who reaches it has to…
Pipe a text file into ollama run with a short instruction to summarise it or ask about it, without pasting the file…
Measure your own model's prompt-processing and generation speed in tokens per second with llama-bench, instead of trusting a benchmark run on someone…
Pick a Whisper model for a long recording from the published size, memory, and speed table, so the job finishes on your…
Use the lms command line to list downloaded and loaded models, load one with an idle timeout, and unload it to free…
Give a local model one tool description in the tools field, read the tool_calls reply it returns, and run the function yourself.
When a script or another app needs your model list, ask Ollama's API — /api/tags lists what is downloaded and /api/ps lists…
In GPT4All's model settings, raise Context Length above its 2048-token default so longer conversations and LocalDocs snippets fit before the model forgets…
Run ollama show --modelfile to print the recipe behind a model — its base, template, system prompt, and parameters — before you…
Point a one-line Modelfile at a GGUF file already on your disk, create a named Ollama model from it, and run it.