Skip to content

CLI tool for checking the http responses for a given list of URLs.

License

Notifications You must be signed in to change notification settings

pliski/urlcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

urlcheck

CLI tool for checking the http responses for a given list of URLs.

Usage:

$ urlcheck https://go.dev/ https://charm.sh/
$ urlcheck -f ~/urls.txt

Inline and script usage

Check if go.dev is responding and wait max 20 seconds for the response:

#!/bin/bash 

if urlcheck -s http://go.dev -t 20 1>/dev/null 2>&1; then
  echo go.dev is UP
else
  echo go.dev is DOWN
fi

Dependencies

Todos

  • use timeoutRoundTripper instead of http.Cliet.Get also for urlist checking in urlcheck.go
  • -s flag : check also for the whole urilist and exit at the first fail
  • feat: continuous mode with retry interval

About

CLI tool for checking the http responses for a given list of URLs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages