Konubinix' opinionated web of thoughts

Run Local Pwa on Android

Fleeting

using lighttpd

clk android adb install com.termux com.termux.boot com.termux.widget

in termux

apt update && apt install --yes socat

start termux and termux-boot at least once

in /data/data/com.termux/files/home/.termux/boot/forwarder.sh, put

#!/data/data/com.termux/files/usr/bin/sh
socat TCP-LISTEN:9999,fork,bind=localhost TCP:192.168.1.46:9999

replace 192.168.1.46:9999 by whatever is hosting the application

It did not work, and nothing was output anywhere to tell me what went wrong

At least I can add the widget and start it manually by putting the script in ./data/data/com.termux/files/home/shortcuts/tasks, that’s better than nothing