Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shnartho/web-health-checker
A simple cli application that checks website health
https://github.com/shnartho/web-health-checker
Last synced: about 6 hours ago
JSON representation
A simple cli application that checks website health
- Host: GitHub
- URL: https://github.com/shnartho/web-health-checker
- Owner: shnartho
- Created: 2023-10-26T00:21:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-26T01:15:37.000Z (about 1 year ago)
- Last Synced: 2024-06-19T14:50:39.512Z (5 months ago)
- Language: Go
- Size: 2.95 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Web Health Checker
**web-health-checker** is a simple command-line application built in **Golang** that checks whether a website is up or down. It allows you to specify a domain to check, and optionally, a port number to check.
![golang](https://fgp.dev/static/media/GolangDevelopmentBanner.aba7a1d6.jpg)
## Overview
To use the Healthchecker CLI application, follow these steps:
1. Make sure you have Go installed on your system.
2. Clone this repository or download the source code.
3. Open a terminal and navigate to the directory containing the `main.go` file.
4. Build the application by running the following command:
```bash
go build -o healthchecker
Run the healthchecker executable with the domain and, optionally, the port you want to check:```bash
./healthchecker --domain example.com
```
You can also specify the port as follows:```bash
./healthchecker --domain example.com --port 80
```
The application will check the specified website and display whether it is up or down.##### UP
![up](./images/reachable.png)##### DOWN
![up](./images/unreachable.png)