Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davemolk/downdetector

Use downDetector to quickly check the status of a site (or sites).
https://github.com/davemolk/downdetector

go golang

Last synced: about 1 month ago
JSON representation

Use downDetector to quickly check the status of a site (or sites).

Awesome Lists containing this project

README

        

# downDetector
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](http://opensource.org/licenses/MIT)
[![Go Report Card](https://goreportcard.com/badge/github.com/davemolk/goScanner)](https://goreportcard.com/report/github.com/davemolk/goScanner)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/davemolk/downDetector/issues)

Use downDetector to quickly check the status of a site (or sites).

![downDetector](downDetector.gif)

## Overview
* A non-200 Status Code counts as a site being down.
* Use the url ("-u") flag to scan a single url.
* Use the input ("-i") flag to scan multiple urls concurrently. Include just one url per line in your txt file.
* downDetector makes 3 GET requests per url by default. Adjust this with the attempts flag ("-a). Be responsible.
* Set the timeout in seconds with the timeout flag ("-t").
* downDetector supports terminal commands.

## Example Usages
Single URL:
```
go run main.go -u=https://go.dev
```
```
echo https://go.dev | downDetector
```
Multiple URLs:
```
go run main.go -i=myURLs.txt
```
```
cat myURLs.txt
```
## Support
* Like downDetector? Use it, star it, and share with your friends!
- Let me know what you're up to so I can feature your work here.
* Want to see a particular feature? Found a bug? Question about usage or documentation?
- Please raise an issue.
* Pull request?
- Please discuss in an issue first.

## License
* downDetector is released under the MIT license. See [LICENSE](LICENSE) for details.