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.
Don’t get me wrong, I have nothing against building things for fun. But the technical arguments made for why this is preferable over an established solution doesn’t stack up.