A few days ago I built an HTTP server from scratch in Go to see what's under the hood. Also built a personal mobile app.
Today I took it somewhere weirder: a #php HTTP server running inside an #android app, the phone itself serving the LAN. 1 GB to disk at a speed of about 23 MB/s, MD5 verified
No Kotlin, no WebView, just stream_socket_server in an AsyncTask on #nativephp. Still processing that this works 🤯
Compiled the APK in Docker too, no Android Studio, no SDK.
Recipe borrowed from the nativephp-build-action by @MrPunyapal
It's basically an AirDrop where the phone is the server and the client is just a browser. The photos? Transferred from another phone so the spike is a success 🚀
commit fed4501