Statuscake cool command line tool to control your statuscake account from API
926
Statuscake is a Website Uptime & Performance Monitoring tool.
They offer a free plan and paid plans.
This is a small binary written in Golang which allows you to control statuscake via API.
Currently allows you to create/list/delete uptime tests and ssl monitoring.
Set the following environment variables from statuscake in your machine.
export STATUSCAKE_USER=your_statuscake_user
export STATUSCAKE_KEY=your_key
You can also use it with docker:
docker run -e STATUSCAKE_USER=your_statuscake_user -e STATUSCAKE_KEY=your_key omerha/statuscakectl:latest statuscakectl list ssl
# listing
statuscakectl list ssl
statuscakectl list uptime
# create
statuscakectl create ssl -d domain.com
statuscakectl create uptime --domain https://www.domain.com --checkrate 30 --type HTTP
# delete
statuscakectl delete ssl -d domain.com
statuscakectl delete ssl --id 1111111
statuscakectl delete uptime -d https://www.domain.com
statuscakectl delete uptime --id 1111111
If you'd like to test them out I would appriciate it if you do it via this affiliation link to help support my time working on this cool tool.
# Use go modules add the following env var GO111MODULE=on
go build -ldflags "-s -w"
Fork, implement, add tests, pull request, get my everlasting thanks and a respectable place here :).
Copyright (c) 2020 Omer Haim, @omerhaim. See LICENSE for further details.
Content type
Image
Digest
Size
6.2 MB
Last updated
over 6 years ago
docker pull omerha/statuscakectl