This is a xBar Plugin & Uptime Kuma addon that allows you to display your monitored status on the Macbook taskbar.
- Copy the
uptimekuma.30s.py
file into your xBar scripts folder; - Make sure the file has execution permissions
chmod +x uptimekuma.30s.py
; - Install python dependencies
pip install uptime-kuma-api
- Open
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
# -------------------------------------------
- You are ready!
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.