Karakeep, the self-hosted bookmark app previously called Hoarder, can tag and summarise everything you save using a language model. Out of the box its documentation points you at OpenAI, but it also supports Ollama, so the pages, notes and images you save can be processed by a model on your own PC instead of a cloud service.
It is based on Karakeep's README, installation guide, configuration reference and AI providers guide, plus the Ollama FAQ, all read on 2 December 2026. The newest Karakeep release on GitHub at the time of writing was v0.35.0, published on 15 November 2026.
What Karakeep does
The developers describe Karakeep as "a self-hostable bookmark-everything app with a touch of AI". You can save links, simple notes, images and PDFs, sort them into lists and search them. According to the README, it also offers:
LLM-based automatic tagging and summarisation, with support for local models through Ollama.
Full-text and semantic search of what you have stored.
OCR to pull text out of saved images.
Full-page archiving with monolith, to protect against link rot, and automatic video archiving with yt-dlp.
RSS feeds that save new items automatically.
Browser extensions for Chrome, Firefox and Safari, plus iOS and Android apps.
Importers for bookmarks from Chrome, Pocket, Linkwarden, Omnivore and Tab Session Manager.
Karakeep is open source under the AGPL-3.0 licence. The README says it is owned by Localhost Labs Ltd.
What you need
Docker and Docker Compose. These are the only requirements listed in Karakeep's Docker guide. On Windows, Docker Desktop is the usual route; our guide to setting up WSL2 for local AI covers the Linux layer underneath it.
Ollama with at least one model downloaded. If you'd rather run Ollama in a container too, see how to run Ollama in Docker.
Enough memory for the model. Tagging a bookmark is a small job, but the model still has to fit in RAM or VRAM. Our explainer on how much RAM you need for local AI helps you size it.
Step 1: Install Karakeep with Docker Compose
Karakeep's installation guide uses a folder holding a compose file and an environment file.
Create a folder, for example mkdir karakeep-app, and move into it.
Download the official compose file: wget https://raw.githubusercontent.com/karakeep-app/karakeep/main/docker/docker-compose.yml
Create a file called .env in the same folder with this minimal configuration:
KARAKEEP_VERSION=release
NEXTAUTH_SECRET=super_random_string
MEILI_MASTER_KEY=another_random_string
NEXTAUTH_URL=http://localhost:3000
Replace both random strings. The guide suggests generating them with openssl rand -base64 36. Change NEXTAUTH_URL if you'll reach Karakeep from another machine's address. KARAKEEP_VERSION=release pulls the latest stable version; you can pin a version number instead if you want to control upgrades.
Don't start it just yet. Add the AI settings first.
Step 2: Let the Karakeep container reach Ollama
This is the step most likely to trip you up. Karakeep's AI providers guide says Ollama must be "accessible from within the karakeep container (e.g. no localhost addresses)". Inside a container, localhost means the container itself, not your PC.
The Ollama FAQ says Ollama binds to 127.0.0.1 on port 11434 by default, and you change that with the OLLAMA_HOST environment variable, for example OLLAMA_HOST=0.0.0.0:11434. On Windows, the FAQ's method is:
Quit Ollama from the taskbar.
Open Settings (Windows 11) or Control Panel (Windows 10) and search for environment variables.
Click Edit environment variables for your account and create OLLAMA_HOST.
Click OK, then start Ollama again from the Start menu.
Then use your PC's local network address in Karakeep's settings. Opening Ollama to your network means other devices on it can use it too, so only do this on a network you trust. Our guide to sharing Ollama on your local network covers this in more detail.
Step 3: Add the Ollama settings to .env
Karakeep supports two ways to talk to Ollama. Its guide recommends the first.
Option 1: Ollama's OpenAI-compatible API (recommended). Karakeep's guide says this uses the /v1 chat endpoint, "which handles message formatting automatically", and is more reliable across models. Add these lines, swapping in your own PC's address:
OPENAI_API_KEY=ollama
OPENAI_BASE_URL=http://192.168.1.50:11434/v1
INFERENCE_TEXT_MODEL=gemma3
INFERENCE_IMAGE_MODEL=llava
Option 2: the native Ollama API. Set OLLAMA_BASE_URL=http://192.168.1.50:11434 instead, and make sure OPENAI_API_KEY is not set, because the guide warns that it takes precedence. If your model doesn't support structured output, also add INFERENCE_OUTPUT_SCHEMA=plain.
The IP address above is only an example. Gemma 3 and LLaVA are the example models in Karakeep's own guide. Pull whichever models you choose in Ollama first (for example ollama pull gemma3). The image model must support vision, because Karakeep uses it to tag saved images.
Step 4: Tune the settings for a local model
Karakeep's configuration reference has a few defaults worth changing when the model runs on your own hardware:
INFERENCE_JOB_TIMEOUT_SEC defaults to 30 seconds. The docs say that if you're "running ollama without powerful GPUs, you might want to increase the timeout a bit".
INFERENCE_CONTEXT_LENGTH defaults to 2,048 tokens, and longer content is truncated to fit. The docs call the default "quite small": a larger value gives the model more of the page to work from, but takes more resources. Check what your model supports.
INFERENCE_ENABLE_AUTO_SUMMARIZATION is off (false) by default. Set it to true if you want automatic summaries as well as tags. Auto-tagging is on by default.
INFERENCE_LANG sets the language of the tags. The default is english.
OLLAMA_KEEP_ALIVE controls how long the model stays in memory after a request, for example "5m", or "-1m" to keep it loaded.
OCR_USE_LLM=true makes Karakeep use your configured model for OCR instead of the built-in Tesseract engine. The docs say this can give better results on complex images.
Step 5: Turn on semantic search (optional)
Semantic search needs an embedding model. Karakeep only enables embeddings automatically for the default OpenAI set-up, so with Ollama you must turn them on yourself. The guide's Ollama example uses:
EMBEDDING_TEXT_MODEL=embeddinggemma
EMBEDDING_DIMENSIONS=768
EMBEDDING_CONTEXT_LENGTH=2048
EMBEDDING_ENABLE_AUTO_INDEXING=true
Pick your embedding model carefully. The docs warn that embeddings from different models aren't compatible, so if you change the model or the number of dimensions later, you'll have to regenerate embeddings for every bookmark. Our best local embedding models guide can help you choose.
Run docker compose up -d in the folder.
Open http://localhost:3000 and create your account from the sign-in page.
Save a few links and check that AI tags appear on them.
Each time you edit .env, you need to run docker compose up again for the change to apply. You can also tell the tagger what you want: the docs say you can add your own instructions to the tagging prompt in the AI Settings section of User Settings, using the placeholders $tags, $aiTags and $userTags.
If tags don't appear, check the obvious things first: that Ollama is reachable from the container's network, that the model names match exactly what you pulled, and that the job timeout is long enough for your hardware.
Updating
If you used KARAKEEP_VERSION=release, the guide says to update with docker compose up --pull always -d. If you pinned a version, change the number and run docker compose up -d.
If you'd rather have simpler AI tagging and no summaries, see our guide to Linkwarden's AI tagging with Ollama, or read our Karakeep vs Linkwarden comparison.