https://github.com/anantshri/script-collection/blob/master/http.ps1…

View original on X / Twitter →

https://github.com/anantshri/script-collection/blob/master/http.ps1 <- This script will start a basic http webserver listening on port 8000. It is #polyglot script that can execute in Windows/Linux/Mac via #powershell or in Linux/Windows/Mac via #bash/#zsh. Pull requests welcome if anyone wants to enhance/upgrade the code.