Statuscakectl
Statuscake cool command line tool to control your statuscake account from API
Install / Use
/learn @omerh/StatuscakectlREADME
statuscakectl
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.
Configuration
Set the following environment variables from statuscake in your machine.
export STATUSCAKE_USER=your_statuscake_user
export STATUSCAKE_KEY=your_key
Run with Docker
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
Examples
# 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.
Build
# Use go modules add the following env var GO111MODULE=on
go build -ldflags "-s -w"
Contributing
Fork, implement, add tests, pull request, get my everlasting thanks and a respectable place here :).
Copyright
Copyright (c) 2020 Omer Haim, @omerhaim. See LICENSE for further details.
Related Skills
tmux
352.0kRemote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
xurl
352.0kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
diffs
352.0kUse the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.
blogwatcher
352.0kMonitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
