I often want to copy pasta just a link or just a photo to my phone from a linux machine, and some of the other methods either do too much stuff or I'm otherwise unaware of them. This is a very simple text and image copy and pasting on a self hosted website using rust actix and some javascript. Not secure to internet (I use behind a vpn to quickly copy stuff) but eh what's the worst that could happen.
Either make a .env file or set the IP_ADDRESS environment variable manually with the address you want to send to clients to fetch and post to. The port will automatically be set to 3790. Then just run cargo to spin up the server.
IP_ADDRESS=127.0.0.1
cargo runNote that for images you have to reload the page to see the image on the browser you uploaded from.