How to Self-Host Karakeep (formerly Hoarder) with Docker Compose: The Bookmark Manager That Killed My Raindrop Subscription

TL;DR — Karakeep (formerly Hoarder) is the best self-hosted Raindrop alternative. Three containers (web, Chrome, Meilisearch) behind Traefik take about 30 minutes to set up. Pin Meilisearch, raise the AI context length and timeout, and add a tag whitelist prompt.

Karakeep, the project formerly called Hoarder, is the self-hosted bookmark manager that finally got me to cancel Raindrop Pro. You save a link, a note or an image. It crawls the page in headless Chrome, archives it, indexes it in Meilisearch and gets an LLM to tag it. This guide covers my Karakeep Docker setup: Docker Compose, Meilisearch, a Chrome worker, Traefik for HTTPS, the browser extension, an iOS Shortcut, and the AI tagging problems that cost me an evening.

Karakeep: an open-source, self-hosted read-it-later and bookmark app with full-text search, page archiving and automatic AI tagging using OpenAI or Ollama.

  1. Create a project directory and an .env file with generated secrets for NextAuth and Meilisearch.
  2. Write a Docker Compose file that runs the Karakeep web app, a headless Chrome worker and Meilisearch.
  3. Add Traefik labels so Karakeep gets a hostname and an automatic Let's Encrypt certificate.
  4. Start the stack, create your admin account and turn off public sign-ups.
  5. Configure AI tagging with OpenAI or a local Ollama model, and tune the context length and timeout.
  6. Connect the browser extension and an iOS Shortcut using an API key.

Why replace Raindrop with self-hosted Karakeep?

Karakeep does what Raindrop Pro does (full-text search, permanent copies of pages, automatic organisation) without a subscription, and your archive lives on your own disk. If you already run Docker, you'll spend more time on the tagging prompt than on the install.

Raindrop is a good product. But I was paying about $28 a year for search over bookmarks I'd saved myself, and when a page died its archive copy was only as permanent as my subscription. Karakeep stores page snapshots, screenshots and optionally full-page archives under /data, so your normal backup job picks them up.

Where Raindrop still wins: the polished mobile apps, collaborative collections, and the fact that you don't have to maintain anything. Karakeep's iOS and Android apps work, but they're clearly a side project next to the web UI.

Step 1: Create the .env file for Karakeep

Karakeep needs two secrets and a public URL. Generate the secrets now. If you skip MEILI_MASTER_KEY, search will quietly fail later and you'll waste time debugging it.

mkdir -p ~/stacks/karakeep && cd ~/stacks/karakeep
cat > .env <<EOF
KARAKEEP_VERSION=release
NEXTAUTH_SECRET=$(openssl rand -base64 36)
MEILI_MASTER_KEY=$(openssl rand -base64 36)
NEXTAUTH_URL=https://bookmarks.example.com
DISABLE_SIGNUPS=false
EOF

NEXTAUTH_URL must exactly match the URL you'll use in the browser, including the scheme. If it doesn't, logins redirect back to localhost and the extension fails with confusing auth errors.

Step 2: Write the Karakeep Docker Compose file

The stack has three containers: the Karakeep web app (which also runs the background workers), a headless Chrome that the crawler connects to over the DevTools protocol, and Meilisearch for full-text search.

services:
  web:
    image: ghcr.io/karakeep-app/karakeep:${KARAKEEP_VERSION:-release}
    restart: unless-stopped
    env_file: .env
    environment:
      MEILI_ADDR: http://meilisearch:7700
      BROWSER_WEB_URL: http://chrome:9222
      DATA_DIR: /data
    volumes:
      - ./data:/data
    networks: [default, proxy]
    labels:
      - traefik.enable=true
      - traefik.docker.network=proxy
      - traefik.http.routers.karakeep.rule=Host(`bookmarks.example.com`)
      - traefik.http.routers.karakeep.entrypoints=websecure
      - traefik.http.routers.karakeep.tls.certresolver=letsencrypt
      - traefik.http.services.karakeep.loadbalancer.server.port=3000

  chrome:
    image: gcr.io/zenika-hub/alpine-chrome:124
    restart: unless-stopped
    command:
      - --no-sandbox
      - --disable-gpu
      - --disable-dev-shm-usage
      - --remote-debugging-address=0.0.0.0
      - --remote-debugging-port=9222
      - --hide-scrollbars

  meilisearch:
    image: getmeili/meilisearch:v1.13.3
    restart: unless-stopped
    env_file: .env
    environment:
      MEILI_NO_ANALYTICS: "true"
    volumes:
      - ./meili:/meili_data

