Skip to content
/ htping Public

cli app to http/s ping web endpoints and get stats

License

Notifications You must be signed in to change notification settings

kubblai/htping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

htping:

cli app to http/s ping web endpoints and get stats or some info.

Usage

htping ping

Perform HTTP(S) ping to the URL

Usage:
htping ping <url> [flags]

Flags:
-c, --count int Number of pings to perform (default 5)
-h, --help help for ping
--http Use HTTP instead of HTTPS
--html Show HTML content after pings
-o, --output string Output filename for HTML content - use with --html --html

htping info

Get information about a URL options are 'whois', 'dns', 'cert info'

Usage:
htping info [command] <url>

Available Commands:
cert Show certificate details for HTTPS website
dns Show authoritative nameservers for the URL
ip Show IP addresses for the URL
whois Show WHOIS information for the URL

Flags:
-h, --help help for info

Use "htping info [command] --help" for more information about a command.

Build

git clone https://github.com/kubblai/htping.git
go build htping

Features:

  • Authoritative dns server - done
  • IP - done
  • Cert details - done
  • Time to fullfil request - done
  • Stats on assets pulled - TODO
  • With/without https - done
  • Location - Needs an API key, might do if it's cheap
  • Whois - done
  • Added html output - done
  • Add cookies as needed for auth - TBD
  • Modify headers - TBD
  • Basic auth support - TBD
  • Crawl the page for more urls at start, allow filtering by regex, then start hitting those too and gathering stats - TBD

About

cli app to http/s ping web endpoints and get stats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages