About This Site

This is a static testbed for the embedded comments product. It exists to exercise the embed script across different page types — blog posts, docs, changelogs, and informational pages — so that integration behaviour can be verified before shipping to real customers.

How It Works

Every page on this site includes the same embed snippet at the bottom of the body. The data-site attribute identifies the site, and data-api-base points at the API worker (localhost for local dev, or your staging/production URL once deployed).

Deploying

Push the testbed/ folder to a Netlify site. There is no build step — just static HTML and CSS. The netlify.toml config sets the publish directory to . and redirects unknown paths to 404.html.

Customising

To point the embed at a real environment:

  1. Replace SITE_PUBLIC_KEY with the key from the admin dashboard.
  2. Update data-api-base to your production API URL (or remove it entirely to use the default CDN origin).
  3. Commit and push — Netlify will redeploy automatically.

Comments