selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

chroma logo

Self-host chroma

1.5.9

Open-source vector and full-text search database for AI

ReleaseOpen SourceApache-2.0
Updated4 months ago
LanguageRust
Setup difficultyEasy
Stars
29 658
Port
8000 (HTTP port for the frontend server (REST API))
Docker
chromadb/chroma
Install with Docker

What is chroma?

Should you self-host chroma?

chroma scores 78/100 on selfhost.directory (how scoring works) and ranks #2 of 5 in Vector Database. It has 29 658 GitHub stars, +209 in the last 30 days.

It shipped 7 stable releases in the past year. The latest, latest, came out on 24 June 2026. New versions land roughly every 5 days.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Rust.

Its closest alternative on selfhost.directory is qdrant (82/100, 35 478 stars). It scores higher overall, so compare the two before you pick. See chroma vs qdrant side by side.

Features

  • Automatic embedding and indexing
  • CLI
  • Client-server mode
  • Data Persistence
  • Embedded in-memory and persistent mode
  • Full-text and regex search
  • HTTP API
  • Hybrid Search
  • Metadata Filtering
  • Multimodal retrieval
  • OpenTelemetry tracing
  • Pluggable embedding models
  • Vector Similarity Search

chroma README

Chroma Chroma

Chroma - the open-source data infrastructure for AI.

Discord | License | Docs | Homepage

pip install chromadb # python client
# for javascript, npm install chromadb!
# for client-server mode, chroma run --path /chroma_db_path

How to install chroma

Install chroma with Docker

Environment variables
CHROMA_PORT, CHROMA_LISTEN_ADDRESS, CHROMA_PERSIST_PATH, CHROMA_OPEN_TELEMETRY__ENDPOINT

docker run -v ./chroma-data:/data -p 8000:8000 chromadb/chroma

Images are published on Docker Hub and ghcr.io; a custom YAML config can be mounted at /config.yaml.

How to configure chroma

  • OTEL_EXPORTER_OTLP_HEADERSCommonly used for auth headers when sending traces.OTLP exporter headers
  • CHROMA_SQLITEDB__MIGRATION_MODEapplySQLite migration mode

    values: apply, validate

  • CHROMA_SQLITEDB__HASH_TYPEmd5SQLite migration hash algorithm

    values: md5, sha256

  • CHROMA_OPEN_TELEMETRY__ENDPOINTOpenTelemetry OTLP endpoint the server sends traces to
  • CHROMA_OPEN_TELEMETRY__SERVICE_NAMEchromadbOpenTelemetry service name

chroma releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Vector Database

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…