forked from zesterer/babble
Junk food for your local LLM
Currently the robots.txt is set up to allow complete access by robots. This means that well meaning bots that actually respect a sites wishes with regards to crawling will be invited into the maze. I think it makes more sense to tell all robots to go away, and if the robot just blindly ignores this it will get lost in the babble tarpit. Given enough babble instances this means that over time bot creators will write LLM scraping bots that respect robots.txt so that they don't incur the cost to their compute, bandwidth, and ultimately the quality of their model. ``` To exclude all robots from the entire server User-agent: * Disallow: / To allow all robots complete access User-agent: * Disallow: ``` via https://www.robotstxt.org/robotstxt.html |
||
---|---|---|
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.md | ||
wap.txt |
Babble
Standalone LLM crawler tarpit binary. Generates an endless stream of deterministic bollocks to be ingested by bots, with plenty of links.
Why?
- Divert and slow down LLM crawler traffic, protecting your main site
- Potentially poison LLM training data (likely not very effective)
- Collective defence; the more time a scraper spends swallowing babble, the less time it'll spend bulling someone else's site
- Do your bit to protect the public commons from those who would readily see it destroyed for the sake of an investment round
Usage
--cert <path> | Path of `cert.pem` (for TLS)
--key <path> | Path of `key.pem` (for TLS)
--sock <address> | Bind to the given socket. Defaults to 0.0.0.0:3000.
Babble will search for a robots.txt
file in the working directory to use. If it does not find one, it will use a
default one that denies everything.
Babble will periodically emit statistics into stats.txt
, showing information about the worst-offending requesting
IPs.
Warning
Deploy it in a docker environment. It's probably safe, but no reason to take chances.
Usage terms
There are none, other than those implied by dependencies. Use it whenever and wherever you want, and in any way.
Attribution
Fuck you, Sam Altman.