{"id":13582439,"url":"https://github.com/42wim/gomphs","last_synced_at":"2025-04-30T09:03:20.539Z","repository":{"id":33684535,"uuid":"37337303","full_name":"42wim/gomphs","owner":"42wim","description":"A tool to ping multiple hosts at once with a CLI and web-based overview","archived":false,"fork":false,"pushed_at":"2021-11-12T21:34:39.000Z","size":2194,"stargazers_count":75,"open_issues_count":0,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-25T06:23:29.656Z","etag":null,"topics":["cli","ipv4","ipv6","ping","web"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mozilla/treeherder","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/42wim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-12T18:16:14.000Z","updated_at":"2024-12-21T06:26:21.000Z","dependencies_parsed_at":"2022-07-12T09:51:56.695Z","dependency_job_id":null,"html_url":"https://github.com/42wim/gomphs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42wim%2Fgomphs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42wim%2Fgomphs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42wim%2Fgomphs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42wim%2Fgomphs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/42wim","download_url":"https://codeload.github.com/42wim/gomphs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242619122,"owners_count":20159001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","ipv4","ipv6","ping","web"],"created_at":"2024-08-01T15:02:42.600Z","updated_at":"2025-03-08T22:31:07.798Z","avatar_url":"https://github.com/42wim.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# gomphs\n\nSimple tool to ping multiple hosts at once with a CLI and web-based overview.\n\n## Download\n[Binaries] (https://github.com/42wim/gomphs/releases)\n\n## Usage \nNeeds to be run as root (raw sockets for icmp)  \nWhen using hostnames with ipv4 and ipv6 addresses, preference goes to ipv4. (-expand option shows both)\n\n```\n# gomphs\nUsage of ./gomphs:\n  -c int\n        packets to send (default 99999)\n  -expand\n        use all available ip's (ipv4/ipv6) of a hostname (multiple A, AAAA)\n  -file string\n        ip addresses/hosts file to ping, space seperated (e.g \"8.8.8.8 google.com 2a00:1450:400c:c07::66\")\n  -hosts string\n        ip addresses/hosts to ping, space seperated (e.g \"8.8.8.8 google.com 2a00:1450:400c:c07::66\")\n  -i int\n        Ping interval in Milliseconds (default 1000)\n  -labels string\n        labels matching the hosts, must be the same amount of values as the hosts\n  -nocolor\n        disable color output\n  -port string\n        port the webserver listens on (default \"8887\")\n  -showrtt\n        show roundtrip time in ms\n  -timestamp\n        enables timestamp instead of ping count\n  -web\n        enable webserver\n```\n\n##### no options\n```\n. host is up\n! host is down\n```\n\n##### showrtt\nAdd -showrtt on commandline   \n\nWhen rtt \u003e 1s it will just show \"\u003e1s\"  \nWhen rtt \u003c 0ms it will just show 0  \n\nAfter 25 pings the header will be repeated\n\n##### expand \nAdd -expand on commandline  \n\nWhen using expand this also prints an extra (onetime) header so you know what ip addresses belong to what number.\nSee examples.\n\n##### webserver\nAdd -web on commandline  \n\nThe web GUI is by default available via http://\\\u003cserver-running-gomphs\\\u003e:8887/stream  \nUse -port to use another port.\n\nWhen an IP address/host isn't reachable, this will drop to -10 on the Y-axis. \n\n## Examples\n\n##### using web, expand and showrtt\n```\n# gomphs -hosts=\"facebook.com slashdot.org www.linkedin.com\" -showrtt -expand -web\n```\n![stream](http://i.snag.gy/Ow7kK.jpg)\n##### using expand\n\nFacebook resolves into 2 addresses (ipv4/ipv6), see 5 and 6 in example.  \nWhen using expand this also prints an extra (onetime) header so you know what ip addresses belong to what number\n\n## Building\nMake sure you have [Go](https://golang.org/doc/install) properly installed, including setting up your [GOPATH](https://golang.org/doc/code.html#GOPATH)\n\nNext, clone this repository into $GOPATH/src/github.com/42wim/gomphs\n\n``` bash\n$ git clone https://github.com/42wim/gomphs.git\n$ cd gomphs\n$ go build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42wim%2Fgomphs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F42wim%2Fgomphs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42wim%2Fgomphs/lists"}