feat: Add Uptime Kuma version check via Socket.IO
Retrieve the running Uptime Kuma version by authenticating over Socket.IO and reading the info event. This adds a new login_socket dataset field, the fetch_socket_info helper, and the python-socketio and websocket-client dependencies.
This commit is contained in:
parent
501a84e0a9
commit
f34e2f2d08
6 changed files with 90 additions and 0 deletions
|
|
@ -83,6 +83,19 @@ services:
|
|||
upstream_latest_extract:
|
||||
type: jsonpath
|
||||
value: $.tag_name
|
||||
- name: Uptime Kuma
|
||||
base_url: https://uptime.jeena.net/
|
||||
current_version_url:
|
||||
current_version_extract:
|
||||
login_socket:
|
||||
url: https://uptime.jeena.net/
|
||||
username_env: UPTIME_KUMA_USERNAME
|
||||
password_env: UPTIME_KUMA_PASSWORD
|
||||
upstream_latest_version_url: https://api.github.com/repos/louislam/uptime-kuma/releases/latest
|
||||
upstream_latest_extract:
|
||||
type: jsonpath
|
||||
value: $.tag_name
|
||||
notes: Version retrieved via authenticated Socket.IO info event.
|
||||
- name: FreshRSS
|
||||
base_url: https://rss.jeena.net/
|
||||
current_version_url: https://rss.jeena.net/i/?a=about
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue