Docs

Install on Next.js

One component in your root layout.

Use next/script so the widget loads after your page is interactive.

import Script from "next/script";

// inside <body>, after {children}:
<Script src="https://YOUR-BACKEND/octokan.js" data-app-id="app_xxxxxxxxxxxx" strategy="afterInteractive" />

Content-Security-Policy

If your app sets a CSP, allow the octokan backend host in both script-src and connect-src.

NextInstall on iOS→