# zicula-docs-portal-kit — free sample

Three real files from the full kit (16 files), each **trimmed to taste** — enough to
judge the quality, not enough to skip buying:

- `SETUP-excerpt.md` — the first three steps of the deploy walkthrough, complete and
  runnable as written: Cloudflare login, D1 database creation, schema apply, and the
  sanity check. The full `SETUP.md` continues from there with the admin secret, the
  worker deploy, hosting the portal on Pages, wiring your payment link, and the
  one-fetch snippet that protects your actual API — plus a troubleshooting table.
- `worker-validate-excerpt.mjs` — the heart of the product: the plan table and the
  complete `POST /v1/validate` handler (hash lookup, revoked check, prepaid-quota
  gate, per-day metering), exactly as it ships. The other half of the worker — key
  issuing, the admin routes, usage stats, the D1 helpers and the welcome page —
  stays in the full `worker.mjs`, so this excerpt alone does not deploy.
- `PLAYBOOK-14D-days-1-4.md` — Days 1–4 of the 14-day sales plan (deploy + first
  key, then the proof assets), with the standing stop condition. Days 5–14 — first
  20 humans, conversion, and the numbers-based keep/stop decision table — are
  summarized at the end so you know what the full playbook adds.

What the full kit adds (the other 13 files):

- `worker/worker.mjs` — the whole zero-dependency Worker: issue keys (SHA-256
  hashed, plain key shown once), validate + meter, prepaid credits, revoke, top-up,
  fail-closed admin — plus `schema.sql` and `wrangler.jsonc` with `YOUR_*` placeholders
- `portal/index.html` — the customer-facing docs portal: quickstart, endpoint
  reference, error-code table, changelog, pricing with your payment link
- `portal/admin.html` — the owner-only dashboard: create keys, watch usage bars,
  revoke, top-up (admin token never leaves your browser)
- `CUSTOMIZE.md` — rebrand the portal, wire payment links, changelog format
- `PLAYBOOK-14D.md` — the full 14-day plan with gates and the stop condition
- `MANIFEST.md` — the file map plus an endpoint cheat sheet
- `screenshots/` — five rendered views of the real files: setup guide, manifest,
  validate handler, portal pricing, playbook
- `LICENSE.txt` — single-seller commercial license, and the full `README-buyer.md`

One-time purchase $42 · free updates for v1.x · 30-day full refund.
