A random shitty paste service. The plan is to not use dependencies because that's more !fun.
PASTERS_ROOT=/tmp PASTERS_WEB=127.0.0.1:8080 PASTERS_LISTEN=127.0.0.2 PASTERS_PORT=9999 cargo r --release
When you are proxing the web server, consider manually setting
the IP/hostname in
templates/config. (You also need to edit
src/web.rs, l. 61-64 then.)
Disclaimer: This is one of the most cursed projects I have ever wrote probably.