Anubis
Weighs the soul of incoming HTTP requests to stop AI crawlers
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: We couldn't fetch the official website this time, so the following is written from what we already know, and only information we're confident about is included. For specific configuration options and the latest features, please refer to the official documentation.
Introduction
Anubis is developed by Techaro (Xe Iaso) and is used to protect websites from excessive scraping by AI companies' crawlers. Many AI crawlers ignore robots.txt and rotate through large numbers of IPs and User-Agents, placing a heavy load on the infrastructure of small sites and open-source projects (such as code hosting platforms, wikis, and forums). Anubis sits between the website and its users and requires the browser to complete a computational challenge before it can access the content. This significantly raises the cost of large-scale scraping, while regular users usually only have to wait a very short time.
How it works
- Runs as a reverse proxy, forwarding legitimate requests to the backend service.
- On the first visit, it serves a JavaScript challenge, and the browser must complete a SHA-256 proof-of-work computation.
- Once verification passes, a cookie is issued, so the visitor doesn't have to complete the challenge again for a period of time.
- Bot policy rules let you allow, block, or challenge requests based on conditions such as User-Agent and path. For example, you can allow search engine crawlers or RSS readers through and target only suspicious traffic.
Target users and use cases
- Open-source projects and organizations that self-host code hosting platforms such as Gitea, Forgejo, and GitLab
- Personal blogs, wikis, and documentation sites that are slowed down or even brought down by AI crawlers
- Site operators who want to reduce the bandwidth and compute costs caused by crawlers without depending on commercial CDN protection
Key strengths
- Open source and self-hostable, with no dependence on third-party cloud services
- Lightweight: written in Go, with low resource usage
- Flexible rules: challenge difficulty and bot policies can be adjusted
- Simple to deploy: can be placed between existing web servers such as Nginx or Caddy and your backend applications
Deployment
The project provides official container images, so you can deploy with Docker or Kubernetes, or run it as a standalone binary. The basic approach is:
- Have your front-end web server (such as Nginx) forward traffic to Anubis;
- In Anubis, specify the listen address and the backend address to protect via environment variables or a configuration file;
- Adjust the challenge difficulty and bot policy rules as needed.
Things to note
- Visitors' browsers must have JavaScript enabled to pass the challenge. Users who disable JavaScript and some privacy-focused browsing tools may be affected.
- The challenge adds latency to the first visit, which may be more noticeable on low-powered devices.
- If you don't want to affect SEO or feed-reading clients, make sure you configure your allow rules properly.
Discover more
Gophish
Powerful phishing framework that makes it easy to test your organization's exposure to phishing.
Infisical Community Edition
Infisical is the open-source platform for secrets, certificates, and privileged access management.
Upsnap
A simple Wake on LAN (WOL) dashboard app. Wake up devices on your network and see current status.
beelzebub
Honeypot framework designed to provide a highly secure environment for detecting and analyzing cyber attacks.
AlertHub
Get alerts from GitHub releases.
Cloudlog
Log your amateur radio contacts anywhere.