Not released yet. PeltyCMS is under development and not released yet; these docs describe the upcoming release and may change.
PeltyCMS Developer docs
User docsDevelopers
v0.1.0

Developer docs/Bundled addons

Cloudflare Turnstile

Cloudflare Turnstile captcha.

FieldValue
Addon idcaptcha-turnstile
Kindcaptcha
Providesturnstile
Enginewasm
ABI0.2.0
Version0.1.0
AuthorMythicalSystems
Sourceextensions/addons/captcha-turnstile
Permissions (shown at install)network.outbound

#Capabilities

CapabilityValue
httpchallenges.cloudflare.com, $setting:verify_url
secretsnone

#Events and hooks

WhatValue
Listens to (events)none
Hooksnone
Emitsnone
Mixinsnone
Scheduled jobsnone

#Settings and secrets

SettingTypeRequired
site_keytextno
secret_keysecretno
verify_urltextno

Secrets (stored encrypted, never returned by the API): none.

Outbound HTTP allowed to: challenges.cloudflare.com, $setting:verify_url. $server is the hostname of the server configured for the product, $setting:<key> the host of that setting.

#addon.json

extensions/addons/captcha-turnstile/addon.jsonJSON
{
  "abi": "0.2.0",
  "author": "MythicalSystems",
  "capabilities": {
    "http": [
      "challenges.cloudflare.com",
      "$setting:verify_url"
    ],
    "secrets": []
  },
  "description": "addons.desc.captcha.turnstile",
  "engine": "wasm",
  "id": "captcha-turnstile",
  "kind": "captcha",
  "name": "Cloudflare Turnstile",
  "permissions": [
    "network.outbound"
  ],
  "provides": "turnstile",
  "settings": [
    {
      "default": "",
      "key": "site_key",
      "kind": "text",
      "label": "addons.captcha.setting.site_key",
      "required": false
    },
    {
      "default": "",
      "key": "secret_key",
      "kind": "secret",
      "label": "addons.captcha.setting.secret_key",
      "required": false
    },
    {
      "default": "",
      "key": "verify_url",
      "kind": "text",
      "label": "addons.captcha.setting.verify_url",
      "required": false
    }
  ],
  "version": "0.1.0",
  "wasm": "addon.wasm"
}