Show HN: My shell script for HTTP/HTTPS troubleshooting and profiling
21–29 of 29 posts
Re: Show HN: My shell script for HTTP/HTTPS troubleshooting and profiling
#22Thank you for your support!
Re: Show HN: My shell script for HTTP/HTTPS troubleshooting and profiling
#23Earlier quoted context omitted.
You're crazy. This fellow deserves all of today's internet points. He even has a man page!
The project/script is freaking great, it's well-written but its installation method needs some work. It symlinks from the git cloned directory to /usr/local/bin during installation. When it runs, it does helpfully tell you which tools it needs, but each of those tools has a different install method: * two are system packages * one is a Go executable * another a php composer package * another is installed via npm (tha…
Re: Show HN: My shell script for HTTP/HTTPS troubleshooting and profiling
#24Earlier quoted context omitted.
The project/script is freaking great, it's well-written but its installation method needs some work. It symlinks from the git cloned directory to /usr/local/bin during installation. When it runs, it does helpfully tell you which tools it needs, but each of those tools has a different install method: * two are system packages * one is a Go executable * another a php composer package * another is installed via npm (tha…
It'd be a great/easy to use docker image. I'd go that route before I'd worry about npm/php/golang on my system.
Re: Show HN: My shell script for HTTP/HTTPS troubleshooting and profiling
#25Not to rain on your parade with nicely formatted code like hardly any shell projects do, but what I would have expected for such a tool that I just want to use: wget https://github/.../releases/.../stable/htrace.sh Only gave it a quick look and saw the other comment asking for dependencies. if there are some, why not list them in the README. I'm really not against installers, but falls under the "small handy tool" ca…
You're crazy. This fellow deserves all of today's internet points. He even has a man page!
I'm not a big fan of shell scripts for complicated tasks, but their main benefit is exactly "one file, runs everywhere, it just works" - if you take away all three of those I question if it's the right choice being a shell script. For tools of this scope I really like go. stuff everything together as a static binary and you're good to go.
Re: Show HN: My shell script for HTTP/HTTPS troubleshooting and profiling
#26I suggest a convenient way to set cookie or auth headers. A lot of endpoints are behind authentication. The --req-headers flag is feasible, but there should be a shortcut flag just for authentication headers. Maybe --cookie and --auth ?
Re: Show HN: My shell script for HTTP/HTTPS troubleshooting and profiling
#27Earlier quoted context omitted.
It'd be a great/easy to use docker image. I'd go that route before I'd worry about npm/php/golang on my system.
dockerfile is also available: https://github.com/trimstray/htrace.sh/blob/master/build/Doc...