networks:
  proxy:
    external: true

Pin the Meilisearch version. Its on-disk format changes between minor versions, so if you use :latest, one day docker compose pull will leave a container that refuses to start. When you do upgrade Meilisearch, delete ./meili and re-index from Karakeep's admin panel. Karakeep is the source of truth and Meilisearch is a disposable index, so this is safe.

Chrome and Meilisearch publish no ports and have no Traefik labels. Only web joins the proxy network. Never expose port 9222: an open DevTools endpoint lets anyone drive the browser.

Step 3: Put Karakeep behind Traefik

The labels above are all Traefik needs, as long as you already have a Traefik 3 instance with a websecure entrypoint and a letsencrypt resolver on an external proxy network. If you don't, follow my Traefik 3 and Docker Compose reverse proxy guide first. It takes about ten minutes.

One catch: large uploads such as PDFs and big images go through the web container. Traefik doesn't cap request body size by default, but if you've added a buffering middleware, raise its limit or uploads will fail with a bare 413.

Step 4: Start the stack and lock down sign-ups

The first account you create becomes the admin. After that, turn sign-ups off.

docker compose up -d
docker compose logs -f web   # wait for the server to report it's listening

Open https://bookmarks.example.com, sign up, then set DISABLE_SIGNUPS=true in .env and run docker compose up -d again. Do this immediately if the instance is reachable from the internet. An open sign-up page on a public hostname will attract bot accounts within days.

How do you configure AI tagging in Karakeep?

Set OPENAI_API_KEY for hosted tagging, or OLLAMA_BASE_URL plus model names for local tagging. Then raise the context length and job timeout, because the defaults are too low for most local models.

Here's the OpenAI version. It's cheap, since tagging a typical article costs a fraction of a cent on a mini model:

OPENAI_API_KEY=sk-...
INFERENCE_TEXT_MODEL=gpt-4.1-mini
INFERENCE_IMAGE_MODEL=gpt-4.1-mini

Here's the Ollama version. If you're already running the stack from my Ollama and Open-WebUI homelab guide, point Karakeep at it:

OLLAMA_BASE_URL=http://ollama:11434
INFERENCE_TEXT_MODEL=qwen2.5:7b
INFERENCE_IMAGE_MODEL=llava:7b
INFERENCE_CONTEXT_LENGTH=8192
INFERENCE_JOB_TIMEOUT_SEC=180
OLLAMA_KEEP_ALIVE=10m

What are the AI tagging quirks nobody warns you about?

There are three: truncated context, timeouts, and too many near-duplicate tags. The first two are fixed with environment variables. The third needs a custom prompt.

  • Truncated context: INFERENCE_CONTEXT_LENGTH defaults to a small value, so long articles get cut down to their intro before tagging. Tags end up describing the cookie banner and the first paragraph. Raise the value, but keep it within what your model and VRAM can handle.
  • Timeouts: the default job timeout is fine for OpenAI and nowhere near enough for a 7B model on CPU, especially when it's a cold load. Jobs fail quietly and the bookmarks just end up without tags. Check docker compose logs web | grep -i inference. Then retry failed jobs from the admin panel, which has a bulk re-run for inference.
  • Tag sprawl: leave the default prompt alone and within a month you'll have javascript, JavaScript, js and web-development as separate tags. The docs don't make enough of this. Go to Settings, then AI Settings, and add custom prompt rules such as "Use only lowercase single-word tags" and "Prefer tags from this list: frontend, homelab, docker, ai, security, design". This made the biggest difference to my tags of any change I tried.

