Skip to content
All components

plan-runner

An agent's plan with progress and a stop button.

Sign in to copy the code

Add rate limiting to invites

  1. runningRead invite formread0.0s

    src/worker.ts, 142 lines

  2. pendingFind submit handlergrep

    handleInvite in src/lib/invites.ts

  3. pendingAdd rate_limits tableD1

    CREATE TABLE rate_limits (ip, hits)

  4. pendingLimit invites per IPedit

    src/lib/invites.ts +24 -3

  5. pendingRun testsbash

    pnpm test, 12 files

  6. pendingDeploy previewwrangler

    Cloudflare Workers, preview env

Step 1 of 6 · 0.0s · 0 calls

Needs React 19 and Tailwind 4.

The code is free for members.

Sign in with your email to copy the React and Tailwind source of every component.

Sign in to get the code