Run it from your terminal:
Put this in your .bashrc
:
function traceroute-mapper {
xdg-open "https://stefansundin.github.io/traceroute-mapper/?trace=$(traceroute -q1 $* | sed ':a;N;$!ba;s/\n/%0A/g')"
}
Then simply run: traceroute-mapper example.com
Put this in your .bash_profile
:
function traceroute-mapper {
open "https://stefansundin.github.io/traceroute-mapper/?trace=$(traceroute -q1 $*)"
}
Then simply run: traceroute-mapper example.com
Put traceroute-mapper.bat in your %PATH%
(e.g. C:\Windows\
).
Then open cmd and run: traceroute-mapper example.com