clone

push a directory of html from the terminal and get a four-character url back. a deno cli on cloudflare

feat: rate-limit address enumeration and password unlock

Dami committed bb395f8
Adds two Workers rate-limit bindings keyed on client IP:
- RL_ENUM (30/min) on bare /{4hex} hits to throttle address scanning
- RL_UNLOCK (5/min per IP+address) on /__unlock to throttle password guessing
Asset subpaths are left unthrottled; over-limit returns 429 + Retry-After.
commit
bb395f860b32fc4beaec085a9d933926ea9946e2
parent
d9e60d5b8e20dc2dca6381ea013c4358d0c02f3c
author
Dami <dami.etoile@gmail.com>
4 files changed, +33 -0
Mworker/src/env.ts4++++
Mworker/src/index.ts21+++++++++++++++++++++
Mworker/wrangler.jsonc4++++
Mworker/wrangler.local.example.jsonc4++++
M worker/src/env.ts +4 -0
M worker/src/index.ts +21 -0
M worker/wrangler.jsonc +4 -0
M worker/wrangler.local.example.jsonc +4 -0