Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

258 B
Raw Blame
import posthog from 'posthog-js';

const key = process.env.NEXT_PUBLIC_POSTHOG_KEY;

if (key) {
  posthog.init(key, {
    api_host: '/ingest',
    ui_host: process.env.NEXT_PUBLIC_POSTHOG_HOST ?? 'https://us.posthog.com',
    defaults: '2026-05-30',
  });
}