datasette-ip-rate-limit 0.1a0
Заметка Simon Willison от 14 мая 2026 года о выпуске плагина datasette-ip-rate-limit 0.1a0. Сайт datasette.io страдал от агрессивных краулеров с плохим поведением, поэтому автор поручил Codex (GPT-5.5 xhigh) собрать настраиваемый плагин для ограничения частоты запросов, блокирующий IP-адреса, которые слишком быстро долбят определённые разделы сайта. В заметке приведена рабочая production-конфигурация для нового плагина: она использует заголовок Fly-Client-IP, исключает пути /static/* и /-/turnstile*, а для демо-баз данных задаёт окно в 60 секунд с лимитом 60 запросов и блокировкой на 20 секунд.
14th May 2026
The datasette.io site was being hammered by poorly-behaved crawlers, so I had Codex (GPT-5.5 xhigh) build a configurable rate limiting plugin to block IPs that were hammering specific areas of the site too quickly.
Here's the production configuration I'm using on that site for the new plugin:
datasette-ip-rate-limit: header: Fly-Client-IP max_keys: 10000 exempt_paths: - "/static/*" - "/-/turnstile*" rules: - name: demo-databases paths: - "/global-power-plants/*" - "/legislators/*" window_seconds: 60 max_requests: 60 block_seconds: 20
Recent articles
This is a beat by Simon Willison, posted on 14th May 2026.
Monthly briefing
Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.
Pay me to send you less!