npm -g install nativefier

 nativefier --name "paper-wallet" "http://127.0.0.1" --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" --platform "linux" --internal-urls ".*?\paper-wallet\.*?"

see release for binaries

this is the raw html code for 127.0.0.1