This is a xBar Plugin & Uptime Kuma addon that allows you to display your monitored status on the Macbook taskbar.
uptimekuma.30s.py
file into your xBar scripts folder;chmod +x uptimekuma.30s.py
;pip install uptime-kuma-api
uptimekuma.30s.py
file and change the following fields:
# -------------------------------------------
BASE_URL = 'http://localhost:3001' # uptime kuma URL no trailing slash
USERNAME = 'admin' # uptime kuma username
PASSWORD = 'admin' # uptime kuma password
# -------------------------------------------
Since Uptime Kuma does not have a formal API(#8), I had to use uptime-kuma-api. This is not great because for this to work now you have to install dependencies first:
pip install uptime-kuma-api
We might remove this dependence when Uptime Kuma publishes an official API.
This project is only possible because of your help. If you find any bug please report it at issues.
This project is available under the GPL-3.0 license.