Skip to main content
On this page

Install Semanto on Cloudflare

View as Markdown

A Worker on your Cloudflare zone answers agents with your signed copy and passes every other request to your site.

Steps

  1. Download the package below and unzip it.
  2. Open cloudflare-worker/wrangler.toml and set TROOTH_ID to your Trooth ID, then set the route pattern to your domain followed by /*.
  3. In the cloudflare-worker folder, run npm install and then npx wrangler deploy.
  4. In the Trooth dashboard, open Put it on your site and press Check my site.

Download

Download the Cloudflare package (zip, 20 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/ | headcurl -sI https://example.com/.well-known/trooth.semanto | grep -i -E "signature|trooth"

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

All install guides

Was this page helpful?

View as agent