This example is an installable cockpit package that runs a simple command to ping a remote address. Demonstrates basic cockpit package without jQuery.
Link the package into your home directory:
$ mkdir -p ~/.local/share/cockpit $ ln -snf $(pwd) ~/.local/share/cockpit/playground $ sudo systemctl restart cockpit