Join relay and group dynamically, dropping PUBLIC_JOINCODE

This commit is contained in:
dtonon 2026-08-13 22:54:26 +01:00
parent aaa9a0c1e5
commit 6ecd618bce
9 changed files with 453 additions and 178 deletions

View file

@ -2,7 +2,6 @@ PUBLIC_RELAY_URL=ws://localhost:3334 # required — NIP-29 relay hosting the g
PUBLIC_MODE=simple # simple | full (single forum vs. many rooms)
PUBLIC_GROUP_ID=mygrouprandomid # required in simple mode; the single forum's group id (ignored in full mode)
PUBLIC_TITLE= # top-bar title; empty falls back to the group name
PUBLIC_JOINCODE=no # yes | no — show an invite-code field when a join is rejected
PUBLIC_SEARCH=no # yes | no — enable the search box (requires a relay with NIP-50 support)
PUBLIC_LABELS= # comma-separated discussion labels (e.g., bug,feature,question)
PUBLIC_BLOSSOM_URL= # Blossom server URL for uploads (e.g., https://blossom.primal.net)