News for hackers. Stuff that matters.
Re:Sherver: Bash lightweight web server by tjoff on Wednesday December 22, 2021 @12:13PM (#29652183)
I do.

Just as I would use this (would look into it more first though), the netcat trick mentioned here or python3 -m http.server over ever considering installing Ansible and/or nginx/apache.

Totally different use case though.

Re:Sherver: Bash lightweight web server by laumars on Wednesday December 22, 2021 @12:25PM (#29652351)
If I was rolling my own and concerned about polluting, I’d favour a language like Rust or Go because I then don’t need to install the Python runtime, have random undocumented dependencies for the bash etc.

Or I’d use Docker.

But as said before, there’s no wrong answer here since it’s just a hobby project running on a HTPC.

Re:Sherver: Bash lightweight web server by tjoff on Wednesday December 22, 2021 @01:33PM (#29653217)
With that I agree, I would only use python if it was already installed, and the assumption with bash was that everything needed was already installed.