Self-hosted bookmarks that tag themselves with local AI (Karakeep)
- Hardware
- Debian 12 / Ubuntu 24.04 (author uses a Proxmox LXC), 2 CPU / 4 GB RAM / 30 GB disk floor
- Models & engines
- Ollama server with gemma3:4b (multimodal for text and image tagging)
- Key gotcha
- INFERENCE_TEXT_MODEL must be set, or Karakeep tries OpenAI and fails
What they built
A homelab playbook that installs Karakeep, a self-hosted 'bookmark everything' manager, on Debian/Ubuntu with its official script. It wires automatic tagging to a local Ollama model so no bookmark or tag touches a cloud API.
Setup
- Debian 12 / Ubuntu 24.04 (author uses a Proxmox LXC), 2 CPU / 4 GB RAM / 30 GB disk floor
- Karakeep + Meilisearch via the official install script
- Ollama server with gemma3:4b (multimodal for text and image tagging)
Results & numbers
- CPU-only hardware: roughly 1-3 minutes per bookmark
Gotchas
- INFERENCE_TEXT_MODEL must be set, or Karakeep tries OpenAI and fails
- Small models choke on strict JSON-schema output; set INFERENCE_OUTPUT_SCHEMA=plain
- Raise the 30-second job timeout
- Never use localhost for OLLAMA_BASE_URL; inside the container it points to itself
“The plain-output setting is the make-or-break.”— peira.dev
Do it yourself
- Run the official karakeep-linux.sh as root
- Pull gemma3:4b on your Ollama server
- Append the env block below to /etc/karakeep/karakeep.env
- systemctl restart karakeep-workers karakeep-web
- Save a bookmark and watch the worker log for local calls
OLLAMA_BASE_URL=http://10.0.0.40:11434
INFERENCE_TEXT_MODEL=gemma3:4b
INFERENCE_IMAGE_MODEL=gemma3:4b
INFERENCE_CONTEXT_LENGTH=4096
INFERENCE_JOB_TIMEOUT_SEC=600
INFERENCE_OUTPUT_SCHEMA=plainSimilar setups
A €200 mini PC as an offline AI box: a week with Gemma and Qwen
Diogo Soares ran Gemma 4 E4B and Qwen2.5-Coder 7B on a cheap NiPoGi P1 mini PC firewalled off the internet, used it from his Mac for a week, and measured what was fast and what wasn't.
Home RAG assistant for embedded-systems docs on Proxmox
Ollama, llama.cpp, Open WebUI, BGE-M3 and SearXNG in a GPU-passthrough VM. Moving from 6 GB to 16 GB of VRAM changed which models could run.
A local Ollama firewall analyst for a MikroTik router
A home-network tinkerer feeds pre-filtered firewall and DNS anomalies to a small model on an 8 GB RTX 3060 Ti, which returns allow, suspicious or block verdicts with evidence while the router keeps doing the real filtering.
Guardrails for letting local Qwen models reorganize terabytes of files
For about a year a Reddit user has had Qwen models on Ollama sort media, clean up repos and reorganize a few terabytes of files without losing anything important, because the workflow, not the model, limits what can happen.