Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

242 B
Raw Blame
import { MeiliSearch } from "meilisearch";

const apiKey = process.env.MEILI_MASTER_KEY;

export const meiliClient = apiKey
  ? new MeiliSearch({
      host: process.env.MEILI_HOST || "http://meilisearch:7700",
      apiKey,
    })
  : null;