They are called scripts. Basic python or rust scripts. https://youtu.be/MJ0OzrkHvXA 28:11 in this video is relevant to what I was talking about.
Discussion
Is it possible to build a simple website with a single text input and a submission button where users can “guess” the nonce and on the back end it attempts to formally mine the block with that entry?
Obviously the probably of mining a block through this method is infinitesimal, but may be a useful tool for people to understand what mining is
Maybe even add a “I’m feeling lucky” button like Google where it randomly generates the “guess” so people can mine bitcoin through a website with a single click of a button
It is technically possible but the backend would have to load the coinbase reward address from somewhere. So, random visitors would only help the chance of the site runner. You'd need to dox a valid address for yourself, enter a nonce, and have autofill scripts for the block header but "Technically" possible.