diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md index a16b703..639d097 100644 --- a/docs/docs/CHANGELOG.md +++ b/docs/docs/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Static asset builds are now done on demand instead of the results being committed to source control - The Dockerfile has been removed as it is no longer in use - Developer documentation has been added to the docs site +- Show more errors when some predictable challenge page errors happen ([#150](https://github.com/TecharoHQ/anubis/issues/150)) ## v1.15.0 diff --git a/package.json b/package.json index aeb2f2a..e13b3b3 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,9 @@ "main": "index.js", "scripts": { "test": "npm run assets && go test ./...", - "test:integration": "npm run assets && go test ./internal/test", - "assets": "./web/build.sh && ./xess/build.sh", - "dev": "npm run assets && go run ./cmd/anubis", + "test:integration": "npm run assets && go test -v ./internal/test", + "assets": "go generate ./... && ./web/build.sh && ./xess/build.sh", + "dev": "npm run assets && go run ./cmd/anubis --use-remote-address", "container": "npm run assets && go run ./cmd/containerbuild" }, "author": "", diff --git a/web/index.templ b/web/index.templ index ca6086c..8aa626c 100644 --- a/web/index.templ +++ b/web/index.templ @@ -128,6 +128,11 @@ templ base(title string, body templ.Component) { left: 12.28719px; } + .mx-auto { + margin-left: auto; + margin-right: auto; + } + @keyframes lds-roller { 0% { transform: rotate(0deg); @@ -176,7 +181,7 @@ templ index() { />
Loading...
-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.