Flaunt 'voices echoed so far' on the index, live from the relay's /pulse
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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
2cee770041
commit
bafdb87102
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user