Small local models also sometimes return malformed JSON. If Ollama tagging fails while the same bookmark tags fine on OpenAI, try a model with stronger instruction-following before you start blaming your config.

bookmark tags dashboard
bookmark tags dashboard

Step 5: Set up the browser extension and an iOS Shortcut

Install the Karakeep extension for Chrome or Firefox, then enter your server URL and sign in. Use the bare origin (https://bookmarks.example.com) with no trailing path. A trailing slash or a path suffix causes requests to fail without any error message.

On iOS, the native app's share sheet works. I use a Shortcut because it's faster and doesn't depend on the app staying logged in. In Karakeep, go to Settings, then API Keys, and generate a key. Then build a Shortcut that accepts URLs from the share sheet and runs Get Contents of URL with this request:

POST https://bookmarks.example.com/api/v1/bookmarks
Headers:
  Authorization: Bearer YOUR_API_KEY
  Content-Type: application/json
Body (JSON):
  { "type": "link", "url": "[Shortcut Input]" }

Test the same request from your laptop first:

curl -X POST https://bookmarks.example.com/api/v1/bookmarks \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"type":"link","url":"https://example.com"}'

If you'd rather not expose Karakeep publicly, keep it on your tailnet with Tailscale. The free tier covers this, and both the Shortcut and the extension work over MagicDNS.

What hardware does Karakeep need?

Plan for about 1–1.5 GB of RAM with the Chrome worker running. Chrome uses the most memory, especially when it captures full-page screenshots. Any recent mini-PC or NAS can handle it.

I run it on a Beelink N100 box with plenty of headroom. A Synology NAS with a 4 GB+ RAM upgrade also works fine. Back up ./data off-site: that's your archive. Point Restic at a Hetzner Storage Box, which is the cheapest reliable off-site storage I've found. Don't bother backing up ./meili, since you can rebuild it.

Verdict: is self-hosted Karakeep worth it?

Yes, if you already run Docker and a reverse proxy. Setup takes about 30 minutes, and then another evening tuning the AI tagging. After that it's better than Raindrop at the job I actually need: finding a page I saved eight months ago. Pin Meilisearch, raise the inference context and timeout on day one, and write a tag whitelist prompt before tag sprawl sets in.

FAQs

Is Karakeep the same as Hoarder?

Yes. Hoarder was renamed Karakeep in 2025 and the code is the same project. New images are published under ghcr.io/karakeep-app/karakeep, so update the image name in old Hoarder compose files. Your existing /data volume carries over.

Can Karakeep run without AI or an OpenAI key?

Yes. If neither OPENAI_API_KEY nor OLLAMA_BASE_URL is set, Karakeep still crawls, archives and indexes everything for full-text search. You lose automatic tags and summaries, and you tag bookmarks by hand.

Can I import my Raindrop bookmarks into Karakeep?

Yes. Export from Raindrop as CSV or HTML, then use the import option in Karakeep's settings. Every imported link is queued for crawling and tagging, so a large import will keep Chrome and your LLM busy for hours. Do it overnight.

Why is Karakeep search returning nothing?

Usually MEILI_MASTER_KEY is missing or different between the web and Meilisearch containers, or the index is empty after a Meilisearch upgrade. Check that both containers read the same .env, then trigger a re-index from the admin panel.

Does Karakeep work with Ollama on a CPU-only server?

Yes, but slowly. Use a 3B–7B model, set INFERENCE_JOB_TIMEOUT_SEC to 180 or higher, and expect tagging to take minutes per bookmark rather than seconds. That's fine, because tagging runs in the background.

H
Hiten

Senior frontend engineer and architect: 17 years shipping complex web platforms, plus Android and iOS apps for clients. More at hiten.dev