Skip to content

WebHealthChecker is a powerful command-line tool built in Go that allows you to quickly and easily check the status of a website. Whether you're a developer, system administrator, or just curious about a website's availability, WebHealthChecker provides a simple and efficient way to determine if a website is up and running.

License

Notifications You must be signed in to change notification settings

AmulyaParitosh/WebHealthChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebHealthChecker

WebHealthChecker is a powerful command-line tool built in Go that allows you to quickly and easily check the status of a website. Whether you're a developer, system administrator, or just curious about a website's availability, WebHealthChecker provides a simple and efficient way to determine if a website is up and running.

Go GitHub

Table of Contents

Features

  • Quick and easy website status checking
  • Customizable port selection
  • Cross-platform compatibility (Windows and Ubuntu)
  • Simple command-line interface
  • Lightweight and fast execution

Installation

Pre-built Binaries

For quick installation, you can download the pre-built binaries for your operating system:

Ubuntu

wget https://amulyaparitosh.github.io/WebHealthChecker/build/ubuntu/webcheck
chmod +x webcheck
sudo mv webcheck /usr/local/bin/

Windows

  1. Download the executable from this link.
  2. Add the directory containing webcheck.exe to your system's PATH environment variable.

Building from Source

If you prefer to build the tool from source or want to contribute to its development, follow these steps:

  1. Ensure you have Go installed on your system. If not, download and install it from the official Go website.

  2. Clone the repository:

    git clone https://github.com/AmulyaParitosh/WebHealthChecker.git
  3. Navigate to the project directory:

    cd WebHealthChecker
  4. Build the project:

    go build -o webcheck .

    This will create an executable named webcheck in your current directory.

  5. (Optional) Move the executable to a directory in your PATH for easy access:

    sudo mv webcheck /usr/local/bin/

Usage

WebHealthChecker is designed to be simple and straightforward to use. Here's the general syntax:

WebHealthChecker [global options] command [command options]

Global Options

  • --domain value, -d value: Specify the domain name to check.
  • --port value, -p value: Specify the port number to check.
  • --help, -h: Show help information.

Commands

  • help, h: Shows a list of commands or help for one command.

Examples

  1. Check a website's status on the default port (80):

    webcheck -d example.com
  2. Check a website's status on a specific port:

    webcheck -d example.com -p 8080
  3. Display help information:

    webcheck --help

Contributing

Contributions to WebHealthChecker are welcome! If you have suggestions for improvements or bug fixes, please feel free to:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.


About

WebHealthChecker is a powerful command-line tool built in Go that allows you to quickly and easily check the status of a website. Whether you're a developer, system administrator, or just curious about a website's availability, WebHealthChecker provides a simple and efficient way to determine if a website is up and running.

Resources

License

Stars

Watchers

Forks

Languages