Back to articles
Technology Insight

Self-Hosting Hoarder on a VPS: The Ultimate AI-Powered Bookmarking and Knowledge Management Solution

May 30, 2026

Introduction: The Digital Overload Dilemma

In the modern professional landscape, we are constantly bombarded with information. From insightful industry reports and technical documentation to inspiring design assets and must-read articles, the sheer volume of digital content we encounter daily is overwhelming. Traditional bookmarking methods fail us; browser favorites folders become digital graveyards where links go to be forgotten, and manual tagging is a tedious chore that few have the discipline to maintain.

Enter Hoarder, a revolutionary open-source, self-hosted bookmarking application designed for the AI era. Hoarder doesn't just store your links; it reads them, understands them, and organizes them for you using local or cloud-based Artificial Intelligence. By self-hosting Hoarder on your own Virtual Private Server (VPS), you retain absolute control over your data while building a powerful, automated knowledge base. This comprehensive guide will walk you through the architecture, benefits, and step-by-step deployment of Hoarder on a VPS.

Why Hoarder? The Power of AI-Driven Categorization

Hoarder stands out in a crowded market of read-it-later applications due to its core philosophy: elimination of manual friction. When you save a link, an image, or a text note to Hoarder, the system kicks off a series of automated background processes:

  • Full-Text Crawling: Hoarder downloads the content of the page, making it fully searchable even if the original website goes offline.
  • AI-Powered Tagging: Utilizing Large Language Models (LLMs), Hoarder analyzes the text and automatically applies highly relevant tags.
  • Visual Previews: It captures clean screenshots and extracts open-graph images to give you a visually intuitive dashboard.
"The value of information multiplies when it is organized and retrievable. Hoarder transforms scattered links into a structured corporate asset."

Prerequisites for VPS Deployment

Before initiating the installation process, ensure your infrastructure meets the following baseline requirements to guarantee optimal performance, especially when running AI workloads:

  1. A VPS Instance: A minimum of 2 vCPUs and 4GB of RAM is highly recommended if you plan to run local AI models (like Ollama). For cloud-based AI (like OpenAI's API), 1 vCPU and 2GB of RAM will suffice.
  2. Operating System: Ubuntu 22.04 LTS or Ubuntu 24.04 LTS is preferred for maximum compatibility.
  3. Domain Name: A dedicated domain or subdomain (e.g., hoarder.yourcompany.com) configured with an A record pointing to your VPS IP.
  4. Docker Ecosystem: Docker and Docker Compose installed on your server.

Step-by-Step Installation Guide via Docker Compose

Using Docker Compose is the most efficient and maintainable way to deploy Hoarder. It encapsulates the frontend, backend, workers, and database into isolated containers that communicate securely.

Step 1: Preparing the Directory Structure

Connect to your VPS via SSH and create a dedicated directory for your Hoarder stack:

mkdir -p /opt/hoarder && cd /opt/hoarder

Step 2: Configuring the Environment Variables

Create a file named .env to store sensitive configurations, database credentials, and AI provider details. Below is an optimized configuration template:

# General Settings
HOARDER_VERSION=latest
NEXTAUTH_SECRET=super_secret_random_string_here
NEXTIMAGE_ALLOWED_DOMAINS=*

# Database Configuration
POSTGRES_PASSWORD=your_secure_postgres_password_here

# AI Enrichment Configuration (Example using OpenAI)
DATA_ENRICHMENT_STRATEGY=inference
INFERENCE_PROVIDER=openai
OPENAI_API_KEY=your_openai_api_key_here
# Alternatively, use Ollama for a fully self-hosted, private AI experience
# INFERENCE_PROVIDER=ollama
# OLLAMA_BASE_URL=http://ollama-service:11434

Step 3: Crafting the Docker Compose File

Create a docker-compose.yml file in the same directory. This file defines the microservices structure required by Hoarder:

version: '3.8'

services:
  web:
    image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION}
    restart: always
    ports:
      - "3000:3000"
    env_file:
      - .env
    environment:
      - TYPE=web
    depends_on:
      - db

  workers:
    image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION}
    restart: always
    env_file:
      - .env
    environment:
      - TYPE=worker
    depends_on:
      - db

  db:
    image: postgres:16-alpine
    restart: always
    volumes:
      - pgdata:/var/lib/postgresql/data
    environment:
      - POSTGRES_DB=hoarder
      - POSTGRES_USER=hoarder
      - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}

volumes:
  pgdata:

Step 4: Launching the Services

Execute the following command to download the images and start the containers in detached mode:

docker compose up -d

Verify that all containers are running successfully by checking the logs or running docker compose ps.

Securing Your Instance with a Reverse Proxy

To access Hoarder securely over the internet via HTTPS, you must configure a reverse proxy. Nginx Proxy Manager or Caddy are excellent, lightweight options for handling SSL termination automatically via Let's Encrypt.

For instance, a standard Caddy configuration block would look as simple as this:

hoarder.yourcompany.com {
    reverse_proxy localhost:3000
}

This ensures all traffic between your browser and the VPS is fully encrypted, safeguarding proprietary corporate knowledge or personal bookmarks from interceptors.

Advanced Configuration: Local AI vs. Cloud AI

One of Hoarder's greatest strengths is its flexibility regarding AI providers. Business users dealing with highly sensitive data can opt for a 100% private deployment by integrating Ollama locally on the VPS. By pulling a lightweight model like llama3 or mistral, your data never leaves your server.

Conversely, if your VPS lacks a dedicated GPU or high-end CPU capabilities, leveraging the OpenAI API costs fractions of a cent per bookmarked page and provides state-of-the-art tagging precision and conceptual understanding without putting a heavy load on your server resources.

Conclusion: Empowering Your Knowledge Workflow

By self-hosting Hoarder on a VPS, you successfully bridge the gap between chaotic content consumption and structured data utilization. You are no longer just 'hoarding' links; you are curated an active, AI-indexed knowledge repository tailored to your professional needs. The automated tagging ensures that months from now, finding that specific market analysis or code snippet requires a simple keyword search rather than an agonizing scroll through past chats or browser histories.

Take control of your digital asset management today, leverage the power of self-hosted open-source software, and let artificial intelligence handle the heavy lifting of organization.

Self-Hosting Hoarder on a VPS: The Ultimate AI-Powered Bookmarking and Knowledge Management Solution | DPTCloud