Repository navigation
feat: add Anubis LXC script - #2302
Open
opastorello wants to merge 2 commits into
Open
opastorello wants to merge 2 commits into
opastorello wants to merge 2 commits into
Conversation
Contributor
Try this script
COMMUNITY_SCRIPTS_URL=https://raw.githubusercontent.com/opastorello/ProxmoxVED/add-anubis \
bash -c "$(curl -fsSL https://raw.githubusercontent.com/opastorello/ProxmoxVED/add-anubis/ct/anubis.sh)"
Against a core branch as wellAdd Useful flags while testing
|
CrazyWolf13
reviewed
Sep 19, 2026
opastorello
force-pushed
the
add-anubis
branch
from
September 19, 2026 20:35
3127d3c to
54d2c44
Compare
CrazyWolf13
approved these changes
Sep 23, 2026
Anubis is a proof-of-work reverse proxy that shields a web service from AI scrapers and abusive bots. Installed from the upstream .deb (binary, ships its own anubis@ unit); the instance config lives in /etc/anubis/main.env because the package's default.env is not a conffile and gets overwritten on upgrade.
Review question: one Anubis instance fronts a single TARGET. Document the two ways around that (extra anubis@<name> instances, or a Host-routing proxy as TARGET).
opastorello
force-pushed
the
add-anubis
branch
from
October 4, 2026 05:11
54d2c44 to
8445254
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✍️ Description
Anubis (TecharoHQ) — a reverse proxy that sits in front of a web service and stops AI scrapers and abusive bots with a proof-of-work challenge, letting real browsers and well-behaved clients through. Requested in community-scripts/ProxmoxVE#16497.
.debviafetch_and_deploy_gh_release … "binary"(amd64/arm64 assets exist). The package ships/usr/bin/anubis, theanubis@.servicetemplate unit (DynamicUser, works in an unprivileged CT) and the docs/policy files, so no hand-written unit./etc/anubis/main.env+/etc/anubis/main.botPolicies.yaml(copy of the upstream default), serviceanubis@main. The package's own/etc/anubis/default.envis not a conffile and gets overwritten on every upgrade — that's why the user-facing file has its own name.var_anubis_target(app_var) setsTARGETup front; defaults to upstream'shttp://localhost:3000and is editable afterwards.COOKIE_SECURE=false(withtrue, the challenge cookie is dropped onhttp://<ip>and the page loops) andUSE_REMOTE_ADDRESS=true(client IP from the socket). The JSON note tells the user what to flip once a TLS proxy sits in front.ED25519_PRIVATE_KEY_HEX, 64 hex) so passes survive restarts.AI Agent: Claude Code (Fable 5.1), high reasoning. Everything below was run and read by me.
🔗 Related PR / Issue
Link: community-scripts/ProxmoxVE#16497
✅ Prerequisites
🏗️ arm64 Support
Upstream publishes
anubis_<ver>_arm64.deband binary mode picks it by architecture, but I only have an amd64 host —var_arm64left unset,architecturesomitted, per AGENTS.md.🛠️ Type of Change
README,AppName.md,CONTRIBUTING.md, or other docs.🔍 Code & Security Review
CODE-AUDIT.md&CONTRIBUTING.mdguidelinesAppName.sh,AppName-install.sh,AppName.json)fetch_and_deploy_gh_releaseinstead ofgit pull.🤖 AI Assistance
AGENTS.mdand.github/agents/pve-script-creator.agent.mdas guidance, and the output has been reviewed and corrected to match those guidelines.📋 Additional Information
Test log (Proxmox VE 9.x, amd64, Debian 13, storage
local):COMMUNITY_SCRIPTS_URL=…/add-anubis):Deployed: anubis (1.27.0),anubis@mainactive withDynamicUser=yes, listening on 8923 and 9090.localhost:3000./metricson 9090 → 200.updatewith the version unchanged → "No update available". Forced update (version marker removed) →.debre-deployed, service stop/start,/etc/anubis/main.envuntouched, challenge still served afterwards.updaterun from inside the branch-installed container → works.main.envis intentionally minimal; the full variable list is in the package docs (/usr/share/doc/anubis/docs/admin/installation.mdx). Startup logs two upstream WARNs about Thoth-only checks in the default policy — that's the stock upstream policy file, not something this script adds.📦 Application Requirements (for new scripts)
🌐 Source
🤖 Generated with Claude Code