I run Prestofiles , a small set of free image and PDF tools (compress an image to 50KB, make a passport size photo, merge PDFs, and so on). The site is plain Laravel + Bootstrap + vanilla JS, and one rule from day one was: files never leave the visitor's device . Every tool runs in the browser.
That rule got interesting when I wanted to add a background remover and a "change photo background to white or blue" option for passport photos. Most background removers send your photo to a server with a GPU. I wanted the same result on a cheap shared host, with zero uploads. Here is what worked, and what didn't.
1.…