HarmenandClaude Opus 5 576acd20dd Het pakket omgebouwd: kale relay, statuspagina, poorten omgedraaid
De app-map is niet langer de relay van Trezor met een Postgres en een
quota-manager ernaast, maar de relay van Evolu met onze eigen allowlist eromheen.
Drie containers werden relay, agent en nginx; het wachtwoord en de database zijn
verdwenen.

De poorten zijn omgedraaid en dat is de kern. Tot 0.0.2 hing de relay achter
app_proxy en moest de inlog van umbrelOS dus uit, waardoor een statuspagina net zo
onbeschermd zou zijn als de relay zelf. Nu hangt de pagina daar met de inlog aan,
en publiceert de relay zijn eigen poort 3852 waar Zoraxy met TLS naartoe wijst.
Dat is hetzelfde patroon als Electrum Gate met 50022. Niet 4000 op de host, want
dat is een veelgebruikte poort en een botsing merk je pas als de app niet start.

De agent beslist niets: hij leest wat het relay-proces heeft opgeschreven en legt
opdrachten in een postbus die de relay zelf leegmaakt. Twee processen die in
dezelfde allowlist schrijven is een wedloop die je een keer per jaar treft en dan
niet kunt reproduceren. Hij weigert ook een tweede opdracht zolang de vorige er
nog ligt, want overschrijven zou er stil een laten verdwijnen.

De pagina volgt het ontwerpsysteem van Electrum Gate, zonder de Google
Fonts-verwijzing daaruit: een app op een Umbrel hoort niet te wachten op een
lettertype van buiten. Alles is met stringoptelling geschreven en zonder enig
dollarteken, want umbreld haalt elke template door envsubst en zou een
JavaScript-template-literal stilzwijgend leegmaken.

De image is door de gebruiker gebouwd en geduwd; de compose is gepind op tag plus
digest. Manifest naar 0.2.0, met een beschrijving en releaseNotes die kloppen met
wat er nu draait in plaats van met het vorige pakket.

Wat hier NIET mee bewezen is, en dat is meer dan gebruikelijk: de agent is alleen
op syntaxis gecontroleerd, de pagina is nooit gerenderd, en of een opdracht van de
pagina daadwerkelijk bij het relay-proces aankomt is niet gemeten. Dat kan alleen
op het apparaat en staat als taak.

Tests: alle vier groen (32, 54, 39 en 60 goed, 0 fout).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-28 11:22:32 +02:00
2026-08-25 16:27:57 +02:00
2026-08-25 16:27:57 +02:00
2026-08-25 16:27:57 +02:00

UmbrelApps

A community app store for Umbrel, store id whatsnext. Add it in umbrelOS under App Store → Community App Stores, using the clone URL of this repository.

Apps

Electrum Gate

Reach your own Electrum server from outside your network, over TLS. An Electrum server speaks plain TCP; a wallet on the road wants TLS. This app puts a proxy in between, using the certificate a reverse proxy on the same Umbrel already manages.

Two containers, both on an off-the-shelf image, both configured from a *.template.

Container What it does
server (nginx:alpine) terminates TLS on 50022 and forwards plain to the Electrum server; serves the dashboard on port 80 behind the umbrelOS app proxy
agent (python:3-alpine) writes status.json every minute, reads the certificates from the mounted folders, queries the Electrum server, and accepts the certificate choice

The agent cannot reload nginx itself, as that would need the Docker socket and it is deliberately absent. It writes cert.conf with the chosen paths and drops a flag file; the nginx container reloads itself. A reload keeps existing wallet connections alive.

Port For
50022 TLS for Electrum wallets. Not the conventional 50002: Fulcrum occupies that on the host, and with Fulcrum as the backend the container would not start
3850 the web UI, through the umbrelOS app proxy

Electrs, Fulcrum and ElectrumX all work, switchable in the umbrelOS settings: the app declares the dependency and uses the address it is handed. Details, with sources, in Docs/Referenties/Umbrel-appstore-spec.md §4.

Tor or TLS. The privacy win is in running your own server, and you have that the moment you do. Tor remains the better choice for privacy; TLS wins on speed, on mobile, and on networks that block Tor. The trade-off is written out in Docs/Referenties/Clients.md §1.

Evolu Relay

Packaged, never installed. The manifest and compose are here; nothing has run on an Umbrel yet.

Trezor Suite syncs labels and account names between devices, and by default that runs through a server operated by Trezor. That server is open source and called Evolu Relay. This app runs it on your own machine. The data is end to end encrypted on the device, so self-hosting does not change that guarantee, it only changes who holds the encrypted copy.

Three containers, two images.

Container What it does
relay the sync relay on 4000, reached through the app proxy on 3851
quota-manager same image, different command; registers the storage limit the relay requires
db (postgres:17-alpine) storage, under ${APP_DATA_DIR}/data/postgres

The app proxy runs with PROXY_AUTH_ADD: "false", because Trezor Suite is not a browser with a session cookie. That is the same pattern Umbrel's own nostr-relay app uses. The flip side: anything that can reach port 3851 reaches the relay without signing in. What limits the damage is that the relay refuses any owner without a storage limit registered in its database.

Trezor publishes no image, so it is built from their Dockerfile, pinned to a commit, by tools/evolu-relay/build.sh. Run that before installing.

Still unverified: whether Trezor Suite accepts this address, whether the database schema creates itself, and how an owner gets registered. See Docs/Referenties/Upstream-evolu-relay.md.

Documentatie

Alles staat in Docs/. Begin bij Docs/CONTINUE_HERE.md; dat is de index die naar de volgende stap wijst.

Waar je heen wilt Waar het staat
Wat er nu speelt en wat de volgende stap is Docs/CONTINUE_HERE.md
Wat umbrelOS van een app store verwacht Docs/Referenties/Umbrel-appstore-spec.md
Hoe Electrum Gate vandaag in elkaar zit Docs/Referenties/Architectuur-huidig.md
Welke wallets hierheen kunnen wijzen, en wanneer Tor beter is Docs/Referenties/Clients.md
Wat er over de sync-server van Trezor bekend is Docs/Referenties/Upstream-evolu-relay.md
Versiegeschiedenis van Electrum Gate Docs/CHANGELOG-electrum-gate.md
Waar documentatie hoort Docs/README.md

Tests

python tests/test_appstore_vorm.py

Die gaat over de store en vindt zijn apps zelf: id gelijk aan mapnaam, store-voorvoegsel, veldvolgorde in het manifest, en een app_proxy die naar een bestaande service wijst. Daarnaast twee suites voor Electrum Gate:

python tests/test_agent_certificates.py

Losse scripts, geen afhankelijkheden. Let op de regels met OVERGESLAGEN: die toetsen hebben de certificaatwinkel van het besturingssysteem of netwerk nodig, en zijn dan niet bewezen.

Licentie

De apps zijn dunne lagen om bestaande onderdelen: nginx en Alpine Linux (BSD/MIT) voor Electrum Gate, en straks de relay van Trezor, die zijn eigen licentie houdt. Voor de verpakking zelf is nog geen licentie gekozen.

S
Description
No description provided
Readme
2.6 MiB
Languages
HTML 35.7%
Python 32.8%
JavaScript 25.7%
Shell 4.2%
Dockerfile 1.3%
Other 0.3%