pingtrack

module
v0.0.0-...-4dd1190 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2020 License: BSD-2-Clause

README

pingtrack

Track latency and packet loss with a minimal web UI.

Built with:

  • Golang
  • React
  • Gatsbyjs
  • Bulma (rbx)

Obligatory screenshot:

Example screenshot of graphs

Execution

./pingtrack -H localhost -p 8080 -i 5 hosts google.com 192.168.2.1 192.168.2.10

You can skip all the parameters except the hosts (for now). So you can also do this:

./pingtrack hosts google.com

In the web app, you can add/remove hosts dynamically.

Building

In order to build, you will need Gatsby installed, then you can run make in the cmd/ directory to build the full static binary.

Install Gatsby:

npm install -g gatsby-cli

Install npm packages

cd web; npm install

Install statik

go get github.com/rakyll/statik

Build pingtrack

cd cmd; make

Directories

Path Synopsis
cmd
internal/statik
Package statik contains static assets.
Package statik contains static assets.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL