stefansundin / traceroute-mapper

Map your traceroutes easily.
https://stefansundin.github.io/traceroute-mapper/
GNU Affero General Public License v3.0
286 stars 27 forks source link
map traceroute webapp

traceroute-mapper

Run it from your terminal:

Linux

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

Mac

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

Windows

Put traceroute-mapper.bat in your %PATH% (e.g. C:\Windows\).

Then open cmd and run: traceroute-mapper example.com