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.

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
- Download the executable from this link.
- 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:
-
Ensure you have Go installed on your system. If not, download and install it from the official Go website.
-
Clone the repository:
git clone https://github.com/AmulyaParitosh/WebHealthChecker.git
-
Navigate to the project directory:
cd WebHealthChecker
-
Build the project:
go build -o webcheck .
This will create an executable named webcheck in your current directory.
-
(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
-
Check a website's status on the default port (80):
webcheck -d example.com
-
Check a website's status on a specific port:
webcheck -d example.com -p 8080
-
Display help information:
webcheck --help
Contributing
Contributions to WebHealthChecker are welcome! If you have suggestions for improvements or bug fixes, please feel free to:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature)
- Commit your changes (
git commit -m 'Add some AmazingFeature')
- Push to the branch (
git push origin feature/AmazingFeature)
- Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.