https://github.com/not-first/uptime-kuma-glance-extension
View Uptime Kuma status page services within Glance.
https://github.com/not-first/uptime-kuma-glance-extension
docker glance uptime-kuma
Last synced: 5 months ago
JSON representation
View Uptime Kuma status page services within Glance.
- Host: GitHub
- URL: https://github.com/not-first/uptime-kuma-glance-extension
- Owner: not-first
- License: mit
- Archived: true
- Created: 2025-03-15T03:01:03.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-03-28T10:08:13.000Z (7 months ago)
- Last Synced: 2025-05-07T06:47:04.616Z (5 months ago)
- Topics: docker, glance, uptime-kuma
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Uptime Kuma Glance Extension
> [!IMPORTANT]
> Due to improvements in Glance's custom-api widget API, running a seperate extension is no longer needed to render this widget. To use the new version, simply use the Uptime Kuma widget found in the [community widgets repo](https://github.com/glanceapp/community-widgets)._An extension widget API for the [Glance](https://github.com/glanceapp/glance) dashboard._

A widget that displays your [Uptime Kuma](https://github.com/louislam/uptime-kuma) services on a specific status page within Glance. Shows all monitors with their current status and response time.
## Setup
### Docker Compose
Add the following to your existing glance docker compose
```yml
services:
glance:
image: glanceapp/glance
# ...uptime-kuma-extension:
image: ghcr.io/not-first/uptime-kuma-glance-extension
ports:
- '8676:8676'
restart: unless-stopped
env_file: .env
```
#### Environment Variables
This widget must be set up by providing an environment variable, which can be added to your existing glance .env file:
```env
UPTIME_KUMA_URL=http://uptime-kuma.example.com
```### Glance Config
Next, add the extension widget into your glance page by adding this to your `glance.yml`.
```yml
- type: extension
title: Uptime Status
url: http://uptime-kuma-extension:8676/{status-page-slug}
cache: 5m
allow-potentially-dangerous-html: true
```
The endpoint for your status page is accessible on the path `/{status-page-slug}`, where `{status-page-slug}` is the slug of your Uptime Kuma status page.For example, if your status page's URL is `http://uptime-kuma.example.com/status/mypage`, the slug would be `mypage`.
---