Crates.io | actix_block_ai_crawling |
lib.rs | actix_block_ai_crawling |
version | 0.2.8 |
source | src |
created_at | 2023-10-30 22:09:54.077785 |
updated_at | 2023-11-10 11:11:32.321014 |
description | Actix Middleware that blocks Generative AI crawlers |
homepage | |
repository | |
max_upload_size | |
id | 1019102 |
size | 8,676 |
Crates link: https://crates.io/crates/actix_block_ai_crawling Docs link: https://docs.rs/actix_block_ai_crawling/latest/actix_block_ai_crawling/
This blocks any HTTP requests coming from a Generative AI crawler. It works by blocking matching User Agents including ChatGPT from OpenAI, Bard from Google, and the CC crawler dataset. It also blocks OpenAI's IP addresses.
It's extremely simple to use. Just add .wrap(actix_block_ai_crawling::BlockAi);
to your app.
let app = App::new()
.wrap(actix_block_ai_crawling::BlockAi);
Pull requests are welcome! Please hand-write your code. AI written code is not welcome.