585
submitted 5 months ago by hylobates@jlai.lu to c/selfhosted@lemmy.world

I really hope they die soon, this is unbearable…

you are viewing a single comment's thread
view the rest of the comments
[-] punrca@piefed.world 27 points 5 months ago

It's best to use either Cloudflare (best IMO) or Anubis.

  1. If you don't want any AI bots, then you can setup Anubis (open source; requires JavaScript to be enabled by the end user): https://github.com/TecharoHQ/anubis

  2. Cloudflare automatically setups robots.txt file to block "AI crawlers" (but you can setup to allow "AI search" for better SEO). Eg: https://blog.cloudflare.com/control-content-use-for-ai-training/#putting-up-a-guardrail-with-cloudflares-managed-robots-txt

Cloudflare also has an option of "AI labyrinth" to serve maze of fake data to AI bots who don't respect robots.txt file.

[-] shane@feddit.nl 18 points 5 months ago

If you're relying on Cloudflare are you even self-hosting?

[-] CyberSeeker@discuss.tchncs.de 15 points 5 months ago* (last edited 5 months ago)

If you build a house, but hire a guard for the front gate, do you even own the house?!

[-] Impassionata@lemmy.world 10 points 5 months ago

If you use DNS at all, do you even own your street address!?!?

[-] sudoer777@lemmy.ml 9 points 5 months ago

Yes if it's tunneled to your self-hosting setup. With CGNAT you have to use similar services if you want to self-host.

[-] AHemlocksLie@lemmy.zip 17 points 5 months ago

Pretty sure I've repeatedly heard about the crawlers completely ignoring robots.txt, so does Cloudflare really do that much?

[-] Sv443@sh.itjust.works 9 points 5 months ago

Like a lock on a door, it stops the vast majority but can't do shit about the actual professional bad guys

[-] FreedomAdvocate@lemmy.net.au 2 points 5 months ago

Cloudflare definitely can and does stop the vast majority of actual professional bad guys.

[-] tomjuggler@lemmy.world 6 points 5 months ago

Yes, CloudFlare blocks agents completely if they ignore it's restrictions. The key is scale - CloudFlare has a birds eye view of traffic patterns across millions of sites and can do statistical analysis to determine who is a bot.

I hate the necessity but it works

this post was submitted on 13 Feb 2026
585 points (98.8% liked)

Selfhosted

60723 readers
174 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS