Nostr relay admin panel — queue + accounts tabs in Matrix UI #38
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The relay admin needs a UI to manage the event moderation queue and account whitelist without curling the API.
Acceptance criteria
/admin/relayprompt for admin token, store in localStorage, send as Bearer header on all admin API callsGET /api/admin/relay/queue?status=pending, renders event list (pubkey, kind, content preview, age), Approve/Reject buttons; auto-refreshes every 15 sGET /api/admin/relay/accounts, renders whitelist table with Revoke button; pubkey input form for manual grantsGET /api/admin/relay/stats(event counts by status for today, account count); renders as metric cards at topOut of scope
Relevant files
the-matrix/(frontend)Delegate
@kimi— React/frontend work