Skip to main content
On this page

Install Semanto on Netlify

View as Markdown

An edge function answers agents with your signed copy and hands every other request to your site.

Steps

  1. Download the package below and unzip it.
  2. Copy netlify/edge-functions/semanto.ts into your site's netlify/edge-functions folder and the shared folder to the root of your repository.
  3. Add the edge_functions block from netlify.toml to your own netlify.toml.
  4. Set TROOTH_ID to your Trooth ID in your site's environment variables, then deploy.
  5. Press Check my site in the dashboard.

Download

Download the Netlify package (zip, 19 KB). It holds the files the steps name.

Check it works

From any terminal. The answer should be markdown with Signature and Trooth-Semanto-Version headers.

curl -s -H "Accept: text/markdown" https://example.com/ | head

If Trooth is slow or down, your site keeps answering: what the adapter does.

All install guides

Was this page helpful?

View as agent