An open API service indexing awesome lists of open source software.

https://github.com/mariogarridopt/xbar-uptime-kuma

An xbar plugin to display Uptime Kuma Status on Mac taskbar
https://github.com/mariogarridopt/xbar-uptime-kuma

addons macbook macos plugins python taskbar uptime-kuma xbar xbar-plugin

Last synced: about 2 months ago
JSON representation

An xbar plugin to display Uptime Kuma Status on Mac taskbar

Awesome Lists containing this project

README

          

xBar-Uptime-Kuma
===

This is a [xBar Plugin](https://github.com/matryer/xbar) & [Uptime Kuma addon](https://github.com/louislam/uptime-kuma) that allows you to display your monitored status on the Macbook taskbar.

![screenshot](screenshot.png)

## How to use it

1. Copy the `uptimekuma.30s.py` file into your xBar scripts folder;
2. Make sure the file has execution permissions `chmod +x uptimekuma.30s.py`;
3. Install python dependencies `pip install uptime-kuma-api`
4. Open `uptimekuma.30s.py` file and change the following fields:
```python
# -------------------------------------------
BASE_URL = 'http://localhost:3001' # uptime kuma URL no trailing slash
USERNAME = 'admin' # uptime kuma username
PASSWORD = 'admin' # uptime kuma password
# -------------------------------------------
```
5. You are ready!

## Dependencies

Since [Uptime Kuma](https://github.com/louislam/uptime-kuma) does not have a formal API([#8](https://github.com/mariogarridopt/xBar-Uptime-Kuma/issues/8)), I had to use [uptime-kuma-api](https://github.com/lucasheld/uptime-kuma-api).
This is not great because for this to work now you have to install dependencies first:
```bash
pip install uptime-kuma-api
```
We might remove this dependence when Uptime Kuma publishes an official API.

## Contributing

This project is only possible because of your help.
If you find any bug please report it at [issues](https://github.com/mariogarridopt/xBar-Uptime-Kuma/issues).

[How to make a contribution](CONTRIBUTING.md)

### License

This project is available under the [GPL-3.0 license](LICENSE).