That's pretty much what Bitcoin was based off - spam prevention technology (HashCash).
Showerthoughts
A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. The most popular seem to be lighthearted clever little truths, hidden in daily life.
Here are some examples to inspire your own showerthoughts:
- Both “200” and “160” are 2 minutes in microwave math
- When you’re a kid, you don’t realize you’re also watching your mom and dad grow up.
- More dreams have been destroyed by alarm clocks than anything else
Rules
- All posts must be showerthoughts
- The entire showerthought must be in the title
- No politics
- If your topic is in a grey area, please phrase it to emphasize the fascinating aspects, not the dramatic aspects. You can do this by avoiding overly politicized terms such as "capitalism" and "communism". If you must make comparisons, you can say something is different without saying something is better/worse.
- A good place for politics is c/politicaldiscussion
- Posts must be original/unique
- Adhere to Lemmy's Code of Conduct and the TOS
If you made it this far, showerthoughts is accepting new mods. This community is generally tame so its not a lot of work, but having a few more mods would help reports get addressed a little sooner.
Whats it like to be a mod? Reports just show up as messages in your Lemmy inbox, and if a different mod has already addressed the report, the message goes away and you never worry about it.
Hmm, how would you convince the crawler to run your code on its home system, rather than just scraping data?
Isn't that what Anubis was doing? Making it run code so it wasn't worthwhile, but people adjusted AI crawlers to run code?
"Proof of work". The AI crawlers don't run Javascript (yet, I don't think), so it's basically a firewall to them.
I'm fairly sure Anubis was made because some crawlers did run JavaScript
Some can from what i understood
And not only JS but other code too like SQL
I remember the somewhat recent case where someone vibecoded something and the AI viped the database
That's a local AI agent not an online crawler
There's a functional difference between forcing a crawler to interact with code on your server that wastes its time, and getting it to download your code and run it on its own server - the issue being where the actual CPU/GPU/APU cycles happen. If they happen on your server then it's not benefiting you at all, it's costing you the same amount as just running the cryptominer directly would.
Any halfway intelligent administrator would never allow an automated routine to download and run arbitrary code on their own system, it would be a massive security risk.
My understanding of Anubis is that it just leads the crawler into a never-ending cycle of URLs that just lead to more URLs while containing no information of any value. The code that does this is still installed and running on your server, and is just serving bogus links to the crawler.
My understanding of Anubis is that it just leads the crawler into a never-ending cycle of URLs
That's not how Anubis works. You're likely thinking of Nepenthes
"would never allow an automated routine to download arbitraru code" javascript and wasm being the leading tech to do exactly this. Make those essential for loading content and bypassing it would have to be bespoke solutions depending on the framework and implementations.
Maybe design kind of a captcha task for them?
Apparently I have no idea what a vegetable is
I think Neal has no idea
Yeah, I quit the stupid game when I correctly selected all the vegetables and it told me I was wrong
If you selected tomatoes, that is a fruit.
I am aware
If you install a captcha as part of your web server, that code is running on your server.
The crawler interacting with the captcha on your server will not result in cryptominer code running on its server.
Something on the crawler's server would need to accept a download of the cryptominer code and then run that code.
True, but it's more about solving the captcha as in finding its solution. However, there is no solution, but only a never ending task of calculation (the mining, which the crawler but will need to do). Of course this is highly hypothetical as I do not know anything about cryptomining (and I also don't want to know more about it).
Without getting into the technical details, the main cost offset of running a cryptominer is the electricity used. If the crawler performs cryptominer calculations on your server it will be of no benefit to you, because you will still have to pay the electricity bill, and really it's not the crawler doing the calculations, it's your own server hardware.
If it's keeping the crawlers at bay at the same time, though, couldn't the differential brought in by the mining represent a cost savings? This question is breaking my brain, maybe I'm not thinking about it properly.
This seems at first glance at least potentially doable.
Create a website with content that's only rendered with JavaScript and embed a miner.
Your challenge is to get the work product back, but you might be able to create dynamically generated URLs that show up in your logs as the work result.
You'd have to find a way to chunk the work and make it such that the work required is enough to be valuable to you, but not so costly as to stop the crawlers from using your site.
I suspect that in order for this to actually happen you'd have to have a significant infrastructure to deal with the crawler load, which you could instead be using to do the actual work.
Ultimately I suspect that this is the software equivalent of a perpetual motion machine, cute in theory, physically impossible.
Good luck!