From 31e17aad70a6b5a97f33f9404a1015f7c92bf0ed Mon Sep 17 00:00:00 2001 From: Bendik Aagaard Lynghaug Date: Thu, 10 Sep 2026 07:34:06 +0200 Subject: [PATCH] Flaunt 'voices echoed so far' on the index, live from the relay's /pulse MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A 'The count so far' feature in the index's 'Meet a network' alternative fetches https://relay.redoal.com/pulse (redoal ADR-0023) with a kind:url resource and shapes { voices_echoed: N } into one card — the number as the heading, 'voices echoed so far' beneath. Lint-clean. Co-Authored-By: Claude Fable 5 --- questions/index.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/questions/index.yaml b/questions/index.yaml index 76ce390..f55f649 100644 --- a/questions/index.yaml +++ b/questions/index.yaml @@ -40,6 +40,23 @@ alternatives: The one trick, and what it enables — the parts that run today, said plainly. features: + - name: The count so far + description: > + Live from the front-door relay — the running tally of what's + been left at places. + icon: lucide:activity + resource: + source: + kind: url + url: https://relay.redoal.com/pulse + public: true + # /pulse (redoal ADR-0023) returns { voices_echoed: N }; shape + # it into one card — the number as the heading, the phrase + # beneath. The card renders unlinked when the relay is quiet. + jq: > + [{ "name": (.voices_echoed | tostring), + "description": "voices echoed so far" }] + empty: The first voice hasn't echoed yet. - name: A drawing is an address description: > The computer measures how your line curves, turns, and keeps