caelum0x 40f90f1c5a feat: webhook event log with resend, test events, secret rotation and auto-disable (G8)
Every seller webhook delivery now keeps an attempt log (status code,
error, time, next retry) in the worker queue (Postgres) or in memory.
New routes: GET /v1/webhooks/deliveries(/:id), POST
/v1/webhooks/events/:id/resend, POST /v1/webhooks/endpoints/:id/test
(signed webhook.test event), rotate-secret with a 0-168h grace window
(both secrets sign as two v1 values, verified by @settlekit/webhooks, the
TS/Python/Go/Rust SDKs and the WooCommerce plugin), and disable/enable.
The worker retries on a 1m..6h exponential schedule instead of every tick,
signs with the live endpoint secret, skips disabled endpoints and
auto-disables one after 100 failed attempts in a row
(WEBHOOK_DISABLE_AFTER_FAILURES). Outbound requests get a 10s timeout.
The dashboard Webhooks page shows the event log with Resend and endpoint
actions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 05:34:39 +03:00
..
2026-06-17 02:09:36 +03:00
2026-06-17 02:09:36 +03:00

SettleKit Marketing Site (@settlekit/web)

The public marketing site for SettleKit — the Commerce OS that lets developers sell private GitHub repos, SaaS subscriptions, API access, AI tools, templates, datasets, license keys, and digital downloads in USDC, with automatic access delivery.

Built with Next.js 14 (App Router), React 18, and TypeScript. Runs on dev port 3006. The site is fully static — it makes no API calls.

Pages

  • app/page.tsx — homepage: hero ("Sell your software in USDC"), trust strip, "what you can sell" grid, "how it works" steps, developer tools, marketplace teaser, and a closing CTA.
  • app/pricing/page.tsx — the five plans (Free, Creator, Pro, Business, Enterprise) with feature lists, per-plan transaction-fee rows, and the marketplace-fee note.
  • app/use-cases/page.tsx — the five killer use cases with target audience and promise for each.
  • app/not-found.tsx — branded 404.

Structure

  • app/layout.tsx — root layout with shared Nav and Footer, site metadata.
  • app/globals.css — single stylesheet. A clean, modern dark theme with a blue→violet accent gradient, card surfaces, and a responsive grid. No Tailwind.
  • components/ — Nav, Footer, Hero, FeatureGrid, Steps, PricingTable, MarketplaceTeaser, and CTA.
  • lib/content.ts — all marketing copy and structured data (sellable items, steps, developer tools, use cases, pricing tiers) sourced from the product plan (§2, §29, §32, §34).
  • lib/links.ts — cross-app URLs (dashboard, marketplace, docs) read from NEXT_PUBLIC_* env vars with local-dev defaults.

The site links out to the other SettleKit apps. Defaults target local dev ports; override in deployment via environment variables:

Variable Default Target
NEXT_PUBLIC_DASHBOARD_URL http://localhost:3001 Merchant dashboard
NEXT_PUBLIC_MARKETPLACE_URL http://localhost:3011 Marketplace app
NEXT_PUBLIC_DOCS_URL http://localhost:3000 Docs app

Commands

pnpm --filter @settlekit/web dev     # start dev server on :3006
pnpm --filter @settlekit/web build   # production build
pnpm --filter @settlekit/web start   # serve the production build on :3006
pnpm --filter @settlekit/web typecheck