https://crossly-dev.github.io/crossly-playground/
Small browser tools for building on the Crossly API. A static page with no backend: everything runs in your browser, and nothing you paste is sent anywhere, stored, or logged. The only request the page makes on its own is for Crossly's public recipe schema.
| Tool | What it does |
|---|---|
| Verify a webhook | Paste the raw body, the Crossly-Signature header and your signing secret. You get the verdict and why: tampered or re-serialised body, wrong secret, uppercase hex, truncated digest, stale or future timestamp, malformed header. Same checks, same order and same reason codes as @crossly/sdk's verifyWebhook: HMAC-SHA256 over t.rawBody, constant-time compare, then the 300 s tolerance. |
| Sign a webhook | Produce a Crossly-Signature for any body and secret, plus a curl command to fire it at your local receiver. |
| Inspect a token | Identifies a credential by its shape (crossly_pat_live_…, crossly_pk_…, crossly_ek_…, an OAuth JWT, older crossly_oat_/crossly_ort_ formats, a webhook secret) and says where it may be used: seller or buyer API, live or sandbox, server only or safe in a web page. JWTs are decoded locally; the signature is not verified, and the inspector cannot tell whether a token is still valid. |
| Validate a recipe | Checks an automation recipe or a { schemaVersion, recipes: [...] } bundle against automation-recipe-v1.json, with JSON Pointer paths and "did you mean" suggestions. |
| OAuth + PKCE | Builds the authorization-code request for Crossly's authorization server, https://crossly.net/atlas: code_verifier, S256 code_challenge, state, the authorize URL with resource and openid, and the token exchange as curl. |
The page loads plain ES modules from js/, and the tests import those same files: there is no separate copy for CI.
test/webhook.test.mjsruns the shared webhook conformance vectors (test/webhook-vectors.json, 22 cases, 13 of which must be rejected) throughjs/webhook.js.test/recipe.test.mjsgenerates a valid instance and a set of mutations for every trigger, condition and action in the schema and fails if the page's validator and Ajv (draft 2020-12) disagree on any of them, then does the same for every recipe in crossly-dev/crossly-recipes.test/pkce.test.mjschecks the challenge against Node's own SHA-256 and the endpoints and scopes against the live discovery document.test/page.test.mjschecks the page wiring, the Content-Security-Policy (no inline script, network limited to the page itself and crossly.net) and that the onlyfetchcalls are for the schema.e2e/smoke.mjsdrives every tool in Chromium at phone and desktop width, light and dark, and runs axe accessibility checks.
CI also runs weekly, so a change to the live schema, discovery document or scopes shows up as a failing build.
Any static file server works; ES modules need http, not file://:
git clone https://github.com/crossly-dev/crossly-playground
cd crossly-playground
python3 -m http.server 8080 # then open http://localhost:8080
npm install && npm test # unit tests; ONLINE=1 npm test adds the live drift checksEvery release also ships the built site as a zip with build provenance:
gh attestation verify crossly-playground-site-v0.1.0.zip -R crossly-dev/crossly-playground- crossly-skills: Claude Code plugin with Crossly skills and the MCP server
- crossly-ai-rules: rules for Cursor, Copilot, Windsurf, Cline, Gemini, Zed, Aider and
AGENTS.md - crossly-vscode: recipe schema, snippets and validation in VS Code
- Docs: webhooks, authentication, scopes