From e7b9b17b92b3a6a3122d9d54a9d317dd3720342c Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Fri, 21 Mar 2025 14:21:59 -0400 Subject: [PATCH] cmd/anubis: explain why users are seeing Anubis (#55) * cmd/anubis: explain why users are seeing Anubis Closes #25 Closes #38 Also includes the beginnings of a "user guides" section in the docs for user-facing documentation. * Update docs/docs/user/known-broken-extensions.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Xe Iaso * cmd/anubis: fix indentation in index.templ Signed-off-by: Xe Iaso --------- Signed-off-by: Xe Iaso Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- cmd/anubis/index.templ | 7 +++++++ cmd/anubis/index_templ.go | 6 +++--- docs/docs/CHANGELOG.md | 1 + docs/docs/user/_category_.json | 8 ++++++++ docs/docs/user/known-broken-extensions.md | 19 +++++++++++++++++++ docs/docs/user/why-see-challenge.md | 9 +++++++++ 6 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 docs/docs/user/_category_.json create mode 100644 docs/docs/user/known-broken-extensions.md create mode 100644 docs/docs/user/why-see-challenge.md diff --git a/cmd/anubis/index.templ b/cmd/anubis/index.templ index aaec7b6..28b7a51 100644 --- a/cmd/anubis/index.templ +++ b/cmd/anubis/index.templ @@ -186,6 +186,13 @@ templ index() {
+
+ Why am I seeing this? +

You are seeing this because the administrator of this website has set up Anubis to protect the server against the scourge of AI companies aggressively scraping websites. This can and does cause downtime for the websites, which makes their resources inaccessible for everyone.

+

Anubis is a compromise. Anubis uses a Proof-of-Work scheme in the vein of Hashcash, a proposed proof-of-work scheme for reducing email spam. The idea is that at individual scales the additional load is ignorable, but at mass scraper levels it adds up and makes scraping much more expensive.

+

Ultimately, this is a hack whose real purpose is to give a "good enough" placeholder solution so that more time can be spent on fingerprinting and identifying headless browsers (EG: via how they do font rendering) so that the challenge proof of work page doesn't need to be presented to users that are much more likely to be legitimate.

+

Please note that Anubis requires the use of modern JavaScript features that plugins like JShelter will disable. Please disable JShelter or other such plugins for this domain.

+