From ef663fd64ca11bdf1a7c363ce85a71d7aeac2186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Haf?= Date: Fri, 30 May 2025 15:01:25 +0200 Subject: [PATCH] add widget for datum (#2871) --- datum/docker-compose.yml | 2 +- datum/umbrel-app.yml | 22 ++++++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/datum/docker-compose.yml b/datum/docker-compose.yml index d8a3d26ca..624b5c7d7 100644 --- a/datum/docker-compose.yml +++ b/datum/docker-compose.yml @@ -7,7 +7,7 @@ services: APP_PORT: 21000 datum: - image: ghcr.io/retropex/datum:v1.10-umbrel@sha256:ce3414ea91e694fc9d1cc91232524f34124e7eb0643d629aa9bd37ec7c525381 + image: ghcr.io/retropex/datum:v1.10-umbrel-widget@sha256:1b3efa38348a8b4812e8080cef3c8dbcf661313674f9618566ffc88aef800b4c entrypoint: ["/app/datum_gateway"] command: ["--config=/app/conf/datum_gateway_config.json"] user: 1000:1000 diff --git a/datum/umbrel-app.yml b/datum/umbrel-app.yml index 9eb703666..cd9eee387 100644 --- a/datum/umbrel-app.yml +++ b/datum/umbrel-app.yml @@ -2,7 +2,7 @@ manifestVersion: 1.1 id: datum category: bitcoin name: DATUM -version: "v0.3.1-beta-rev1" +version: "v0.3.1-beta-rev2" tagline: Self-sovereign Bitcoin mining description: >- ⚙️ Please read the important setup instructions at the bottom of this page. @@ -69,9 +69,23 @@ path: "" defaultUsername: "admin" deterministicPassword: true releaseNotes: >- - ⚠️ Datum now requires a default Bitcoin address to be added to the "Config" tab in order to complete startup. + Datum now support umbrel widgets. - - Your credentials for the DATUM app can be found by right-clicking on the DATUM app icon from your umbrelOS homescreen and selecting "Show default credentials". +widgets: + - id: "stats" + type: "three-stats" + refresh: "30s" + endpoint: "datum:21000/umbrel-api" + link: "" + example: + type: "three-stats" + link: "" + items: + - title: "Connections" + text: "12" + subtext: "Worker" + - title: "Hashrate" + text: "21" + subtext: "TH/s" submitter: Léo Haf submission: https://github.com/getumbrel/umbrel-apps/pull/1661