Public info page for the relay.fizx.uk Nostr relay — live status, NIP-11 metadata, supported NIPs.
Live: https://relay.fizx.uk
- Vite + React 18 + TypeScript
- Tailwind CSS
- lucide-react
(Was static HTML before 2026-05-17 — converted to Vite/React to match the sibling subdomains.)
- Login: NIP-07 (browser extension) + NIP-55 (Amber callback URI). Nav-bar widget only — no events published from this page.
- NIP-11 client: fetches
Accept: application/nostr+jsonfromhttps://relay.fizx.ukto display relay name, description, pubkey, contact, software, version, supported NIPs. - WebSocket connectivity probe: opens
wss://relay.fizx.uk, measures TTFB latency, retries every 30 s on failure / 5 min while online.
The page sits in front of the actual relay daemon (nostr-rs-relay v0.9.0 on the host). The nginx vhost routes WSS upgrades and Accept: application/nostr+json requests to the relay process (port 8080), everything else to this static SPA.
npm install
npm run dev./deploy.shBuilds, then rsyncs dist/ to the webroot. The script names the server by an
SSH host alias (fizx.uk in ~/.ssh/config), which carries the user, port and
key.
The
.well-known/nostr.json(NIP-05 file) andrelay-stats.json(cron-rewritten) live only on the server. The script excludes both, so--deletedoes not wipe them — keep those excludes if you ever rsync by hand.
Server addresses and the nginx / SSL / DNS notes for the wider deployment live in the local code_gh/adjmx/CLAUDE.md (not pushed; this README is the public-facing summary).