(က) Polpetta, any folder is served spiced
The quick version is: have you ever thought about using node.js  to make any folder as a web-server  and in a PHPish  way where .njs  files are required and executed runtime as node modules  ? Oh well, I did, and this is the result in Github: polpetta  ... enjoy!