Skip to content

alonsofritz/url-fastcheck-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

FastCheck - Website Health Check

Docker Go

CLI tool to concurrently check website availability with SSL verification and latency measurement.

Features

  • Concurrent status checks (goroutines)
  • HTTP/HTTPS support with custom timeout
  • SSL certificate validation
  • Response latency measurement
  • JSON export for automation
  • Color-coded terminal output

Installation

git clone https://github.com/alonsofritz/url-fastcheck-cli
cd url-fastcheck-cli
go build -o fastcheck

Usage

Basic check:

./fastcheck --file urls.txt

Advanced options:

./fastcheck --file urls.txt --ssl --timeout 3 --output results.json

Sample Output

fastcheck-results

Stack

  • Concurrency: Goroutines + WaitGroup
  • Networking: net/http, crypto/tls
  • CLI: flag package
  • Data: JSON encoding

Improvements

  • In production, use a worker pool (e.g., semaphore.Weighted) (Implement WorkerPool)
  • DNS Cache: Implement a custom resolver for repeated lookups
  • Connection Pooling: Reuse HTTP clients using http.Transport

About

๐Ÿ“Ÿ CLI tool to concurrently check website availability with SSL verification and latency measurement.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages