datasette-ip-rate-limit 0.1a0 — crawler rate-limiting plugin
Simon Willison released a configurable rate-limiting plugin for Datasette to block crawlers hammering specific routes. Built with Codex (GPT-3.5 with extended context), it's now live on datasette.io.
• Read client IP from Fly-Client-IP header (or custom header)
• Per-route rules: set window, request limit, and block duration
• Exempts paths like /static/* and /-/turnstile*
• Production example: 60 requests per 60 seconds on /global-power-plants/*