Open source tool for running an onion site with DDoS and bot protection that works with JavaScript off

Anyone who has run an onion site knows the problem: once it gets any traffic, bots and floods show up, and the usual protections don’t work here. Cloudflare-style tools rely on seeing the visitor’s IP, country and browser fingerprint, and on JavaScript running. An onion service gets none of that, and a lot of visitors have Tor Browser set to Safest. I’ve been building onyums to deal with this. It’s a Rust library for hosting an onion site, with Tor (Arti) built in, so there’s no separate tor process or torrc to set up. The protection layer, onyums-skin, works like this: Visitors with JavaScript on get a small proof-of-work puzzle that their browser solves in the background Visitors with
…