Skip to content

hiradp/radar

Repository files navigation

📡 radar

A utility for monitoring SSL certs

Usage

# Scan and output relevant SSL information for a host
 ./bin/radar scan <host>
 
 # Get in HTML output
 ./bin/radar scan <host> -f html

Docker

# Build Image
 docker build -t radar:local .
 
 # Run the container
 docker run -ti radar:local scan <host> -f html

Contributing

Welcome to 📡 Radar, and thank you for contributing.

Building the project

Prerequisites:

  • Go 1.16

Run the following command to build:

# fetch and resolve dependencies
go mod tidy 

# build the binary
go build -o bin/radar ./cmd/radar/main.go

Run the binary:

  • Unix-like systems: bin/gh
  • Windows: bin\gh

Run tests with (What tests...?):

go test ./...

Linting using golangci

golangci-lint run