I discovered that Python's handy http.server module supports CGI scripts (say what?!), so I made a little local-network file uploader utility : r/ Python
Python CGI Chronicles: Mastering Web Interactivity | by Nikhil Wani | Medium
Running a Simple CGI Web Server
Introduction to server-side Python
Python CGI Programming for Web Development - TechVidvan
Python - CGI Programming
Python cgi script not executing when using http.server · Issue #1606 · termux/termux-app · GitHub